From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32384 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: store counter or variable and reread again Date: Sat, 30 Dec 2006 16:30:38 -0500 (EST) Message-ID: References: <45941026$0$4168$ba624c82@nntp02.dk.telia.net> <459670F8.5020106@elvenkind.com> <45968AED.7040904@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1167514262 11375 80.91.229.12 (30 Dec 2006 21:31:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2006 21:31:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 30 22:30:59 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H0ln9-0003aG-4E for gctc-ntg-context-518@m.gmane.org; Sat, 30 Dec 2006 22:30:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A94432002B; Sat, 30 Dec 2006 22:28:42 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11572-04-4; Sat, 30 Dec 2006 22:28:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D920C1FFCF; Sat, 30 Dec 2006 22:28:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5874020007 for ; Sat, 30 Dec 2006 22:28:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11572-04-3 for ; Sat, 30 Dec 2006 22:28:26 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with SMTP id DE4961FFC1 for ; Sat, 30 Dec 2006 22:28:25 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY tombraider.mr.itd.umich.edu ID 4596DA7E.5AB8F.31414 ; 30 Dec 2006 16:30:39 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32384 Archived-At: On Sat, 30 Dec 2006, Peter M=FCnster 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 !=3D = > > % \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