Re: [NTG-context] itemize with zero start

2007-08-02 Thread Hans Hagen
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
___


Re: [NTG-context] itemize with zero start

2007-08-01 Thread Wolfgang Werners-Lucchini
 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
___


Re: [NTG-context] itemize with zero start

2007-07-31 Thread Wolfgang Werners-Lucchini
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
___


Re: [NTG-context] itemize with zero start

2007-07-31 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
 Hallo,
 
 has nobody tested this with 

did you update?


-
   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
___


Re: [NTG-context] itemize with zero start

2007-07-29 Thread Wolfgang Werners-Lucchini
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
___


Re: [NTG-context] itemize with zero start

2007-07-28 Thread Wolfgang Schuster
On Fri, 27 Jul 2007 22:47:33 -0400
Hamid Kamrani [EMAIL PROTECTED] 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
___


[NTG-context] itemize with zero start

2007-07-27 Thread Wolfgang Werners-Lucchini
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
___


Re: [NTG-context] itemize with zero start

2007-07-27 Thread 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
___


Re: [NTG-context] itemize with zero start

2007-07-27 Thread 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

On 7/27/07, Hans Hagen [EMAIL PROTECTED] 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
___