[NTG-context] Itemize starting at zero

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Dec 3 19:08:55 CET 2007


2007/12/3, Zeus Gómez Marmolejo <zeus at aluzina.org>:
> I've searched the documentation and emails, but I didn't find the
> answer... It sounds really simple:
>
> How can I make the numbers in startitemize[n,...] start from 0 instead of 1?
>
> Thanks,
> Zeus.

Hi,

\startitemize has a start value, but it is not working a you have to define
your own conversion macro untill this will be fixed :-(

\def\zerostart#1{\number\numexpr#1-1\relax}
\defineconversion[zerostart][\zerostart]

\starttext
\startitemize[zerostart]
\dorecurse{10}{\item text}
\stopitemize
\stoptext

Wolfgang


More information about the ntg-context mailing list