Ebook-viewer: When displaying amthematics, reflow equations that dont fit on a single line

This commit is contained in:
Kovid Goyal 2012-09-10 18:12:15 +05:30
parent 422f6791c8
commit b808b74add
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -187,7 +187,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
// fill it with the proper elements,
// and clean up the bbox
//
line = BBOX();
var line = BBOX();
state.first = broken; state.last = true;
this.SVGmoveLine(start,end,line,state,values);
line.Clean();

View File

@ -39,7 +39,7 @@ class MathJax
showMathMenu: false,
extensions: ["tex2jax.js", "asciimath2jax.js", "mml2jax.js"],
jax: ["input/TeX","input/MathML","input/AsciiMath","output/SVG"],
// SVG : { linebreaks : { automatic : true } },
SVG : { linebreaks : { automatic : true } },
TeX: {
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
}