From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31757 Path: news.gmane.org!not-for-mail From: David Antos Newsgroups: gmane.comp.tex.context Subject: Re: How to get a PhD with ConTeXt (+ hard work ;) ) Date: Mon, 6 Nov 2006 16:23:25 +0100 Message-ID: <20061106152325.GA17960@erik.fi.muni.cz> References: <45412D90.9040203@nibua-r.org> <20061029195614.GA3440@erik.ics.muni.cz> <856341E5-81DA-4028-AAC9-0E50A88B05D0@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162827266 31225 80.91.229.2 (6 Nov 2006 15:34:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2006 15:34:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 06 16:34:19 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1Gh6KD-0007GI-DS for gctc-ntg-context-518@m.gmane.org; Mon, 06 Nov 2006 16:23:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 750FA2001A; Mon, 6 Nov 2006 16:23:48 +0100 (CET) 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 28672-02; Mon, 6 Nov 2006 16:23:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 79A861FF2E; Mon, 6 Nov 2006 16:23:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6329C1FF56 for ; Mon, 6 Nov 2006 16:23:35 +0100 (CET) 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 28467-02 for ; Mon, 6 Nov 2006 16:23:29 +0100 (CET) Original-Received: from erik.fi.muni.cz (eduroam-167.cesnet.cz [195.113.219.167]) by ronja.ntg.nl (Postfix) with SMTP id EC3D11FEA4 for ; Mon, 6 Nov 2006 16:23:28 +0100 (CET) Original-Received: by erik.fi.muni.cz (Postfix, from userid 1000) id 1634B90DA6; Mon, 6 Nov 2006 16:23:26 +0100 (CET) Original-To: ntg-context@ntg.nl Mail-Followup-To: David Antos , ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <856341E5-81DA-4028-AAC9-0E50A88B05D0@mpq.mpg.de> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31757 Archived-At: On Mon, Nov 06, 2006 at 02:57:51PM +0100, Oliver Buerschaper wrote: > May I ask a newbie question? How did you create the lemmas? Hello, today, lemmas can be based on description/enumeration mechanism (I believe it's been in ConTeXt since circa January 2006). Descriptions now accept parameter title=yes. Using that, you can provide a title to the description. Have a look into core-des.tex. > I found a mysterious "startlemma" in core-des.tex via the ConTeXt > garden source browser but Naturally, the example of lemma definition is commented out ;) Copy \defineenumeration[lemma][title=yes, titlestyle=\bs, list=lemma] into your document and try to use \startlemma{title of the lemma} blah blah \stoplemma Check parameters of descriptions in the manual, you can find some options related to the title mechanism. Yours, D.A. P.S.: I've achieved the same functionality by means of ugly hacks that depend on ConTeXt version strongly. That's why I don't send you my configuration. -- Some perverse mathematicians use brackets backwards, to denote ``open intervals.'' -- Donald Knuth, The TeXbook