From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21355 Path: news.gmane.org!not-for-mail From: David Antos Newsgroups: gmane.comp.tex.context Subject: Enumeration numbering broken Date: Wed, 13 Jul 2005 18:06:47 +0200 Message-ID: <20050713160647.GA3439@erik.fi.muni.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121273096 2035 80.91.229.2 (13 Jul 2005 16:44:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2005 16:44:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 13 18:44:53 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DskKs-0004ld-MH for gctc-ntg-context-518@m.gmane.org; Wed, 13 Jul 2005 18:43:50 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 494B8127A8; Wed, 13 Jul 2005 18:43:50 +0200 (CEST) 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 29927-02; Wed, 13 Jul 2005 18:43:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D019127C9; Wed, 13 Jul 2005 18:06:50 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34D36127C9 for ; Wed, 13 Jul 2005 18:06:49 +0200 (CEST) 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 29307-02-4 for ; Wed, 13 Jul 2005 18:06:48 +0200 (CEST) Original-Received: from erik (erik.fi.muni.cz [147.251.54.32]) by ronja.ntg.nl (Postfix) with ESMTP id 4CB00127C4 for ; Wed, 13 Jul 2005 18:06:48 +0200 (CEST) Original-Received: by erik (Postfix, from userid 1000) id CCB034B103; Wed, 13 Jul 2005 18:06:47 +0200 (CEST) Original-To: NTG ConTeXt Mailing List Mail-Followup-To: David Antos , NTG ConTeXt Mailing List Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21355 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21355 Hello, in the following example, I'm pretty sure that it should produce Lemmas and Theorems numbered continuously (i.e., one common counter for both of them) and moreover, the numbers should (due to bychapter) be preceded by chapter number. In ConTeXt 2005.06.27, the enumerations are counted separately and chapter number prefix is missing. Interestingly, if Lemma and Theorem blocks are swapped, they become really Theorem 1 and Lemma 2. The chapter number is still missing. Has the mechanism been changed or am I doing anything wrong? *** \defineenumeration [Theorem] [text=Theorem~, way=bychapter, inbetween=\noindent] \defineenumeration [Lemma] [Theorem] [text=Lemma~] \starttext \chapter{chapter} \startLemma This should be Lemma 1.1 \stopLemma \startTheorem This should be Theorem 1.2 \stopTheorem \stoptext *** Thanks, D.A. -- Many rewrites, a hard-drive crash, a laptop being stolen, a couple of corrupted filesystems and one broken screen later, here it is. -- Rusty Russel: Linux 2.4 Packet Filtering HOWTO