From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54998 Path: news.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: How to count with chapter Date: Thu, 03 Dec 2009 11:24:58 +0100 Message-ID: <4B17A00A.13546.9F7AE7@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259835873 25875 80.91.229.12 (3 Dec 2009 10:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 10:24:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 03 11:24:26 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NG8rK-0007rr-Br for gctc-ntg-context-518@m.gmane.org; Thu, 03 Dec 2009 11:24:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A05CC9CF6; Thu, 3 Dec 2009 11:21:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1AyebXANDG6L; Thu, 3 Dec 2009 11:21:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 968E5C9CC3; Thu, 3 Dec 2009 11:21:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12676C9CC3 for ; Thu, 3 Dec 2009 11:21:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tHPQFYoGvYAx for ; Thu, 3 Dec 2009 11:21:04 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by balder.ntg.nl (Postfix) with ESMTP id A5C27C9CB6 for ; Thu, 3 Dec 2009 11:21:04 +0100 (CET) Original-Received: from [192.168.178.23] (p4FC791DB.dip0.t-ipconnect.de [79.199.145.219]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0M9NGg-1NPXax2rYk-00CE0i; Thu, 03 Dec 2009 11:24:18 +0100 Priority: normal X-mailer: Pegasus Mail for Windows (4.41, DE v4.41 R1) Content-description: Mail message body X-Provags-ID: V01U2FsdGVkX1/ltnssf+v4p4my2Pygza4qoEkt7Fqpx0r0DMn 7UkerKjk4gUeA+V7SGFBcM+S7sfZZGvzcqxK+G3XVyMvosb3Yk eSebWm7bA5PuTc8PCJDvg== X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54998 Archived-At: Hallo, is this a bug too? ----------------------------------- %\chapter{Bla} \definenumber[PC]\getnumber[PC] \setnumber[PC]{1}\getnumber[PC] \incrementnumber[PC]\getnumber[PC] \incrementnumber[PC]\getnumber[PC] ----------------------------------- Without \chapter I get: 0 1 2 3 With \chapter: 0 1 1 2 Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________