[NTG-context] itemize with zero start

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Jul 28 16:58:45 CEST 2007


On Fri, 27 Jul 2007 22:47:33 -0400
"Hamid Kamrani" <hamid.kamrani at gmail.com> wrote:

> Here is a minimal example of how this happens. I had posted it sometime back.
> 
> \starttext
> \setupitemize[each][][stopper=:]
> \bTABLE
> \bTR
> \bTD
> \startitemize[a]
> \item Bla
> \item Blub
> \item Bautz
> \stopitemize
> \eTD
> \eTR
> \eTABLE
> \stoptext

This is a problem related to the new way with twopassdata.

You can solve it by changing one line in the definition of
\checkcurrentnofitems in core-itm.tex

\def\checkcurrentnofitems
  {\splititemtwopassdata\noflists
   \iftwopassdatafound
     \ifcase\scratchcounter
       \let\currentnofitems   \!!zerocount
       \let\currentminnofitems\!!zerocount

       the last line should be:
       \let\currentminnofitems\plusone

       \let\currentmaxnofitems\!!zerocount
     \else
     ...rest of the macor} 

Wolfgang


More information about the ntg-context mailing list