From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59702 Path: news.gmane.org!not-for-mail From: "Yury G. Kudryashov" Newsgroups: gmane.comp.tex.context Subject: configure descriptions in place Date: Fri, 18 Jun 2010 13:04:51 +0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276851916 6695 80.91.229.12 (18 Jun 2010 09:05:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 09:05:16 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 18 11:05:15 2010 connect(): No such file or directory 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 1OPXVi-0000BQ-VM for gctc-ntg-context-518@m.gmane.org; Fri, 18 Jun 2010 11:05:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CAACC9BB2; Fri, 18 Jun 2010 11:05: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 ujznbBvXzM2c; Fri, 18 Jun 2010 11:05:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F6C6C9BA3; Fri, 18 Jun 2010 11:05:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C372C9BA3 for ; Fri, 18 Jun 2010 11:05:08 +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 sHBecdRegdMf for ; Fri, 18 Jun 2010 11:05:06 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 234BBC9BA1 for ; Fri, 18 Jun 2010 11:05:05 +0200 (CEST) Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OPXVX-00006a-Pw for ntg-context@ntg.nl; Fri, 18 Jun 2010 11:05:03 +0200 Original-Received: from 94.179.193.97.pool.3g.utel.ua ([94.179.193.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 11:05:03 +0200 Original-Received: from urkud by 94.179.193.97.pool.3g.utel.ua with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 11:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Followup-To: gmane.comp.tex.context Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 94.179.193.97.pool.3g.utel.ua User-Agent: KNode/4.4.3 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:59702 Archived-At: Hi! I have some lemmas with title, others without titles; some theorems should be numbered, others (e.g. cites from other articles) shouldn't. Is there any way to achieve this except for the following? \defineenumeration[theorem][...] \defineenumeration[exttheorem][theorem][number=no] What do you think about the following syntax: \definedescription[mydesc] And after that \startmydesc[label] \stopmydesc or \startmydesc[title=yes][label]{md:a} \stopmydesc I think that it should not be hard to implement using \doifassignment, but I don't want to work on the patch that will be never accepted upstream. P.S.: What about my patch for strc-ref that fixes \definereferenceformat[inlem][text=Lemma] ignoring text=? ___________________________________________________________________________________ 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 ___________________________________________________________________________________