From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61337 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Fwd: startenumerate in romans a la LaTeX Date: Sun, 29 Aug 2010 18:45:35 +0200 Message-ID: <4C7A8EAF.2070107@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283173982 25112 80.91.229.12 (30 Aug 2010 13:13:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 13:13:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 30 15:12:59 2010 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 1Oq4AS-0007ak-GG for gctc-ntg-context-518@m.gmane.org; Mon, 30 Aug 2010 15:12:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A71A3CA5F1; Mon, 30 Aug 2010 15:12:55 +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 Ja7gD2ujmMXE; Mon, 30 Aug 2010 15:12:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9055DCA5AC; Mon, 30 Aug 2010 15:12:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ADE9CA5AC for ; Mon, 30 Aug 2010 15:12:50 +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 H9Wo2xkAicwC for ; Mon, 30 Aug 2010 15:12:48 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 436D8CA5AA for ; Mon, 30 Aug 2010 15:12:48 +0200 (CEST) Original-Received: from IMPaqm2.telefonica.net (impaqm2.telefonica.net [213.4.138.2]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7UDClL4011290 for ; Mon, 30 Aug 2010 15:12:47 +0200 Original-Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm2.telefonica.net with bizsmtp id 0Gb21f00N0piX6q3MGhbe3; Sun, 29 Aug 2010 18:41:35 +0200 Original-Received: from [172.26.0.7] ([79.154.66.90]) by IMPmailhost1.adm.correo with BIZ IMP id 0GhY1f0061wqirz1hGhZ8K; Sun, 29 Aug 2010 18:41:33 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="dxpublica" |auth_email="dxpublica@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc02" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.4.138.2; country=ES; region=29; city=Madrid; latitude=40.4000; longitude=-3.6833; http://maps.google.com/maps?q=40.4000,-3.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dD0BcLE0 - 733d235e8943 - 20100830 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:61337 Archived-At: Hi, I just want to simulate the behaviour of \usepackage{enumerate} ... \begin{enumerate}[(i)] \item \end{enumerate} in ConTeXt. That is: - items in (i), (ii), .... - right indentation of items: in context items start at the same point. In LaTeX is the item text itself who starts at the same point, not the romans. I try: \defineenumeration [mylema] [text=3D{Lemma}, % Qu=E8 es mostra before=3D{\blank[big]}, % abans de lema, un bigskip after=3D{\blank[big]}, % despr=E9s de lema, un bigskip headstyle=3Dbold, % Negreta per la cap=E7aleras %between=3D\blank, % Entre Lemmes una l=EDnia en blanc titledistance=3D.5em, % espai entre n=FAmero i par=E8ntesis. textdistance=3D.5em, % espai entre ) i text stopper=3D{.\space}, % Com acaba. Despr=E9s de par=E8ntesis un '.' location=3Dserried, width=3Dfit, % que ocupi tot l'espai style=3Ditalic, % estil del text title=3Dyes, % si puc posar o no arguments opcionals titlestyle=3Dbf, % estil del t=EDtol way=3Dbytext, % enumerar en tot el document conversion=3Dnumbers,indenting=3Dyes] % enumera amb arabic %enumera els lemes per seccion [...] \startmylema Let $G$ be a group with a finite presentation ${\cal P} =3D \langle X \mid R \rangle$. Then for all null-homotopic words $u, v$ in ${\cal P}$, \setupitems[align=3Dright] \startitemize[r][left=3D(,right=3D),stopper=3D] \item $\text{area}(u \cdot w) =3D \text{area} (w \cdot u)$ \item $\text{area}(wuw^{-1}) =3D \text{area}(w)$ \item $\text{area}(u \cdot w) \leq \text{area}(u) + \text{area}(w)$ \item $\text{area}(u) =3D \text{area}(u^{-1})$ \stopitemize \stopmylema but the numbers are left-aligned and they bit the text. Can anyone help me? Thanks, Xan. PS: Please CCme. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________