Pablo Rodriguez via ntg-context schrieb am 14.09.2021 um 14:38:
On 9/14/21 1:58 PM, Sylvain Hubert via ntg-context wrote:
Dear List,
Do we have something like "\pagenumbering{roman}" in latex, which sets the pdf labels (page numbers for pdf viewers, not the ones rendered in the footer) to roman numbers? Hi Sylvain,
copied from https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC:
\definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
There is no need to set the number conversion for list.
\startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopsectionblockenvironment
No need for these settings because you already changed the number conversion for the frontmatter and the counter starts at 1 by default. Wolfgang