typst/tests/typ/page-error.typ
Laurenz 81e80ecfba Test [page] function 📕
- Make page break behaviour more consistent
- Allow skipping reference image testing for single tests with `// compare-ref: false` (useful for tests which only check error messages)
2020-12-17 00:20:27 +01:00

12 lines
213 B
XML

// Test error cases of the `page` function.
// compare-ref: false
// error: 8:8-8:19 invalid paper
// error: 11:17-11:20 aligned axis
// Invalid paper.
[page: nonexistant]
// Aligned axes.
[page: main-dir=ltr]