From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13402 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: beginner question re: counters Date: Sun, 21 Sep 2003 15:51:38 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: References: <3F68970B.4050205@zam.att.ne.jp> <001201c37d42$f1066eb0$0500a8c0@best> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064153056 752 80.91.224.253 (21 Sep 2003 14:04:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2003 14:04:16 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Sep 21 16:04:14 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A14ow-0008Lx-00 for ; Sun, 21 Sep 2003 16:04:14 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D822610B20; Sun, 21 Sep 2003 16:04:11 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by ref.ntg.nl (Postfix) with ESMTP id 8765610AFC for ; Sun, 21 Sep 2003 15:53:05 +0200 (MEST) Original-Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A14e8-0001Qy-00 for ntg-context@ntg.nl; Sun, 21 Sep 2003 15:53:04 +0200 Original-Received: from [62.72.92.74] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1A14e7-0001wO-00 for ntg-context@ntg.nl; Sun, 21 Sep 2003 15:53:04 +0200 Original-Received: from [192.168.1.2] (helo=schnee.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 1A14cd-0000SL-00 for ; Sun, 21 Sep 2003 15:51:31 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id h8LDpdBK004917 for ; Sun, 21 Sep 2003 15:51:39 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h8LDpd10004916; Sun, 21 Sep 2003 15:51:39 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: <001201c37d42$f1066eb0$0500a8c0@best> (Pawel Jackowski na Onet's message of "Wed, 17 Sep 2003 19:41:23 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13402 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13402 Hi, Matthew Huggett writes: >> I apologize for asking such a basic question. What is the correct way >> to increment a counter such that each time a macro is used, the counter >> is augmented by 1. "Pawel Jackowski na Onet" writes: > Hmmm... It can happens for many reasons. > Try for instance > ... General remark (not really concerning this thread): It would be nice if the original posters would comment answers like this one if this works fine or not. Since these mails are archived, other people might come across this post and wonder if this is a good solution or not. Just my $50^{-1}$ Euro Patrick -- Silent is the goldfish in its bowl