itemize with zero start
Hallo! I have a problem with \startstopitemize with \setupitemize[each][][stopper=:] After some \startitemize ... \stopitemize groups conTeXt(ver. 2007.07.25) starts to count from zero (not longer from one). I get : Bla a: Blub b: Bautz not a: Bla b: Blub c: Bautz A few weeks ago someone has found an itemize bug. Is this my problem too, or what could be my problem. I tried to create a minimal example. But I am not able to reproduce the problem in a smaller file. Wolfgang
Wolfgang Werners-Lucchini wrote:
Hallo!
I have a problem with \startstopitemize with
\setupitemize[each][][stopper=:]
After some \startitemize ... \stopitemize groups
conTeXt(ver. 2007.07.25) starts to count from zero (not longer from one).
I get
: Bla a: Blub b: Bautz
not
a: Bla b: Blub c: Bautz
A few weeks ago someone has found an itemize bug. Is this my problem too, or what could be my problem.
I tried to create a minimal example. But I am not able to reproduce the problem in a smaller file.
hm, looks like somthing gets out of sync i really need an example for that Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
On 7/27/07, Hans Hagen
Wolfgang Werners-Lucchini wrote:
Hallo!
I have a problem with \startstopitemize with
\setupitemize[each][][stopper=:]
After some \startitemize ... \stopitemize groups
conTeXt(ver. 2007.07.25) starts to count from zero (not longer from one).
I get
: Bla a: Blub b: Bautz
not
a: Bla b: Blub c: Bautz
A few weeks ago someone has found an itemize bug. Is this my problem too, or what could be my problem.
I tried to create a minimal example. But I am not able to reproduce the problem in a smaller file.
hm, looks like somthing gets out of sync
i really need an example for that
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Fri, 27 Jul 2007 22:47:33 -0400
"Hamid Kamrani"
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
Wolfgang Schuster wrote:
On Fri, 27 Jul 2007 22:47:33 -0400 "Hamid Kamrani"
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}
\def\checkcurrentnofitems {\splititemtwopassdata\noflists \iftwopassdatafound \ifcase\itemdatan\relax % \scratchcounter ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hamid Kamrani
-
Hans Hagen
-
Wolfgang Schuster
-
Wolfgang Werners-Lucchini