www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e4265d3969961cf38dce23f7694d97806aa95a79
parent debd0c88b6d1e0e389fc81691a3b40726582dcda
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Wed,  7 Jan 2015 08:30:48 -0500

Implement toCommonHTML for \mathchoice.  Resolves issue #998.

Diffstat:
Munpacked/extensions/TeX/mathchoice.js | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/unpacked/extensions/TeX/mathchoice.js b/unpacked/extensions/TeX/mathchoice.js @@ -79,6 +79,13 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { var svg = this.Core().toSVG(); this.SVGsaveData(svg); return svg; + }, + toCommonHTML: function (span) { + span = this.CHTMLcreateSpan(span); + this.CHTMLhandleStyle(span); + this.CHTMLhandleColor(span); + this.CHTMLaddChild(span,this.choice(),{}); + return span; } });