From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69383 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Additional title after enumerations-head Date: Wed, 22 Jun 2011 15:02:34 -0400 (EDT) Message-ID: References: <4E02251C.6040301@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1176811095-1308769361=:2067" X-Trace: dough.gmane.org 1308769380 15481 80.91.229.12 (22 Jun 2011 19:03:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 19:03:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 22 21:02:56 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 1QZShQ-0007tJ-3Y for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jun 2011 21:02:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E4ECCAE02; Wed, 22 Jun 2011 21:02:51 +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 u95VRKDuooM1; Wed, 22 Jun 2011 21:02:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1D2CCADF6; Wed, 22 Jun 2011 21:02:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2AC0CADF6 for ; Wed, 22 Jun 2011 21:02:47 +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 3U4BS9VXTalW for ; Wed, 22 Jun 2011 21:02:36 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 8430ACADF4 for ; Wed, 22 Jun 2011 21:02:36 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5MJ2Xj3001755 for ; Wed, 22 Jun 2011 21:02:34 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096681357.dsl.bell.ca [65.94.7.141]) By tombraider.mr.itd.umich.edu ID 4E023C47.44F2B.16379 ; Authuser adityam; 22 Jun 2011 15:02:31 EDT In-Reply-To: <4E02251C.6040301@gmx.de> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07EX72xHD - 4d0ec928ac95 - 20110622 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:69383 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1176811095-1308769361=:2067 Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 22 Jun 2011, Stefan M=FCller wrote: > Hi list, > > in one of my documents (MkIV) I defined several different enumerations wi= th=20 > \defineenumerations. Currently their only differences are in the values = of=20 > "text=3D" and "style=3D". With the following I got what I wanted so far: > > \defineenumeration[lemma][text=3DLemma, location=3Dserried, width=3Dfit,= =20 > style=3Dslanted, indenting=3Dyes, prefix=3Dyes, prefixsegments=3Dchapter,= =20 > indentnext=3Dno] > > \starttext > \startlemma > =09Some slanted text. > \stoplemma > \stoptext > > Results in "Lemma 1 Some slanted text", head in bold and the text slante= d. > > But now I have some lemmata that should get some kind of title, for examp= le: > "Lemma 1 (Farkas Lemma) Some slanted text." > > How can I achieve this without defining a new description for every "spec= ial=20 > case"? I tried something like "\startlemma[right=3D{My title}]" without = avail.=20 > I want the "title", "(Farkas Lemma)" in the above example, to be placed= =20 > before the added "distance". In addition I would like to be able to set= =20 > (within \definedescription for all lemmata would be enough) whether I wan= t=20 > the "title" to be bold (like the head "Lemma 1") or not. Is all or some = of=20 > this possible? \defineenumeration[lemma][title=3Dyes] \startlemma {Farkas Lemma} ... =2E.. \stoplemma > I'm pretty confident that ConTeXt can already handle this,=20 > but I don't know how. Have you seen http://www.ntg.nl/maps/36/09.pdf? Aditya --8323328-1176811095-1308769361=:2067 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1176811095-1308769361=:2067--