typst/tests/typ/layout/pagebreak.typ
Laurenz 1ee1d078e2 Fatal errors
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free
- Parsing still recovers and can produce multiple errors
- Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import)
- The single error that could occur during execution is removed for now
- Removes Value::Error variant
2021-07-30 18:49:19 +02:00

21 lines
270 B
XML

// Test forced page breaks.
---
First of two
#pagebreak()
#page!(height: 40pt)
---
// Make sure that you can't do page related stuff in a container.
A
#box[
B
#pagebreak()
#page("a4")[]
]
C
// No consequences from the page("A4") call here.
#pagebreak()
D