mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Ebook-viewer: When displaying amthematics, reflow equations that dont fit on a single line
This commit is contained in:
parent
422f6791c8
commit
b808b74add
Binary file not shown.
@ -187,7 +187,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
|
|||||||
// fill it with the proper elements,
|
// fill it with the proper elements,
|
||||||
// and clean up the bbox
|
// and clean up the bbox
|
||||||
//
|
//
|
||||||
line = BBOX();
|
var line = BBOX();
|
||||||
state.first = broken; state.last = true;
|
state.first = broken; state.last = true;
|
||||||
this.SVGmoveLine(start,end,line,state,values);
|
this.SVGmoveLine(start,end,line,state,values);
|
||||||
line.Clean();
|
line.Clean();
|
||||||
|
@ -39,7 +39,7 @@ class MathJax
|
|||||||
showMathMenu: false,
|
showMathMenu: false,
|
||||||
extensions: ["tex2jax.js", "asciimath2jax.js", "mml2jax.js"],
|
extensions: ["tex2jax.js", "asciimath2jax.js", "mml2jax.js"],
|
||||||
jax: ["input/TeX","input/MathML","input/AsciiMath","output/SVG"],
|
jax: ["input/TeX","input/MathML","input/AsciiMath","output/SVG"],
|
||||||
// SVG : { linebreaks : { automatic : true } },
|
SVG : { linebreaks : { automatic : true } },
|
||||||
TeX: {
|
TeX: {
|
||||||
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
|
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user