From a632d331b12e5002c7025597acb0bd0fe8c29957 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Wed, 9 Oct 2013 21:47:36 -0400 Subject: [PATCH] Make sure TeXmathchoice saves the SVG data for its core. Resolves issue #604. --- unpacked/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 index 21149b252..34b66a8ef 100644 --- 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");