From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69381 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Additional title after enumerations-head Date: Wed, 22 Jun 2011 19:23:40 +0200 Message-ID: <4E02251C.6040301@gmx.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308763436 9962 80.91.229.12 (22 Jun 2011 17:23:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 17:23:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 22 19:23:50 2011 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.69) (envelope-from ) id 1QZR9a-0002eU-9x for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jun 2011 19:23:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3541CADFF; Wed, 22 Jun 2011 19:23:49 +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 ilYvnyHSwNpC; Wed, 22 Jun 2011 19:23:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C479CADE0; Wed, 22 Jun 2011 19:23:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC09ACADE0 for ; Wed, 22 Jun 2011 19:23:45 +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 huqHyaMNFeyM for ; Wed, 22 Jun 2011 19:23:44 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 41ED3CADA8 for ; Wed, 22 Jun 2011 19:23:44 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p5MHNhu1004878 for ; Wed, 22 Jun 2011 19:23:43 +0200 Original-Received: (qmail invoked by alias); 22 Jun 2011 17:23:42 -0000 Original-Received: from 77-64-192-37.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.192.37] by mail.gmx.net (mp064) with SMTP; 22 Jun 2011 19:23:42 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX19wNdgWFW5wgeUOobRfF1rt7XuUyganY1gkla51VM U/OYyg5SVugwHI User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEX5nH4s - 742ad9ce3ed8 - 20110622 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:69381 Archived-At: Hi list, in one of my documents (MkIV) I defined several different enumerations with \defineenumerations. Currently their only differences are in the values of "text=" and "style=". With the following I got what I wanted so far: \defineenumeration[lemma][text=Lemma, location=serried, width=fit, style=slanted, indenting=yes, prefix=yes, prefixsegments=chapter, indentnext=no] \starttext \startlemma Some slanted text. \stoplemma \stoptext Results in "Lemma 1 Some slanted text", head in bold and the text slanted. But now I have some lemmata that should get some kind of title, for example: "Lemma 1 (Farkas Lemma) Some slanted text." How can I achieve this without defining a new description for every "special case"? I tried something like "\startlemma[right={My title}]" without avail. I want the "title", "(Farkas Lemma)" in the above example, to be placed before the added "distance". In addition I would like to be able to set (within \definedescription for all lemmata would be enough) whether I want the "title" to be bold (like the head "Lemma 1") or not. Is all or some of this possible? I'm pretty confident that ConTeXt can already handle this, but I don't know how. Thanks in advance for any hints! Kind regards, Stefan ___________________________________________________________________________________ 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 ___________________________________________________________________________________