From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7769 Path: main.gmane.org!not-for-mail From: "W. Egger" Newsgroups: gmane.comp.tex.context Subject: Re: Questions on enumeration and itemize Date: Wed, 24 Apr 2002 19:25:48 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <000701c1ebb5$1b914e00$0100a8c0@digitpaint.nl> References: <1642723161.1019666468@[192.168.7.37]> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035398215 22131 80.91.224.250 (23 Oct 2002 18:36:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:36:55 +0000 (UTC) Cc: "ntg-context" Original-To: "Christophe Pythoud" Xref: main.gmane.org gmane.comp.tex.context:7769 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7769 Hi Christophe I was dealing with this issue some time ago. There are a lot of partially new possibilities within the itemization environment. You might have a look into core-itm.tex Here tow examples as I used them: \setupitemize[2][atmargin][headstyle=\it,marstyle=\it,symstyle=\it,indentnex t=no] \setupitemize[3][4*broad][distance= 2cm, width=2cm,before={\blank[small]}] The first [ ] indicate the level on which the settings are used. I hop this will help you setup your environment. Willi ----- Original Message ----- From: Christophe Pythoud To: Sent: Wednesday, April 24, 2002 4:41 PM Subject: Questions on enumeration and itemize > Hi, > > 1) > > I have some legal documents to typeset of the form : > > 1 This is an article > 1.1 this is a subarticle detailing some point > 1.2 this is a second subarticle > > 2 This is an other article > 2.1 this is a subarticle > 2.2 etc. > > I do: > > \defineenumeration > [artst] > [location=left, > text={}, > width=3em, > headstyle=normal] > \setupenumerations[artst][headstyle=bold,style=bold] > \setupenumerations[subartst][headstyle=normal,style=normal] > > and I get the main items (1 and 2) typeset in bold (which is what I want). > But the minor items (1.1, 1.2, 2.1, etc.) are not typeset the way I was > expecting them to be: the text is in normal style (what I want) but the > number is in bold (I want them as normal text). I don't understand why > this happen. I was under the impression that the second \setupenumerations > should not even be necessary. What am I missing? > > > 2) > > Later in the same document, I want to have at some point: > > 2 bla bla > 2.1 bla bla > 2.2 bla bla : > a) bla bla > b) bla bla > c) etc. > > What I do for now is: > > \startitemize[a][width=3em,stopper=)] > \item some text ; > \item some more text. > \stopitemize > > which gives me: > > 2.2 bla bla > a) bla bla > b) bla bla > c) etc. > > Quite nice but not exactly what I want. How do I place the whole > enumeration 3em away from the margin? BTW, is there a way to do that for > any paragraph (I mean a random paragraph in some text, not as a global > setting). I have been trying every possible combination of commands I > looked up in the manuals but to no avail. Any help would be greatly > appreciated. > > I'm using ConTeXt beta from March 27, 2002. > > A nice day to all, > > Christophe > > ------ > Christophe Pythoud (pythoud@moria.ch)