mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
This still not gives the "footnote and entry" are on same page invariant for blocks, but at least we do not get random extraneous page breaks anymore. Relevant issues: #1275, #1433
12 lines
391 B
Typst
12 lines
391 B
Typst
// Test that footnotes in lists do not produce extraneous page breaks. The list
|
|
// layout itself does not currently react to the footnotes layout, weakening the
|
|
// "footnote and its entry are on the same page" invariant somewhat, but at
|
|
// least there shouldn't be extra page breaks.
|
|
|
|
---
|
|
#set page(height: 100pt)
|
|
#block(height: 50pt, width: 100%, fill: aqua)
|
|
|
|
- #footnote[1]
|
|
- #footnote[2]
|