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
20 lines
325 B
XML
20 lines
325 B
XML
// Test the `h` and `v` functions.
|
|
|
|
---
|
|
// Ends paragraphs.
|
|
Tightly #v(0pt) packed
|
|
|
|
// Eating up soft spacing.
|
|
Inv #h(0pt) isible
|
|
|
|
// Multiple spacings in a row.
|
|
Add #h(10pt) #h(10pt) up
|
|
|
|
// Relative to font size.
|
|
Relative #h(100%) spacing
|
|
|
|
---
|
|
// Missing spacing.
|
|
// Error: 12 missing argument: spacing
|
|
Totally #h() ignored
|