You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I now managed to work around this problem by wrapping the math expressions in a element and by adding a separate <script> element into that span which explicitly instructs MathJax to render this element.
Please note that Vivliostyle.js still has built-in MathJax 2 support (see FAQ: How to embed math formulas (MathML, TeX or AsciiMath)), and now can enable MathJax 3 specified in the document but that is far from perfect, as you see wrong page breaking/overflow problem in the test result.
Describe the bug
When I use MathJax 3 to synchronously turn math markup into svg images, Vivliostyle does not paginate correctly.
To Reproduce
Paginate the attached file scriptbug.html with Vivliostyle
Expected behavior
The text content should not leak into the bottom page margin. (See red mark in attached screenshot)
Desktop (please complete the following information):
scriptbug.html.zip
I am not sure how to trigger the Mathjax image replacement so that Vivliostyle pageinates correctly.
The text was updated successfully, but these errors were encountered: