From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13303 Path: main.gmane.org!not-for-mail From: Matthew Huggett Newsgroups: gmane.comp.tex.context Subject: beginner question re: counters Date: Thu, 18 Sep 2003 02:16:59 +0900 Sender: ntg-context-admin@ntg.nl Message-ID: <3F68970B.4050205@zam.att.ne.jp> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063819423 5201 80.91.224.253 (17 Sep 2003 17:23:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 17:23:43 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 17 19:23:41 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 19zg1l-0001YX-00 for ; Wed, 17 Sep 2003 19:23:41 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9CF6D10B2A; Wed, 17 Sep 2003 19:23:38 +0200 (MEST) Original-Received: from smtp3.att.ne.jp (smtp3.att.ne.jp [165.76.15.139]) by ref.ntg.nl (Postfix) with ESMTP id 8730910B27 for ; Wed, 17 Sep 2003 19:17:08 +0200 (MEST) Original-Received: from zam.att.ne.jp (218.231.177.175.eo.eaccess.ne.jp [218.231.177.175]) by smtp3.att.ne.jp (Postfix) with ESMTP id CBC226E659 for ; Thu, 18 Sep 2003 02:17:03 +0900 (JST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, zh-cn, ja, zh-tw Original-To: Context List 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:13303 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13303 Hi: 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. So far, I have \newcount\MyCounter and have tried \advance\MyCounter by1 and a few other things I found online, but whenever I try to increase its value by 1, all references to it's value return 1. Not a particularly useful counter ;-) . Thanks, Matt