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
Placing a footnote at the very bottom of a page prompts it to appear on the next page, breaking the footnote invariant. This isn't a regression, and occurs on both Typst 0.11.1 and 0.12.
I think the problem here, at least when peeking at 0.12 code, is that footnotes restrict themselves to the available space in the page (minus separator and gap) when being placed, whereas, theoretically, they're separate from the page. Regardless, at least migrating the block to the next page would be nice... but the problem is that we disable migration when the block is breakable. We could make it smarter to allow migration in that case if the entire block fits in the first page.
Yeah, this is a known limitation. Footnotes in breakable blocks work much better in 0.12, but migration for upholding the footnote invariant is not currently supported.
Description
As seen in #5314 (comment)
Placing a footnote at the very bottom of a page prompts it to appear on the next page, breaking the footnote invariant. This isn't a regression, and occurs on both Typst 0.11.1 and 0.12.
Repro:
(Replacing
#v(96%)
with#([a\ ] * 47)
has the same effect.)Output - Page 1:
Output - Page 2:
Reproduction URL
No response
Operating system
Web app, Linux
Typst version
The text was updated successfully, but these errors were encountered: