Continuous Item Numbering throughout an Entire Document
Hi all, I have a rather long document listing a number of items, which I need to be numbered continuously throughout the entire document. The following approach appears to work well, except that the numbering restarts at the beginning of every chapter. Is there a way that can be avoided? \startitemize[n] \item bar \item faz \stopitemize[n] \startitemize[n, continue] \item foo \item bla \stopitemize[n] Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.” ― Douglas Adams, Dirk Gently's Holistic Detective Agency
Am 08.05.2014 um 01:17 schrieb Malte Stien
Hi all,
I have a rather long document listing a number of items, which I need to be numbered continuously throughout the entire document. The following approach appears to work well, except that the numbering restarts at the beginning of every chapter. Is there a way that can be avoided?
\startitemize[n] \item bar \item faz \stopitemize[n]
\startitemize[n, continue] \item foo \item bla \stopitemize[n]
1. Show complete examples and not only code snippets. 2. The \stopitemize command has *no* argument. 3. You have to use the \setupcounter command to set a continues numbering. \setupcounter[itemgroup:itemize][way=bytext] \setupitemgroup[itemize][each][n,continue] \starttext \dorecurse{2} {\chapter{First chapter} \dorecurse{2} {\startitemize \dorecurse{3}{\item Item \recurselevel} \stopitemize}} \stoptext Wolfgang
participants (2)
-
Malte Stien
-
Wolfgang Schuster