www

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

commit a632d331b12e5002c7025597acb0bd0fe8c29957
parent 02261ae99ff15881afe207d45d96ab78a2b9eac8
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Wed,  9 Oct 2013 21:47:36 -0400

Make sure TeXmathchoice saves the SVG data for its core.  Resolves issue #604.

Diffstat:
Munpacked/extensions/TeX/mathchoice.js | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/unpacked/extensions/TeX/mathchoice.js b/unpacked/extensions/TeX/mathchoice.js @@ -75,7 +75,11 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { } return span; }, - toSVG: function () {return this.Core().toSVG()} + toSVG: function () { + var svg = this.Core().toSVG(); + this.SVGsaveData(svg); + return svg; + } }); MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready");