aboutsummaryrefslogtreecommitdiff
path: root/test/writer.typst
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-11-09 11:38:08 -0800
committerJohn MacFarlane <[email protected]>2024-11-09 11:38:08 -0800
commitd5d2821a4d5032563ac05e75f84ff238b654cc06 (patch)
treee04c45c0f0423ce8aaeb1b3e0d80aeb8d2ca072d /test/writer.typst
parentb088a55e56b68390adb14fcb5da6441dc7c68ca7 (diff)
Typst writer: make template sensitive to a `page-numbering` variable.
This can be set to an empty string (or, in metadata, to false) for no page numbers. Addresses #10370.
Diffstat (limited to 'test/writer.typst')
-rw-r--r--test/writer.typst4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/writer.typst b/test/writer.typst
index c15d7e844..2d8a93e11 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -54,6 +54,7 @@
font: (),
fontsize: 11pt,
sectionnumbering: none,
+ pagenumbering: "1",
doc,
) = {
set document(
@@ -64,7 +65,7 @@
set page(
paper: paper,
margin: margin,
- numbering: "1",
+ numbering: pagenumbering,
columns: cols,
)
set par(justify: true)
@@ -127,6 +128,7 @@
email: "" ),
),
date: [July 17, 2006],
+ pagenumbering: "1",
cols: 1,
doc,
)