From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36799 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Sun, 30 Sep 2007 16:19:25 -0400 Message-ID: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/mixed; boundary="===============1248312540==" X-Trace: sea.gmane.org 1191183602 31680 80.91.229.12 (30 Sep 2007 20:20:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 20:20:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 30 22:19:59 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1Ic5Gg-00057D-BH for gctc-ntg-context-518@m.gmane.org; Sun, 30 Sep 2007 22:19:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB83C1FAE7; Sun, 30 Sep 2007 22:19:54 +0200 (CEST) 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 28898-07-6; Sun, 30 Sep 2007 22:19:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD5451FC54; Sun, 30 Sep 2007 22:19:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C463B1FBAC for ; Sun, 30 Sep 2007 22:19:38 +0200 (CEST) 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 28898-07-4 for ; Sun, 30 Sep 2007 22:19:31 +0200 (CEST) Original-Received: from gold.muskoka.com (gold.muskoka.com [204.16.100.5]) by ronja.ntg.nl (Postfix) with ESMTP id 54EB51FAE7 for ; Sun, 30 Sep 2007 22:19:26 +0200 (CEST) Original-Received: from [204.16.103.59] (muskoka-ppp1-204-16-103-59.muskoka.com [204.16.103.59]) by gold.muskoka.com (Postfix) with ESMTP id 1C086C3B01 for ; Sun, 30 Sep 2007 16:19:23 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36799 Archived-At: --===============1248312540== Content-Type: multipart/alternative; boundary=Apple-Mail-1-275484854 --Apple-Mail-1-275484854 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Thanks, Aditya, I have adapted this as follows=97 \startbuffer \item item 1 \startitemize[n,stopper=3D{},width=3D1em] \item item 1.1 \item item 1.2 \item item 1.3 \stopitemize \item item 2 \startitemize[n,stopper=3D{},width=3D1em] \item item 2.1 \item item 2.2 \item item 2.3 \stopitemize \item item 3 \startitemize[n,stopper=3D{},width=3D1em] \item item 3.1 \item item 3.2 \stopitemize \stopbuffer % \setupitemize[n,serried,packed,joinedup] \startitemize[repeat]\getbuffer\stopitemize and everything works, except that I cannot seems get the subitems =20 indented. Right now they fall directly beneath the main items. All best, Alan On Sep 30, 2007, at 12:28 PM, Aditya Mahajan wrote: > On Sun, 30 Sep 2007, Alan Bowen wrote: > >> I need to produce an lengthy itemization of the form: >> 1.AAAA >> 1.1 aaaa >> 1.2 bbbb >> 2.BBBB >> 2.1 cccc >> >> I can get: >> 1.AAAA >> 1 aaaa >> 2 bbbb >> 2.BBBB >> 1 cccc >> easily enough, but how can I get the main division number to =20 >> repeat in the >> subitem numeration? > > >> =46rom core-itm.tex > > % \startbuffer > % \item > % \startitemize[n] > % \item item 1.1 > % \item item 1.2 > % \startitemize[n] \item item 1.2.1 \item item 1.2.2 \stopitemize > % \item item 1.3 > % \stopitemize > % \item > % \startitemize[n] \item item 2.1 \item item 2.2 \stopitemize > % \item item 3 > % \startitemize[n] \item item 3.1 \item item 3.2 \stopitemize > % \item > % \startitemize[n] \item item 4.1 \item item 4.2 \stopitemize > % \stopbuffer > % > % \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize > \blank[3*big] > % \startitemize[n,repeat,packed] \getbuffer \stopitemize > \blank[3*big] > % \setupitemize[each][atmargin][width=3D3em] > % \startitemize[n,repeat,packed] \getbuffer \stopitemize > > Aditya > ______________________________________________________________________=20= > _____________ > If your question is of interest to others as well, please add an =20 > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/=20 > ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________=20= > _____________ --Apple-Mail-1-275484854 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Thanks, Aditya, I have adapted = this as follows=97
\startbuffer
\item item = 1
=A0= =A0 \startitemize[n,stopper=3D{},width=3D1em]
=A0 =A0 \item item = 1.1
=A0=A0 \item=A0item 1.2
=A0=A0 \item=A0item = 1.3
=A0 =A0 \stopitemize
\item item = 2
=A0= =A0=A0 \startitemize[n,stopper=3D{},width=3D1em]
=A0 \item=A0item = 2.1
=A0=A0 \item=A0=A0item 2.2
=A0=A0 \item=A0item = 2.3
=A0 \stopitemize
\item item = 3
=A0= =A0 \startitemize[n,stopper=3D{},width=3D1em]
=A0=A0 \item=A0=A0item = 3.1
=A0=A0 \item=A0 item 3.2
=A0 = \stopitemize
\stopbuffer
%
\setupitemize[n,serried,packed,joinedup]
<= DIV>\startitemize[repeat]\getbuffer\stopitemize =

and = everything works, except that I cannot seems get the subitems indented. = Right now they fall directly beneath the main items.

All best, = Alan




On Sep 30, = 2007, at 12:28 PM, Aditya Mahajan wrote:

On Sun, 30 Sep 2007, Alan Bowen wrote:

I need to produce an lengthy = itemization of the form:
1.1 aaaa
1.2 bbbb
2.BBBB
2.1 = cccc

I can get:
1 aaaa
2 bbbb
2.BBBB
1 = cccc
easily enough, but how can I get = the main division number to repeat in the=A0
subitem = numeration?


=
=46rom core-itm.tex
=

% \startbuffer
% = \item
% =A0 \startitemize[n]
% =A0 = \item item 1.1
% =A0 \item item 1.2
% =A0 = \startitemize[n] \item item 1.2.1 \item item 1.2.2 = \stopitemize
% =A0 \item item 1.3
% =A0 = \stopitemize
% \item
% =A0 = \startitemize[n] \item item 2.1 \item item 2.2 = \stopitemize
% \item item 3
% =A0 = \startitemize[n] \item item 3.1 \item item 3.2 = \stopitemize
% \item
% =A0 = \startitemize[n] \item item 4.1 \item item 4.2 = \stopitemize
% \stopbuffer
%
% = \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize=A0
% \startitemize[n,repeat,packed] = =A0 =A0 =A0 =A0 \getbuffer = \stopitemize=A0
\blank[3*big]
% = \setupitemize[each][atmargin][width=3D3em]
% = \startitemize[n,repeat,packed] =A0 = =A0 =A0 =A0 \getbuffer \stopitemize

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