vivliostyle / vivliostyle.js

📖 The power of CSS typesetting, right at your fingertips.
https://vivliostyle.org
GNU Affero General Public License v3.0
601 stars 52 forks source link

Wrong pagination with MathJax svg images #1293

Open depth42 opened 7 months ago

depth42 commented 7 months ago

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):

screenshot

scriptbug.html.zip

I am not sure how to trigger the Mathjax image replacement so that Vivliostyle pageinates correctly.

depth42 commented 7 months ago

I now managed to work around this problem by wrapping the math expressions in a element and by adding a separate Githubissues.

  • Githubissues is a development platform for aggregating issues.