From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32141 Path: news.gmane.org!not-for-mail From: Michael Newsgroups: gmane.comp.tex.context Subject: counter in ConTeXt Date: Thu, 14 Dec 2006 12:07:40 -0600 Organization: University of Minnesota, Twin Cities Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166164003 11774 80.91.229.10 (15 Dec 2006 06:26:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 06:26:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 15 07:26:41 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 dough.gmane.org with esmtp (Exim 4.50) id 1Gv6Wn-0004tZ-BH for gctc-ntg-context-518@m.gmane.org; Fri, 15 Dec 2006 07:26:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7662D1FF64; Fri, 15 Dec 2006 07:26:09 +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 01278-03; Fri, 15 Dec 2006 07:26:02 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B05C1FF2A; Fri, 15 Dec 2006 07:26:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96C9F1FF34 for ; Fri, 15 Dec 2006 07:26:00 +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 01204-02-3 for ; Fri, 15 Dec 2006 07:25:56 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 01AB41FF28 for ; Fri, 15 Dec 2006 07:25:55 +0100 (CET) Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Gv6VC-0006j8-RD for ntg-context@ntg.nl; Fri, 15 Dec 2006 07:25:02 +0100 Original-Received: from bass.biostat.umn.edu ([160.94.208.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Dec 2006 07:25:02 +0100 Original-Received: from wuolong by bass.biostat.umn.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Dec 2006 07:25:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bass.biostat.umn.edu User-Agent: Emacs Gnus Cancel-Lock: sha1:zPlAMlx3IdL8WguFEhWkALOclZ4= 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:32141 Archived-At: How do I use counter in ConTeXt? Specifically, I use this to define '\startproblem\stopproblem'. \defineenumeration[problem][location=top,text=Problem,% between=\blank,before=\blank,after=\page] I want to say \totalnumberofproblems, in the beginning of the exam, like \totalnumberofpages. How do I do that? Thanks, Michael