mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
12 lines
210 B
XML
12 lines
210 B
XML
// Test error cases of the `page` function.
|
|
|
|
// Invalid paper.
|
|
[page nonexistant]
|
|
|
|
// Aligned axes.
|
|
[page main-dir: ltr]
|
|
|
|
// compare-ref: false
|
|
// error: 4:7-4:18 invalid paper
|
|
// error: 7:17-7:20 aligned axis
|