Typst: change default value of page-numbering
#14102
xx02al
started this conversation in
Feature Requests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current implementation of
page-numberingdefaults to the hard-coded value"1".I would argue
page-numberingshould default tonone(orfalseif Quarto uses boolean values only). This allows us to use Typst'spage()function with the defaultnumbering: nonewithout explicitly settingpage-numbering: none. What actually happens is that Quarto displays a page number. Thus, if Quarto were to default tonone(false), (IMO) extension code would be cleaner and more transparent.Quarto's own templates illustrate this. Take the
letteras an example. It hasset page(paper: "us-letter", margin: (top: 2cm))suggesting an intent to use the defaultnumbering: nonebut instead, Quarto's defaultpage-numbering: truetakes over and displays a page number. This intent is supported by the.pngshown. (I am aware that it was generated with a Quarto version that did not have thepage-numberingoption, but it still illustrates the point). As said, we would need to explicitly setnumbering: nonein the template to achieve the intended result, which is not ideal.Initial comment: #13515 (comment)
Beta Was this translation helpful? Give feedback.
All reactions