Changes
Jump to navigation
Jump to search
→Page Numbering in Table of Contents: Added MkIV specific update
\setuppagenumbering[numberseparator=/]
\placecombinedlist[MyContentsList]
</texcode>
This method '''does not work in MkIV'''(not anymore atleast). As an example, consider that the frontmatter uses roman numerals and bodymatter remains unchanged. To reflect the romannumerals of the front matter in the TOC,
<texcode>
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\startstructureblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\startstructureblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\starttext
\startfrontmatter
\completecontent[criterium=all]
\chapter{Intro}
\input tufte
\stopfrontmatter
\startbodymatter
\chapter{knuth}
\input knuth
\stopbodymatter
\stoptext
</texcode>