[NTG-context] offset for enumeration counter

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Sep 17 12:31:41 CEST 2010


Am 17.09.2010 um 12:22 schrieb Philipp Gesang:

> Hi all,
> 
> some specification requests that a numbered list start at
> arbitrary counter values. I'm using the following line after
> “\startitemize[...]” to accomplish this:
> 
> ··8<·····························································
> \setnumber[itemgroup:itemize]{42}
> ··8<·····························································
> 
> Now I'd rather avoid this kind of brute interference with context
> internals so I'd like to ask whether there is a recommended
> high-level mechanism that I could use instead?

\starttext

\startitemize[n]
\dorecurse{4}{\item text}
\stopitemize

\startitemize[n,continue]
\dorecurse{4}{\item text}
\stopitemize

\startitemize[n][start=30]
\dorecurse{4}{\item text}
\stopitemize

\stoptext

Wolfgang



More information about the ntg-context mailing list