From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83493 Path: news.gmane.org!not-for-mail From: Thomas Friedrich Newsgroups: gmane.comp.tex.context Subject: Numbering enumerations in mkiv Date: Mon, 22 Jul 2013 15:28:46 +0200 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 1374499765 16327 80.91.229.3 (22 Jul 2013 13:29:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2013 13:29:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 22 15:29:28 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 1V1GB5-0000qO-Ul for gctc-ntg-context-518@m.gmane.org; Mon, 22 Jul 2013 15:29:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0168A101EA; Mon, 22 Jul 2013 15:29:13 +0200 (CEST) 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 8eue5UvVGh8u; Mon, 22 Jul 2013 15:29:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A7CD6101E6; Mon, 22 Jul 2013 15:29:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE581101E6 for ; Mon, 22 Jul 2013 15:29:00 +0200 (CEST) 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 N0MfMQNvI82i for ; Mon, 22 Jul 2013 15:28:37 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 4D2F3101E3 for ; Mon, 22 Jul 2013 15:28:37 +0200 (CEST) Original-Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6MDSl2O002577 for ; Mon, 22 Jul 2013 15:28:47 +0200 Original-Received: by mail-ie0-f180.google.com with SMTP id f4so14732792iea.25 for ; Mon, 22 Jul 2013 06:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=dnM2BxLvGp8a6FAXuzYASvBiKw645F0YCkjFOeQeFAk=; b=f1wsEpqtGy/ONBWPRo7vkqN+MNU7MWDTT1bjjupcglEYroVcFW5KhgFJhAp1QOIjpk E2rk5K7I+sQZD5fMkxVT1pdOqS45xJOSvmxXjDBqZvGGLtTkLD/dWkAhEZAjXJGEeMh8 rBoM2+QxH93DIOufqLQRFqdD6QCax2YYL1zH3R2oCtNWqSlyfIfH5ylWpsByKMxDajHL 1hhprAlKaMS7WJ3tG1zgmdlUwQMjPYqO6ddr4H4LwaRpWYnqOQ1qJXxvfrZDD5yH5eXQ OiSM+q0KBZzk5IooDw1cTqdYtD33nFKSRvakcFBIjsP4uZxOKtxlPhfTFWzL6zuyEqVu XRDg== X-Received: by 10.42.74.72 with SMTP id v8mr17362300icj.31.1374499726750; Mon, 22 Jul 2013 06:28:46 -0700 (PDT) Original-Received: by 10.42.151.135 with HTTP; Mon, 22 Jul 2013 06:28:46 -0700 (PDT) X-Google-Sender-Auth: 9REruEkwEoM3p0ghXw03fItV_2o X-Bayes-Prob: 0.0286 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c03::234; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01K3psL3c - 20c4d37a02ea - 20130722 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83493 Archived-At: Hello, the mechanism for how to share the numbering of enumerations seems to have changed from mkii to mkiv. I used the following code to typeset theorems and lemmata in mkii. The typeset is very different when complied with mkiv: In the following code, for example, the lemma is missing its number, and there is an additional line break after each theorem title. ~~~ snip ~~~ \setupcolors[state=start] \setupframedtexts [width=\makeupwidth, frame=off, bottomframe=on, topframe=on, background=screen, backgroundscreen=.95] \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, before=\startframedtext, after=\stopframedtext] \defineenumeration [theorem] [text=Theorem, listtext={Theorem }] \defineenumeration [lemma] [text=Lemma, listtext={Lemma }, number=theorem] \starttext \theorem Something $a=bc$. \theorem Something else. \lemma And something. \theorem And something else. \stoptext ~~~ snip ~~~ How can I mimic the original typeset produced by 'texexec', so I can use mkiv? Thank you a lot! Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________