From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6516 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Definitions Date: Thu, 17 Jan 2002 14:45:44 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <14910577386.20020117144544@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035397043 11342 80.91.224.250 (23 Oct 2002 18:17:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:17:23 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6516 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6516 Hello, I have a bug report and an enhancement request for enumerations. First of all: the bug. I'm using ConTeXt ver: 2002.1.7 fmt: 2002.1.10 int: english mes: english (running pdf-e-TeX) and there is an "undefined control sequence error" when using: \defineenumeration[definizione] [text=Definizione, location=hanging, hang=0, headcolor=blue, headstyle=normal, way=bychapter] \starttext \definizione[relinv] (Relazione inversa). Siano dati due insiemi non vuoti $X$, $Y$ ed una relazione $§R$ di $X$ in $Y$ (i.e. $R\subseteq X\times Y$). Si dice che l'~insieme ${§R}^{-1}\subseteq Y\times X$ \`e la relazione inversa di $§R$ se e solo se: \stoptext The undefined control sequence seems to be \preparednumber. The enhancement request. When enumerations are used for create theorems, lemmas, corollaries etc one sometimes needs to add an optional argument that should be typeset in its own way but in relation to the title rather than the content. For example, if I were to write a calculus book and got to Lebesgue theorem I would like to write: \starttheorem[leb][author=Lebesgue,] Let $(S, \A, \mu)$ be a $sigma$-finite measure space ... \stoptheorem or \starttheorem[cpt][author=Cantor,subj={uniform continuity}] Let $(S, d)$ be a metric space ... \stoptheorem and I would like to be able to control the layout of the theorem according to the presence and absence of the various extra fields. In some way this would be a stripped-down version of my xdesc module, so I will try to adapt those macros. But if there is an easier way, please let me know. -- Giuseppe "Oblomov" Bilotta