Aditya Mahajan wrote:
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.
how about \savecurrentvalue\SomeVar{someval} -- ----------------------------------------------------------------- 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 -----------------------------------------------------------------