[NTG-context] itemize start=2

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Aug 29 07:59:56 CEST 2007


2007/8/28, Wolfgang Werners-Lucchini <wwl at musensturm.de>:
> Hallo,
>
> how can I start an itemization with 2
>
> I have tried snippets like
>
> \setupitemgroup[[itemize][start=2]
> \startitemize[n]
> \item zwei
> \item drei
> \stopitemize
>
> but could'nt found a solution.
>
> Btw.: Is there a differenz between
>
> \setupitemize[]
>
> and
>
> \setupitemgroup[[itemize][]
>
> Wolfgang

Hi Wolfgang,

\setupitemize is only macro for \setupitemgroup[itemize] and is
generated with \defineitemgroup like many other setup commands.

To start your enumeration with 2 you have to define your own
number conversion.

\def\nextnumber#1{\the\numexpr#1+1\relax}

\defineconversion[nn][\nextnumber]

\starttext
\startitemize[nn]
\item zwei
\item drei
\stopitemize
\stoptext

Wolfgang


More information about the ntg-context mailing list