aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2025-06-18 16:51:30 +0200
committerJohn MacFarlane <[email protected]>2025-06-18 17:27:10 -0700
commite2f67395a089751e4885d48fdd63ae294b18b8b0 (patch)
treecf30f5d0524532509bd61f177034320c375639a2
parent103c26aab17ea7b55e1a8c81d923506a07f1364f (diff)
Typst writer: rename *numbering* variable to *section-numbering*.
This is the name expected by the default template.
-rw-r--r--src/Text/Pandoc/Writers/Typst.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Typst.hs b/src/Text/Pandoc/Writers/Typst.hs
index d0c92c8ac..775522ff2 100644
--- a/src/Text/Pandoc/Writers/Typst.hs
+++ b/src/Text/Pandoc/Writers/Typst.hs
@@ -94,7 +94,7 @@ pandocToTypst options (Pandoc meta blocks) = do
(toPosition $ writerTableCaptionPosition options)
$ defField "page-numbering" ("1" :: Text)
$ (if writerNumberSections options
- then defField "numbering" ("1.1.1.1.1" :: Text)
+ then defField "section-numbering" ("1.1.1.1.1" :: Text)
else id)
$ metadata
return $ render colwidth $