From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85297 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Thomas_M=C3=B6bius?= Newsgroups: gmane.comp.tex.context Subject: Unexpected behaviour of enumeration in mkiv Date: Fri, 15 Nov 2013 17:02:49 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384764399 25155 80.91.229.3 (18 Nov 2013 08:46:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 08:46:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 18 09:46:46 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ViKTl-0006tL-0I for gctc-ntg-context-518@m.gmane.org; Mon, 18 Nov 2013 09:46:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09CA81020C; Mon, 18 Nov 2013 09:46:42 +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 QFjpFJay3Ph4; Mon, 18 Nov 2013 09:46:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 09A2F101F2; Mon, 18 Nov 2013 09:46:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A625C101FB for ; Fri, 15 Nov 2013 17:02:53 +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 gErntpzQDPlw for ; Fri, 15 Nov 2013 17:02:52 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 88DA8101DE for ; Fri, 15 Nov 2013 17:02:52 +0100 (CET) Original-Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAFG2nNd018450 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 15 Nov 2013 17:02:51 +0100 Original-Received: by mail-pd0-f173.google.com with SMTP id x10so3653254pdj.32 for ; Fri, 15 Nov 2013 08:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=BtV5B9wbYN/A9tk/IQHh6CfNDDoPV9o1Epz7aY6BPUE=; b=Myz3xER8JPPEu8CeWTXtDJ0lOnh7tmc9AWU00TNyOJ5YlM/yKx/bnz4Et6tt6Svw9l ZqpKOHp2ZOLd3utdpgmHeP72cgFW/OsXssk0HcYbvruIMDKoGYhalp+0v26LTXwe0bxa BhNJEwb0abRsylLwYijwwcoOBxP/CPEFLUAQb/spNnk0EP8tcLVUhm9+a9Z5zHKmDtvu 15hJDiYMzBuTOjARegKk4OvbEyIqTOgSnx8xKl/6xoHZPzei/9l2U7dvxfppHWvfQ2oD gp7uGH50rwYAaEU/v5gh5h9BSN7D2doN//HK/YIl1Tt66ZoUoGAo5nsFei/edJ9ULbYZ 5Flg== X-Received: by 10.66.100.227 with SMTP id fb3mr7773809pab.26.1384531369265; Fri, 15 Nov 2013 08:02:49 -0800 (PST) Original-Received: by 10.70.82.105 with HTTP; Fri, 15 Nov 2013 08:02:49 -0800 (PST) X-Google-Sender-Auth: Py_R78WR5WTxdiv-_i-rgzMp6xc X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400e:c02::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KNQ2P5t - 5b8b6ae7c5af - 20131115 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-Mailman-Approved-At: Mon, 18 Nov 2013 09:46:36 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85297 Archived-At: Hi, please have a look at the minimal example at the bottom. I am typesetting theorems and lemmata which are numbered consecutively within chapters in a book. I used the same code for a document written in mkii, and I thought I could just reuse it in mkiv. Obviously, there is something I am missing. Question: How do I get the same output when compiling the following code with 'context' as when compiled with 'texexec'. When compiled with 'context', the chapter number is missing in the numbering of theorems. Lemmas are not numbered at all. ~~~snip~~~ \setupenumerations [title=yes, style=normal, list=all, before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=bold, way=bychapter, conversion=numbers] \defineenumeration [theorem] [text=Theorem, listtext={Theorem }] \defineenumeration [lemma] [text=Lemma, listtext={Lemma }, number=theorem] \starttext \chapter{First chapter} \theorem Hello \theorem Hello \lemma Hello \theorem Hello \stoptext ~~~snip~~~ ___________________________________________________________________________________ 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 ___________________________________________________________________________________