[NTG-context] store counter or variable and reread again

Aditya Mahajan adityam at umich.edu
Sat Dec 30 22:30:38 CET 2006


On Sat, 30 Dec 2006, Peter Münster wrote:

> On Sat, 30 Dec 2006, Aditya Mahajan wrote:
> 
> > % Now the rest of the magic to take care of the two pass run
> > % Basically this says that rerun if \nofPoints != 
> > % \countervalue{Points}. In the next run we set \nofPoints to the
> > % previous value of \countervalue{Points} (the \checkPoints macro in 
> > % the beginning), so things should be stable after two runs.
> > \savetwopassdata {Points} {\nofPoints} {\countervalue{Points}}
> 
> Hello Aditya,
> 
> with the following example, I get always 2 runs:
> 
> \definetwopasslist{test}
> \starttext
> bla
> \savetwopassdata{test}{1}{2}
> \stoptext
> 
> Is this normal or a bug?

Hmm... I would have guessed that you will keep on getting infinite 
runs, but apparently texexec decides that two are enough. I need to 
look deeper to see if this is the intended behaviour. I would call it 
a bug, since there can be cases which need more than two runs to 
converge.

Aditya


More information about the ntg-context mailing list