From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32382 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: store counter or variable and reread again Date: Sat, 30 Dec 2006 20:19:58 +0100 (CET) Message-ID: References: <45941026$0$4168$ba624c82@nntp02.dk.telia.net> <459670F8.5020106@elvenkind.com> <45968AED.7040904@gmx.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167506473 18960 80.91.229.12 (30 Dec 2006 19:21:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2006 19:21:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 30 20:21:12 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 1H0jlT-000897-IW for gctc-ntg-context-518@m.gmane.org; Sat, 30 Dec 2006 20:21:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 56BA620015; Sat, 30 Dec 2006 20:18:50 +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 06400-02; Sat, 30 Dec 2006 20:18:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53C461FF8E; Sat, 30 Dec 2006 20:18:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99DD01FFBD for ; Sat, 30 Dec 2006 20:18:39 +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 06300-02-5 for ; Sat, 30 Dec 2006 20:18:34 +0100 (CET) Original-Received: from smTp.neuf.fr (sp604003mt.neufgp.fr [84.96.92.56]) by ronja.ntg.nl (Postfix) with SMTP id 3336F1FF8D for ; Sat, 30 Dec 2006 20:18:34 +0100 (CET) Original-Received: from gaston.pm ([84.7.255.155]) by sp604003mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0JB3009QFPQLTLC0@sp604003mt.gpm.neuf.ld> for ntg-context@ntg.nl; Sat, 30 Dec 2006 20:20:46 +0100 (CET) Original-Received: by gaston.pm (Postfix, from userid 500) id E81A413C3DB; Sat, 30 Dec 2006 20:19:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.pm (Postfix) with ESMTP id C69AD148186 for ; Sat, 30 Dec 2006 20:19:58 +0100 (CET) In-reply-to: X-X-Sender: peter@gaston.pm Original-To: mailing list for ConTeXt users 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:32382 Archived-At: 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? Cheers, Peter -- http://pmrb.free.fr/contact/