mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
- 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
21 lines
270 B
XML
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
|