typst/tests/typ/bugs/footnote-list.typ

12 lines
391 B
Plaintext

// 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]