-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong pagination with MathJax svg images #1293
Comments
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. |
Wrong pagination with MathJax 3 is a known issue, as I commented in the former issue #813:
|
Thank you. OK, then this is a duplicate. For now, I am fine with the workaround I've found. |
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: