From e2f67395a089751e4885d48fdd63ae294b18b8b0 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Wed, 18 Jun 2025 16:51:30 +0200 Subject: Typst writer: rename *numbering* variable to *section-numbering*. This is the name expected by the default template. --- src/Text/Pandoc/Writers/Typst.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $ -- cgit v1.2.3