* itemize with zero start
@ 2007-07-27 13:39 Wolfgang Werners-Lucchini
2007-07-27 18:50 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-07-27 13:39 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: itemize with zero start
2007-07-27 13:39 itemize with zero start Wolfgang Werners-Lucchini
@ 2007-07-27 18:50 ` Hans Hagen
2007-07-28 2:47 ` Hamid Kamrani
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2007-07-27 18:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: itemize with zero start
2007-07-27 18:50 ` Hans Hagen
@ 2007-07-28 2:47 ` Hamid Kamrani
2007-07-28 14:58 ` Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Hamid Kamrani @ 2007-07-28 2:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <pragma@wxs.nl> wrote:
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: itemize with zero start
2007-07-28 2:47 ` Hamid Kamrani
@ 2007-07-28 14:58 ` Wolfgang Schuster
2007-07-29 17:23 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2007-07-28 14:58 UTC (permalink / raw)
To: ntg-context
On Fri, 27 Jul 2007 22:47:33 -0400
"Hamid Kamrani" <hamid.kamrani@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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: itemize with zero start
2007-07-28 14:58 ` Wolfgang Schuster
@ 2007-07-29 17:23 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2007-07-29 17:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
> On Fri, 27 Jul 2007 22:47:33 -0400
> "Hamid Kamrani" <hamid.kamrani@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}
\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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.17.1185610203.2369.ntg-context@ntg.nl>]
* Re: itemize with zero start
[not found] <mailman.17.1185610203.2369.ntg-context@ntg.nl>
@ 2007-07-29 20:49 ` Wolfgang Werners-Lucchini
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-07-29 20:49 UTC (permalink / raw)
To: ntg-context
Hallo!
> 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
Here is an other example!
Remove the three-line-comment, and the error is gone!
Strange what?
Wolfgang
---------------------------------------------
\setupbodyfont[sansserif,11pt]
\setuphead[section][style=ssb]
\setupsection[section][conversion=Romannumerals]
\setupitemize[each][a][stopper=:]
\definestartstop[Beweis][
before={{\bf Beweis:}\endgraf\blank},
after={\rightaligned{{\bf q.e.d.}}}
]
\starttext
\section{Zofff}
\startBeweis
\startitemize
\item zack
\item zong
\stopitemize
\stopBeweis
%
%==================================================================
%
\section{Bamm}
\startitemize
\item bla
\item blub
\item bautz
\stopitemize
\stoptext
---------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.1.1185789602.14300.ntg-context@ntg.nl>]
* Re: itemize with zero start
[not found] <mailman.1.1185789602.14300.ntg-context@ntg.nl>
@ 2007-07-31 20:02 ` Wolfgang Werners-Lucchini
2007-07-31 20:36 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-07-31 20:02 UTC (permalink / raw)
To: ntg-context
Hallo,
has nobody tested this with
ConTeXt version <= 2007.07.03 19:38 MKII?
Wolfgang
> Here is an other example!
> Remove the three-line-comment, and the error is gone!
> Strange what?
>
> Wolfgang
> ---------------------------------------------
> \setupbodyfont[sansserif,11pt]
> \setuphead[section][style=ssb]
> \setupsection[section][conversion=Romannumerals]
>
> \setupitemize[each][a][stopper=:]
>
> \definestartstop[Beweis][
> before={{\bf Beweis:}\endgraf\blank},
> after={\rightaligned{{\bf q.e.d.}}}
> ]
>
> \starttext
>
> \section{Zofff}
>
> \startBeweis
> \startitemize
> \item zack
> \item zong
> \stopitemize
> \stopBeweis
> %
> %==================================================================
> %
> \section{Bamm}
>
> \startitemize
> \item bla
> \item blub
> \item bautz
> \stopitemize
>
> \stoptext
> ---------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.47.1185950055.2346.ntg-context@ntg.nl>]
* Re: itemize with zero start
[not found] <mailman.47.1185950055.2346.ntg-context@ntg.nl>
@ 2007-08-01 21:23 ` Wolfgang Werners-Lucchini
2007-08-02 9:30 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-01 21:23 UTC (permalink / raw)
To: ntg-context
> Wolfgang Werners-Lucchini wrote:
> > Hallo,
> >
> > has nobody tested this with
>
> did you update?
No, I have not updated yet!
I would like to understand this error first.
Can you please explain, why a comment can toggle an error?
Filtering comments should be very low level (plain TeX or ConTeXt
Core, after some catcode redef???).
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: itemize with zero start
2007-08-01 21:23 ` Wolfgang Werners-Lucchini
@ 2007-08-02 9:30 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2007-08-02 9:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Werners-Lucchini wrote:
>> Wolfgang Werners-Lucchini wrote:
>>> Hallo,
>>>
>>> has nobody tested this with
>> did you update?
>
> No, I have not updated yet!
>
> I would like to understand this error first.
>
> Can you please explain, why a comment can toggle an error?
> Filtering comments should be very low level (plain TeX or ConTeXt
> Core, after some catcode redef???).
a reference to a counter was used whilt the counter was not set, so any
other macro, code, whatever can then interfere and set the value of that
(scratch)counter
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-08-02 9:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-27 13:39 itemize with zero start Wolfgang Werners-Lucchini
2007-07-27 18:50 ` Hans Hagen
2007-07-28 2:47 ` Hamid Kamrani
2007-07-28 14:58 ` Wolfgang Schuster
2007-07-29 17:23 ` Hans Hagen
[not found] <mailman.17.1185610203.2369.ntg-context@ntg.nl>
2007-07-29 20:49 ` Wolfgang Werners-Lucchini
[not found] <mailman.1.1185789602.14300.ntg-context@ntg.nl>
2007-07-31 20:02 ` Wolfgang Werners-Lucchini
2007-07-31 20:36 ` Hans Hagen
[not found] <mailman.47.1185950055.2346.ntg-context@ntg.nl>
2007-08-01 21:23 ` Wolfgang Werners-Lucchini
2007-08-02 9:30 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).