Skip to content

Commit 278d7f2

Browse files
committed
Merge branch 'issue309' into develop
2 parents 9025855 + 8ecd763 commit 278d7f2

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

config/TeX-AMS-MML_SVG-full.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-AMS-MML_SVG.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/SVG/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
* http://www.apache.org/licenses/LICENSE-2.0
1313
*/
1414

15-
MathJax.OutputJax.SVG=MathJax.OutputJax({id:"SVG",version:"2.0.11",directory:MathJax.OutputJax.directory+"/SVG",extensionDir:MathJax.OutputJax.extensionDir+"/SVG",autoloadDir:MathJax.OutputJax.directory+"/SVG/autoload",fontDir:MathJax.OutputJax.directory+"/SVG/fonts",config:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,mtextFontInherit:false,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",addMMLclasses:false,EqnChunk:(MathJax.Hub.Browser.isMobile?10:50),EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:false,width:"container"},styles:{".MathJax_SVG_Display":{"text-align":"center",margin:"1em 0em"},"#MathJax_SVG_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",padding:"3px 4px"}}}});if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax.SVG.Register("jax/mml")}MathJax.OutputJax.SVG.loadComplete("config.js");
15+
MathJax.OutputJax.SVG=MathJax.OutputJax({id:"SVG",version:"2.0.12",directory:MathJax.OutputJax.directory+"/SVG",extensionDir:MathJax.OutputJax.extensionDir+"/SVG",autoloadDir:MathJax.OutputJax.directory+"/SVG/autoload",fontDir:MathJax.OutputJax.directory+"/SVG/fonts",config:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,mtextFontInherit:false,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",addMMLclasses:false,EqnChunk:(MathJax.Hub.Browser.isMobile?10:50),EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:false,width:"container"},styles:{".MathJax_SVG_Display":{"text-align":"center",margin:"1em 0em"},"#MathJax_SVG_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",padding:"3px 4px"}}}});if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax.SVG.Register("jax/mml")}MathJax.OutputJax.SVG.loadComplete("config.js");
1616

jax/output/SVG/jax.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/jax/output/SVG/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
MathJax.OutputJax.SVG = MathJax.OutputJax({
2626
id: "SVG",
27-
version: "2.0.11",
27+
version: "2.0.12",
2828
directory: MathJax.OutputJax.directory + "/SVG",
2929
extensionDir: MathJax.OutputJax.extensionDir + "/SVG",
3030
autoloadDir: MathJax.OutputJax.directory + "/SVG/autoload",

unpacked/jax/output/SVG/jax.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@
386386
emex.parentNode.removeChild(emex);
387387

388388
this.idPostfix = "-zoom"; jax.root.toSVG(span,span); this.idPostfix = "";
389+
if (this.operaZoomRefresh)
390+
{setTimeout(function () {span.firstChild.style.border="1px solid transparent"},1)}
389391
//
390392
// Get height and width of zoomed math and original math
391393
//
@@ -1960,6 +1962,14 @@
19601962
});
19611963
});
19621964

1965+
HUB.Browser.Select({
1966+
Opera: function (browser) {
1967+
SVG.Augment({
1968+
operaZoomRefresh: true // Opera needs a kick to redraw zoomed equations
1969+
});
1970+
}
1971+
});
1972+
19631973
HUB.Register.StartupHook("End Cookie", function () {
19641974
if (HUB.config.menuSettings.zoom !== "None")
19651975
{AJAX.Require("[MathJax]/extensions/MathZoom.js")}

0 commit comments

Comments
 (0)