vivliostyle / vivliostyle.js

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

Footnotes should (must) be rendered on the same page on which the footnote reference occurs #895

Open zopyx opened 2 years ago

zopyx commented 2 years ago

Vivliostyle is the only PrintCSS renderer that renders the footnotes after the complete text block and not on the same page where the footnote reference occurs. See example.

This looks like a limitation or bug. At least in Germany, this behavior is "not allowed". The official standard in DE (DIN 5008) specifies that the footnote must occur on the same page as the footnote reference. No offense included here.

There might be a situation where you want to have the footnotes all together at the end. But, the default behavior should follow all other tools.

vivliostyle.pdf

MurakamiShinyu commented 2 years ago

@zopyx Thanks for the test.

This bug is due to the problem that Vivliostyle cannot handle well multi-column layout spanning multiple pages unless column-* properties are specified on the root (<html>) or <body> element.

Related issue:

depth42 commented 2 years ago

I would also love a fix for this bug.