From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36793 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: numbered subitems Date: Sun, 30 Sep 2007 10:59:11 -0400 Message-ID: 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="===============0328216188==" X-Trace: sea.gmane.org 1191164387 1044 80.91.229.12 (30 Sep 2007 14:59:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 14:59:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 30 16:59:43 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 1Ic0Gi-0005Td-Dg for gctc-ntg-context-518@m.gmane.org; Sun, 30 Sep 2007 16:59:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E4D41FCCE; Sun, 30 Sep 2007 16:59:36 +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 18749-03-8; Sun, 30 Sep 2007 16:59:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1BB81FCB0; Sun, 30 Sep 2007 16:59:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F9B61FC98 for ; Sun, 30 Sep 2007 16:59:19 +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 18705-09-5 for ; Sun, 30 Sep 2007 16:59:15 +0200 (CEST) Original-Received: from gold.muskoka.com (gold.muskoka.com [204.16.100.5]) by ronja.ntg.nl (Postfix) with ESMTP id 00AB51FAF5 for ; Sun, 30 Sep 2007 16:59:14 +0200 (CEST) Original-Received: from [204.16.103.90] (muskoka-ppp2-204-16-103-90.muskoka.com [204.16.103.90]) by gold.muskoka.com (Postfix) with ESMTP id 769C3C3B2F for ; Sun, 30 Sep 2007 10:59:12 -0400 (EDT) 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:36793 Archived-At: --===============0328216188== Content-Type: multipart/alternative; boundary=Apple-Mail-1-256269968 --Apple-Mail-1-256269968 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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 repeat in the subitem numeration? Alan --Apple-Mail-1-256269968 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII 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 repeat in the subitem = numeration?

Alan

= --Apple-Mail-1-256269968-- --===============0328216188== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0328216188==-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36794 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Sun, 30 Sep 2007 18:11:43 +0200 Message-ID: <115224fb0709300911m37bb63a7oe649b8a5cff7632d@mail.gmail.com> References: 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: sea.gmane.org 1191168745 13347 80.91.229.12 (30 Sep 2007 16:12:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 16:12:25 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 30 18:12:20 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 1Ic1P2-0000it-02 for gctc-ntg-context-518@m.gmane.org; Sun, 30 Sep 2007 18:12:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9AF51FB71; Sun, 30 Sep 2007 18:12:15 +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 30836-01-6; Sun, 30 Sep 2007 18:11:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 149541FB21; Sun, 30 Sep 2007 18:11:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 520A81FB21 for ; Sun, 30 Sep 2007 18:11:53 +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 30836-01-5 for ; Sun, 30 Sep 2007 18:11:45 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by ronja.ntg.nl (Postfix) with ESMTP id 87A211FAB6 for ; Sun, 30 Sep 2007 18:11:44 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id b20so429738ana for ; Sun, 30 Sep 2007 09:11:43 -0700 (PDT) Original-Received: by 10.90.93.6 with SMTP id q6mr1048839agb.1191168703321; Sun, 30 Sep 2007 09:11:43 -0700 (PDT) Original-Received: by 10.90.70.1 with HTTP; Sun, 30 Sep 2007 09:11:43 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:36794 Archived-At: 2007/9/30, Alan Bowen : > 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 repeat in the > subitem numeration? > > Alan \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} \defineconversion[firstlevelnumber][\firstlevelnumber] \def\secondlevelnumber#1{\thefirstlevelnumber.#1} \defineconversion[secondlevelnumber][\secondlevelnumber] \starttext \startitemize[firstlevelnumber] \item AAAA \startitemize[secondlevelnumber] \item aaaa \item bbbb \stopitemize \item BBBB \startitemize[secondlevelnumber] \item cccc \item dddd \stopitemize \stopitemize \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36795 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Sun, 30 Sep 2007 12:28:10 -0400 (EDT) Message-ID: References: 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: sea.gmane.org 1191169727 16006 80.91.229.12 (30 Sep 2007 16:28:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 16:28:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 30 18:28:42 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 1Ic1eq-0005Ij-RA for gctc-ntg-context-518@m.gmane.org; Sun, 30 Sep 2007 18:28:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2EF661FCDB; Sun, 30 Sep 2007 18:28:36 +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 32390-06; Sun, 30 Sep 2007 18:28:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE35D1FCB1; Sun, 30 Sep 2007 18:28:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C32E91FCB1 for ; Sun, 30 Sep 2007 18:28:21 +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 32507-10 for ; Sun, 30 Sep 2007 18:28:16 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id D037B1FC93 for ; Sun, 30 Sep 2007 18:28:15 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (adsl-68-79-103-226.dsl.sfldmi.ameritech.net [68.79.103.226]) BY skycaptain.mr.itd.umich.edu ID 46FFCE9B.9EBEA.23383 ; 30 Sep 2007 12:28:12 -0400 In-Reply-To: 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:36795 Archived-At: 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 repeat in the > subitem numeration? >>From 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=3em] % \startitemize[n,repeat,packed] \getbuffer \stopitemize Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36798 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:12 -0400 Message-ID: <79353143-97CF-49DD-88D5-B80BC7E7DE98@princeton.edu> References: <115224fb0709300911m37bb63a7oe649b8a5cff7632d@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1191183578 31600 80.91.229.12 (30 Sep 2007 20:19:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2007 20:19:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 30 22:19:34 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 1Ic5GI-00054A-Gd for gctc-ntg-context-518@m.gmane.org; Sun, 30 Sep 2007 22:19:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A82E1FB0E; Sun, 30 Sep 2007 22:19:30 +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 29703-03-4; Sun, 30 Sep 2007 22:19:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73B851FAB8; Sun, 30 Sep 2007 22:19:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A95891FAB8 for ; Sun, 30 Sep 2007 22:19:19 +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 29703-03-3 for ; Sun, 30 Sep 2007 22:19:16 +0200 (CEST) Original-Received: from gold.muskoka.com (gold.muskoka.com [204.16.100.5]) by ronja.ntg.nl (Postfix) with ESMTP id CC8E41FA85 for ; Sun, 30 Sep 2007 22:19:13 +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 60210C3AE7 for ; Sun, 30 Sep 2007 16:19:12 -0400 (EDT) In-Reply-To: <115224fb0709300911m37bb63a7oe649b8a5cff7632d@mail.gmail.com> 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:36798 Archived-At: Thanks, Wolfgang. This is good start. The problem now is that with \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} \defineconversion[firstlevelnumber][\firstlevelnumber] \def\secondlevelnumber#1{\thefirstlevelnumber.#1} \defineconversion[secondlevelnumber][\secondlevelnumber] \starttext \setupitemize[n,packed,joinedup,serried] \startitemize[ firstlevelnumber] \item item 1 \startitemize[secondlevelnumber] \item item 1.1 \item item 1.2 \item item 1.3 \stopitemize \item item 2 \startitemize[secondlevelnumber] \item item 2.1 \item item 2.2 \item{ item 2.3 \stopitemize \item item 3 \startitemize[secondlevelnumber] \item item 3.1 \item item 3.2 \stopitemize \stopitemize =95 the subitem numeration ends with a full stop which I am unable to = remove using stopper=3D0. (Inserting it in the second level = \setupitemize ruins the numeration =95 the subitem text is smashed against the numeration All best, Alan On Sep 30, 2007, at 12:11 PM, Wolfgang Schuster wrote: > 2007/9/30, Alan Bowen : >> 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 = >> repeat in the >> subitem numeration? >> >> Alan > > \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} > \defineconversion[firstlevelnumber][\firstlevelnumber] > > \def\secondlevelnumber#1{\thefirstlevelnumber.#1} > \defineconversion[secondlevelnumber][\secondlevelnumber] > > \starttext > \startitemize[firstlevelnumber] > \item AAAA > \startitemize[secondlevelnumber] > \item aaaa > \item bbbb > \stopitemize > \item BBBB > \startitemize[secondlevelnumber] > \item cccc > \item dddd > \stopitemize > \stopitemize > \stoptext > > Wolfgang > ______________________________________________________________________ = > _____________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ______________________________________________________________________ = > _____________ ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ 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
Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Sun, 30 Sep 2007 17:29:30 -0400 (EDT) Message-ID: References: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Trace: sea.gmane.org 1191201351 8046 80.91.229.12 (1 Oct 2007 01:15:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2007 01:15:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 01 03:15:47 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 1Ic9sw-0004Vu-H2 for gctc-ntg-context-518@m.gmane.org; Mon, 01 Oct 2007 03:15:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 663AE1FB7F; Mon, 1 Oct 2007 03:15:42 +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 27573-02-10; Mon, 1 Oct 2007 03:15:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7D101FBF1; Mon, 1 Oct 2007 02:46:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5A821FBE3 for ; Mon, 1 Oct 2007 02:46:14 +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 25022-01 for ; Mon, 1 Oct 2007 02:46:09 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 6B0941FCDD for ; Sun, 30 Sep 2007 23:29:33 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (adsl-68-79-103-226.dsl.sfldmi.ameritech.net [68.79.103.226]) BY tombraider.mr.itd.umich.edu ID 4700153A.9A599.31333 ; 30 Sep 2007 17:29:31 -0400 In-Reply-To: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> 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:36803 Archived-At: T24gU3VuLCAzMCBTZXAgMjAwNywgQWxhbiBCb3dlbiB3cm90ZToKCj4gVGhhbmtzLCBBZGl0eWEs IEkgaGF2ZSBhZGFwdGVkIHRoaXMgYXMgZm9sbG93c+KAlAo+IFxzdGFydGJ1ZmZlcgo+IFxpdGVt IGl0ZW0gMQo+ICAgXHN0YXJ0aXRlbWl6ZVtuLHN0b3BwZXI9e30sd2lkdGg9MWVtXQo+ICAgXGl0 ZW0gaXRlbSAxLjEKPiAgXGl0ZW0gaXRlbSAxLjIKPiAgXGl0ZW0gaXRlbSAxLjMKPiAgIFxzdG9w aXRlbWl6ZQo+IFxpdGVtIGl0ZW0gMgo+ICAgIFxzdGFydGl0ZW1pemVbbixzdG9wcGVyPXt9LHdp ZHRoPTFlbV0KPiBcaXRlbSBpdGVtIDIuMQo+ICBcaXRlbSAgaXRlbSAyLjIKPiAgXGl0ZW0gaXRl bSAyLjMKPiBcc3RvcGl0ZW1pemUKPiBcaXRlbSBpdGVtIDMKPiAgIFxzdGFydGl0ZW1pemVbbixz dG9wcGVyPXt9LHdpZHRoPTFlbV0KPiAgXGl0ZW0gIGl0ZW0gMy4xCj4gIFxpdGVtICBpdGVtIDMu Mgo+IFxzdG9waXRlbWl6ZQo+IFxzdG9wYnVmZmVyCj4gJQo+IFxzZXR1cGl0ZW1pemVbbixzZXJy aWVkLHBhY2tlZCxqb2luZWR1cF0KPiBcc3RhcnRpdGVtaXplW3JlcGVhdCw0KmJvcmFkXVxnZXRi dWZmZXJcc3RvcGl0ZW1pemUKICAgICAgICAgICAgICAgICAgICAgICAgXl5eXl5eXgogICAgICAg ICAgICAgICAgICAgICAgICAoYWRkIHRoaXMpCgo+IGFuZCBldmVyeXRoaW5nIHdvcmtzLCBleGNl cHQgdGhhdCBJIGNhbm5vdCBzZWVtcyBnZXQgdGhlIHN1Yml0ZW1zIGluZGVudGVkLiAKPiBSaWdo dCBub3cgdGhleSBmYWxsIGRpcmVjdGx5IGJlbmVhdGggdGhlIG1haW4gaXRlbXMuCgpBZGl0eWEK X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vZm91bmRyeS5zdXBlbGVj LmZyL3Byb2plY3RzL2NvbnRleHRyZXYvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRnYXJkZW4u bmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36807 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Mon, 1 Oct 2007 11:54:09 +0200 Message-ID: References: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191232477 22112 80.91.229.12 (1 Oct 2007 09:54:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2007 09:54:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 01 11:54:33 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 1IcHyx-00022y-B0 for gctc-ntg-context-518@m.gmane.org; Mon, 01 Oct 2007 11:54:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D0CD1FBEB; Mon, 1 Oct 2007 11:54:27 +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 15275-02-15; Mon, 1 Oct 2007 11:54:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16FF61FB5A; Mon, 1 Oct 2007 11:54:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 459E41FB5A for ; Mon, 1 Oct 2007 11:54:15 +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 15275-02-14 for ; Mon, 1 Oct 2007 11:54:11 +0200 (CEST) Original-Received: from lvps87-230-27-118.dedicated.hosteurope.de (fiee.net [87.230.27.118]) by ronja.ntg.nl (Postfix) with ESMTP id 9890C1FAA1 for ; Mon, 1 Oct 2007 11:54:11 +0200 (CEST) Original-Received: (qmail 30317 invoked from network); 1 Oct 2007 11:54:11 +0200 Original-Received: from 26.36.203.62.cust.bluewin.ch (HELO ?10.128.9.3?) (62.203.36.26) by fiee.net with SMTP; 1 Oct 2007 11:54:11 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) 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:36807 Archived-At: Am 2007-09-30 um 23:29 schrieb Aditya Mahajan: >> \startitemize[repeat,4*borad]\getbuffer\stopitemize > ^^^^^^^ > (add this) been too much to the movies, eh? ;-) I guess that should be "broad"... Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36809 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Mon, 1 Oct 2007 09:16:50 -0400 Message-ID: <5F6A7C3F-AE0A-4EC4-ACDE-4EAD4D98BC89@princeton.edu> References: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> 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="===============0387388057==" X-Trace: sea.gmane.org 1191244700 1925 80.91.229.12 (1 Oct 2007 13:18:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2007 13:18:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 01 15:18:16 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 1IcLA7-0007zc-MK for gctc-ntg-context-518@m.gmane.org; Mon, 01 Oct 2007 15:18:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3582C1FB4F; Mon, 1 Oct 2007 15:18:10 +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 21753-07; Mon, 1 Oct 2007 15:17:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C65381FB40; Mon, 1 Oct 2007 15:17:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F8B31FB40 for ; Mon, 1 Oct 2007 15:17:52 +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 22344-04 for ; Mon, 1 Oct 2007 15:17:45 +0200 (CEST) Original-Received: from gold.muskoka.com (gold.muskoka.com [204.16.100.5]) by ronja.ntg.nl (Postfix) with ESMTP id 461391FB39 for ; Mon, 1 Oct 2007 15:17:44 +0200 (CEST) Original-Received: from [204.16.103.113] (muskoka-ppp2-204-16-103-113.muskoka.com [204.16.103.113]) by gold.muskoka.com (Postfix) with ESMTP id E8012C3B50 for ; Mon, 1 Oct 2007 09:17:27 -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:36809 Archived-At: --===============0387388057== Content-Type: multipart/alternative; boundary=Apple-Mail-1-336529536 --Apple-Mail-1-336529536 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Hi, Aditya=97 Many thanks. That works and looks quite good. I experimented and find =20= that \startitemize[repeat,broad]\getbuffer\stopitemize looks best. The only downside is that there is still largish a gap =20 between the stopper and the text of the main item as in 1. History 1.1 Pre-Greek (Babylonian and Egyptian) sundials 1.2 Greek and Roman sundials 1.3 Byzantine sundials when 1. History 1.1 Pre-Greek (Babylonian and Egyptian) sundials 1.2 Greek and Roman sundials 1.3 Byzantine sundials is the goal. Sadly, adding =93serried=94 destroys the indentation of the = =20 subitems. Alan On Sep 30, 2007, at 5:29 PM, Aditya Mahajan wrote: > On Sun, 30 Sep 2007, Alan Bowen wrote: > >> 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,4*borad]\getbuffer\stopitemize > ^^^^^^^ > (add this) > >> and everything works, except that I cannot seems get the subitems =20 >> indented. >> Right now they fall directly beneath the main items. > > 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-336529536 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252 Hi, Aditya=97

Many thanks. That works and = looks quite good. I experimented and find = that
\startitemize[repeat,broad]\getbuffer\stopitemize
looks best.=A0 The only downside is that there is still largish a gap = between the stopper and the text of the main item as in

1. =A0=A0History
<= DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; "> 1.1 Pre-Greek (Babylonian and Egyptian) = sundials
1.2 Greek and Roman sundials
1.3 Byzantine sundials

when

1.=A0History
1.1 Pre-Greek (Babylonian = and Egyptian) sundials
1.2 Greek and Roman = sundials
1.3 Byzantine sundials

is the goal. = Sadly, adding =93serried=94 destroys the indentation of the = subitems.

Alan



O= n Sep 30, 2007, at 5:29 PM, Aditya Mahajan wrote:

On Sun, 30 Sep 2007, Alan Bowen wrote:

Thanks, Aditya, I have adapted = this as follows=97
\startbuffer
\item item 1
=A0 = \startitemize[n,stopper=3D{},width=3D1em]
=A0 = \item item 1.1
=A0\item item 1.2
=A0\item = item 1.3
=A0 \stopitemize
\item item 2
=A0=A0 = \startitemize[n,stopper=3D{},width=3D1em]
\item item 2.1
=A0\item=A0 item 2.2
=A0\item = item 2.3
\stopitemize
\item item 3
=A0 = \startitemize[n,stopper=3D{},width=3D1em]
=A0\item=A0 item 3.1
=A0\item=A0 item 3.2
\stopitemize
%
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 ^^^^^^^
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 (add this)

and = everything works, except that I cannot seems get the subitems = indented.=A0
Right now they fall directly beneath the main = items.
Aditya
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
Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Mon, 1 Oct 2007 20:11:13 -0400 (EDT) Message-ID: References: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> <5F6A7C3F-AE0A-4EC4-ACDE-4EAD4D98BC89@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191283909 12481 80.91.229.12 (2 Oct 2007 00:11:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2007 00:11:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 02 02:11:43 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 1IcVMU-0006vl-W6 for gctc-ntg-context-518@m.gmane.org; Tue, 02 Oct 2007 02:11:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D820D1FC14; Tue, 2 Oct 2007 02:11: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 05814-03-9; Tue, 2 Oct 2007 02:11:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 435D31FBCC; Tue, 2 Oct 2007 02:11:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F4E51FBA6 for ; Tue, 2 Oct 2007 02:11:24 +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 05814-03-8 for ; Tue, 2 Oct 2007 02:11:18 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 453071FBD9 for ; Tue, 2 Oct 2007 02:11:17 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (adsl-68-79-103-226.dsl.sfldmi.ameritech.net [68.79.103.226]) BY hellskitchen.mr.itd.umich.edu ID 47018CA2.49412.16471 ; 1 Oct 2007 20:11:14 -0400 In-Reply-To: <5F6A7C3F-AE0A-4EC4-ACDE-4EAD4D98BC89@princeton.edu> 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:36813 Archived-At: Hi Alan, On Mon, 1 Oct 2007, Alan Bowen wrote: > 1. History > 1.1 Pre-Greek (Babylonian and Egyptian) sundials > 1.2 Greek and Roman sundials > 1.3 Byzantine sundials > > is the goal. Sadly, adding “serried” destroys the indentation of the > subitems. I could not find a clean way to do this. So, I redefined ¥checkforrepeatedlistitem. Hans, isn't there a clean way to do this? ¥setupitemize[1][fit,broad] ¥setupitemize[2][width=2em] ¥setupitemize[each][n] ¥def¥checkforrepeatedlistitem {¥ifnum¥itemlevel=¥plusone ¥initializeboxstack{item}% ¥fi ¥ifconditional¥repeatlistitem ¥savebox{item}{¥itemlevel}{¥hbox{¥copy8}}% ¥setbox8¥hbox %to ¥wd8 {¥setbox¥scratchbox¥hbox {¥scratchcounter¥itemlevel ¥advance¥scratchcounter¥minusone ¥dorecurse¥scratchcounter{¥foundbox{item}{¥recurselevel}}}% ¥ifnum¥itemlevel>¥plusone ¥ifdim¥wd¥scratchbox>¥zeropoint %¥hskip-¥dimen2 ¥box¥scratchbox ¥fi ¥fi ¥box8 }% ¥fi} ¥starttext ¥startitemize[repeat] ¥item item 1 ¥startitemize ¥item item 1.1 ¥item item 1.2 ¥item item 1.3 ¥stopitemize ¥item item 2 ¥startitemize ¥item item 2.1 ¥item item 2.2 ¥item item 2.3 ¥stopitemize ¥item item 3 ¥startitemize ¥item item 3.1 ¥item item 3.2 ¥stopitemize ¥stopitemize ¥stoptext Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36886 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: numbered subitems Date: Thu, 4 Oct 2007 08:55:01 -0400 Message-ID: References: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> <5F6A7C3F-AE0A-4EC4-ACDE-4EAD4D98BC89@princeton.edu> <4DDF8044-6E42-40AB-94EF-3FCF49ED1F08@princeton.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1191512602 16483 80.91.229.12 (4 Oct 2007 15:43:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 15:43:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 04 17:43:19 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 1IdSqV-0002B4-1Q for gctc-ntg-context-518@m.gmane.org; Thu, 04 Oct 2007 17:42:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE8C91FE2D; Thu, 4 Oct 2007 17:42:23 +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 18683-04-32; Thu, 4 Oct 2007 17:42:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CE631FA39; Thu, 4 Oct 2007 17:40:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FF771FAAB for ; Thu, 4 Oct 2007 17:39:55 +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 18683-04-18 for ; Thu, 4 Oct 2007 17:39:48 +0200 (CEST) Original-Received: from gold.muskoka.com (gold.muskoka.com [204.16.100.5]) by ronja.ntg.nl (Postfix) with ESMTP id 232EC1FA39 for ; Thu, 4 Oct 2007 14:55:18 +0200 (CEST) Original-Received: from [204.16.103.115] (muskoka-ppp2-204-16-103-115.muskoka.com [204.16.103.115]) by gold.muskoka.com (Postfix) with ESMTP id 39F50C3C3F for ; Thu, 4 Oct 2007 08:55:03 -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:36886 Archived-At: Hi, Aditya=97 This works perfectly (after changing the Yen-signs for backslashes). = It behaves as expected when adapted and will be a great help in = producing a number of the TOCs that are on my horizon. Many thanks = for your time and help! All best, Alan > On Oct 1, 2007, at 8:11 PM, Aditya Mahajan wrote: > >> Hi Alan, >> On Mon, 1 Oct 2007, Alan Bowen wrote: >>> 1. History >>> 1.1 Pre-Greek (Babylonian and Egyptian) sundials >>> 1.2 Greek and Roman sundials >>> 1.3 Byzantine sundials >>> is the goal. Sadly, adding =93serried=94 destroys the indentation of the >>> subitems. >> I could not find a clean way to do this. So, I redefined >> =A5checkforrepeatedlistitem. Hans, isn't there a clean way to do this? >> =A5setupitemize[1][fit,broad] >> =A5setupitemize[2][width=3D2em] >> =A5setupitemize[each][n] >> =A5def=A5checkforrepeatedlistitem >> {=A5ifnum=A5itemlevel=3D=A5plusone >> =A5initializeboxstack{item}% >> =A5fi >> =A5ifconditional=A5repeatlistitem >> =A5savebox{item}{=A5itemlevel}{=A5hbox{=A5copy8}}% >> =A5setbox8=A5hbox %to =A5wd8 >> {=A5setbox=A5scratchbox=A5hbox >> {=A5scratchcounter=A5itemlevel >> =A5advance=A5scratchcounter=A5minusone >> =A5dorecurse=A5scratchcounter{=A5foundbox{item} = >> {=A5recurselevel}}}% >> =A5ifnum=A5itemlevel>=A5plusone >> =A5ifdim=A5wd=A5scratchbox>=A5zeropoint >> %=A5hskip-=A5dimen2 >> =A5box=A5scratchbox >> =A5fi >> =A5fi >> =A5box8 }% >> =A5fi} >> =A5starttext >> =A5startitemize[repeat] >> =A5item item 1 >> =A5startitemize >> =A5item item 1.1 >> =A5item item 1.2 >> =A5item item 1.3 >> =A5stopitemize >> =A5item item 2 >> =A5startitemize >> =A5item item 2.1 >> =A5item item 2.2 >> =A5item item 2.3 >> =A5stopitemize >> =A5item item 3 >> =A5startitemize >> =A5item item 3.1 >> =A5item item 3.2 >> =A5stopitemize >> =A5stopitemize >> =A5stoptext >> Aditya ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37024 Path: news.gmane.org!not-for-mail From: WN Newsgroups: gmane.comp.tex.context Subject: Numbered subitems Date: Tue, 23 Oct 2007 18:02:38 +0200 Message-ID: <471E1B1E.2060307@tiscali.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1533075707==" X-Trace: ger.gmane.org 1193155126 30744 80.91.229.12 (23 Oct 2007 15:58:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 15:58:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 23 17:58:47 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 1IkM9V-0006z8-NI for gctc-ntg-context-518@m.gmane.org; Tue, 23 Oct 2007 17:58:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA3301FBC9; Tue, 23 Oct 2007 17:58:37 +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 28337-05-5; Tue, 23 Oct 2007 17:58:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B33171FBBA; Tue, 23 Oct 2007 17:58:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 749591FB47 for ; Tue, 23 Oct 2007 17:58:06 +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 28337-05-2 for ; Tue, 23 Oct 2007 17:57:56 +0200 (CEST) Original-Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by ronja.ntg.nl (Postfix) with ESMTP id 831621FB5B for ; Tue, 23 Oct 2007 17:57:54 +0200 (CEST) Original-Received: from [82.171.198.174] (helo=[192.168.1.36]) by smtp-out3.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl) id 1IkM8g-000290-KC for ; Tue, 23 Oct 2007 17:57:54 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) 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:37024 Archived-At: This is a multi-part message in MIME format. --===============1533075707== Content-Type: multipart/alternative; boundary="------------030609060807040901070503" This is a multi-part message in MIME format. --------------030609060807040901070503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I want to make a numbered list as follows *Artikel 1. First artikel *1.1. Text for item 1.1. 1.2. Text for item 1.2 *Artikel 2. Second artikel* 2.1. Text for item 2.1 2.2. Text for item 2.2 etc. I am trying to accomplish this with \setupitemgroup and \defineitemgroup as follows, but the second level start also with Artikel and is indented. I looked at the some of the emails relating to numbered subitems but could not find a working example. Thanks for any help Wim % test code \defineitemgroup[mylist][levels=2] \setupitemgroup[mylist][1][atmargin][n,repeat] \setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ] \setupitemgroup[mylist][2][atmargin][n,repeat] \setupitemgroup[mylist][2][width=2em,stopper=.,left=] \startext \startmylist \head First artikel \startmylist \item Text for item 1.1. \item Text for item 1.1. \stopmylist \head Second artikel \startmylist \item Text for item 2.1 \item Text for item 2.2 \stopmylist \stopmylist \stoptext --------------030609060807040901070503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I want to make a numbered list as follows

Artikel 1. First artikel

1.1. Text for item 1.1.
1.2. Text for item 1.2

Artikel 2. Second artikel

2.1.  Text for item 2.1
2.2.  Text for item 2.2

etc.

I am trying to accomplish this with \setupitemgroup and \defineitemgroup as
follows, but the second level start also with Artikel and is indented.
I looked at the some of the emails relating to numbered subitems
but could not find a working example.

Thanks for any help
Wim


% test code
\defineitemgroup[mylist][levels=2]
\setupitemgroup[mylist][1][atmargin][n,repeat]
\setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ]
\setupitemgroup[mylist][2][atmargin][n,repeat]
\setupitemgroup[mylist][2][width=2em,stopper=.,left=]

\startext
\startmylist
\head First artikel

\startmylist
\item Text for item 1.1.
\item Text for item 1.1.
\stopmylist

\head Second artikel

\startmylist
\item Text for item 2.1
\item Text for item 2.2
\stopmylist

\stopmylist
\stoptext
--------------030609060807040901070503-- --===============1533075707== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1533075707==-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37033 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Numbered subitems Date: Wed, 24 Oct 2007 15:25:44 +0200 Message-ID: <115224fb0710240625x491b0272u81a666d82326b551@mail.gmail.com> References: <471E1B1E.2060307@tiscali.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1992187403==" X-Trace: ger.gmane.org 1193232981 5230 80.91.229.12 (24 Oct 2007 13:36:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 13:36:21 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 24 15:36:20 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 1IkgPE-0006Kg-FJ for gctc-ntg-context-518@m.gmane.org; Wed, 24 Oct 2007 15:36:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE5141FB5B; Wed, 24 Oct 2007 15:36:11 +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 10929-02-3; Wed, 24 Oct 2007 15:35:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 037751FBA0; Wed, 24 Oct 2007 15:35:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1602F1FBA0 for ; Wed, 24 Oct 2007 15:35:55 +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 10929-02-2 for ; Wed, 24 Oct 2007 15:35:49 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by ronja.ntg.nl (Postfix) with ESMTP id 52D451FB5B for ; Wed, 24 Oct 2007 15:35:46 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so203641wxd for ; Wed, 24 Oct 2007 06:35:45 -0700 (PDT) Original-Received: by 10.90.50.1 with SMTP id x1mr505586agx.1193232344224; Wed, 24 Oct 2007 06:25:44 -0700 (PDT) Original-Received: by 10.90.98.20 with HTTP; Wed, 24 Oct 2007 06:25:44 -0700 (PDT) In-Reply-To: <471E1B1E.2060307@tiscali.nl> 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:37033 Archived-At: --===============1992187403== Content-Type: multipart/alternative; boundary="----=_Part_7367_23155022.1193232344201" ------=_Part_7367_23155022.1193232344201 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/10/23, WN : > > Hi, > > I want to make a numbered list as follows > > *Artikel 1. First artikel > > *1.1. Text for item 1.1. > 1.2. Text for item 1.2 > > *Artikel 2. Second artikel* > > 2.1. Text for item 2.1 > 2.2. Text for item 2.2 > > etc. > > I am trying to accomplish this with \setupitemgroup and \defineitemgroup > as > follows, but the second level start also with Artikel and is indented. > I looked at the some of the emails relating to numbered subitems > but could not find a working example. > > Thanks for any help > Wim > > > % test code > \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} \defineconversion[firstlevelnumber][\firstlevelnumber] \def\secondlevelnumber#1{\thefirstlevelnumber.#1} \defineconversion[secondlevelnumber][\secondlevelnumber] \defineitemgroup[mylist][levels=2] > \setupitemgroup[mylist][1][atmargin][n,repeat] > \setupitemgroup[mylist][1][atmargin][n,firstlevelnumber] \setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ] > \setupitemgroup[mylist][2][atmargin][n,repeat] > \setupitemgroup[mylist][2][atmargin][n,secondlevelnumber] \setupitemgroup[mylist][2][width=2em,stopper=.,left=] > > \startext > \startmylist > \head First artikel > > \startmylist > \item Text for item 1.1. > \item Text for item 1.1. > \stopmylist > > \head Second artikel > > \startmylist > \item Text for item 2.1 > \item Text for item 2.2 > \stopmylist > > \stopmylist > \stoptext > Wolfgang ------=_Part_7367_23155022.1193232344201 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2007/10/23, WN <wneimeijer@tiscali.nl>:
Hi,

I want to make a numbered list as follows

Artikel 1. First artikel

1.1. Text for item 1.1.
1.2. Text for item 1.2

Artikel 2. Second artikel

2.1.  Text for item 2.1
2.2.  Text for item 2.2

etc.

I am trying to accomplish this with \setupitemgroup and \defineitemgroup as
follows, but the second level start also with Artikel and is indented.
I looked at the some of the emails relating to numbered subitems
but could not find a working example.

Thanks for any help
Wim


% test code

\def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1}
\defineconversion[firstlevelnumber][\firstlevelnumber]

\def\secondlevelnumber#1{\thefirstlevelnumber.#1}
\defineconversion[secondlevelnumber][\secondlevelnumber]

\defineitemgroup[mylist][levels=2]
\setupitemgroup[mylist][1][atmargin][n,repeat]

\setupitemgroup[mylist][1][atmargin][n,firstlevelnumber]

\setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ]
\setupitemgroup[mylist][2][atmargin][n,repeat]

\setupitemgroup[mylist][2][atmargin][n,secondlevelnumber]

\setupitemgroup[mylist][2][width=2em,stopper=.,left=]

\startext
\startmylist
\head First artikel

\startmylist
\item Text for item 1.1.
\item Text for item 1.1.
\stopmylist

\head Second artikel

\startmylist
\item Text for item 2.1
\item Text for item 2.2
\stopmylist

\stopmylist
\stoptext

Wolfgang
 


------=_Part_7367_23155022.1193232344201-- --===============1992187403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1992187403==-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37035 Path: news.gmane.org!not-for-mail From: WN Newsgroups: gmane.comp.tex.context Subject: Re: Numbered subitems Date: Wed, 24 Oct 2007 17:58:54 +0200 Message-ID: <471F6BBD.4090600@tiscali.nl> References: <471E1B1E.2060307@tiscali.nl> <115224fb0710240625x491b0272u81a666d82326b551@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0433806016==" X-Trace: ger.gmane.org 1193241344 6628 80.91.229.12 (24 Oct 2007 15:55:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 15:55:44 +0000 (UTC) Cc: mailing list for ConTeXt users To: schuster.wolfgang@googlemail.com Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 24 17:55:43 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 1Ikia5-0008IG-5k for gctc-ntg-context-518@m.gmane.org; Wed, 24 Oct 2007 17:55:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DA001FD8E; Wed, 24 Oct 2007 17:55:31 +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 20954-03-5; Wed, 24 Oct 2007 17:55:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 897CA1FDD7; Wed, 24 Oct 2007 17:55:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 860271FDD6 for ; Wed, 24 Oct 2007 17:55:18 +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 20955-04-4 for ; Wed, 24 Oct 2007 17:55:05 +0200 (CEST) Original-Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by ronja.ntg.nl (Postfix) with ESMTP id 1F0F21FDD9 for ; Wed, 24 Oct 2007 17:54:10 +0200 (CEST) Original-Received: from [82.171.198.174] (helo=[192.168.1.36]) by smtp-out2.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl) id 1IkiYb-0007DY-Pm; Wed, 24 Oct 2007 17:54:10 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <115224fb0710240625x491b0272u81a666d82326b551@mail.gmail.com> 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:37035 Archived-At: This is a multi-part message in MIME format. --===============0433806016== Content-Type: multipart/alternative; boundary="------------050608020806010301030004" This is a multi-part message in MIME format. --------------050608020806010301030004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Wolfgang In the meantime I found another way of getting the desired result. I am now using enumerations out of the box, without needing extra counters. After a bit of experimenting, this is what I did % test code \defineenumeration[artikel][location=left,text=Artikel,headstyle=bold,stopper=.,distance=5pt,width=broad,number=yes] \setupenumerations[subartikel][text=,location=left,stopper=.,width=broad,distance=5pt] \starttext \startartikel First artikel \stopartikel \startsubartikel Text for item 1.1. \stopsubartikel \startsubartikel Text for item 1.2 \stopsubartikel \startartikel Second artikel \stopartikel \startsubartikel Text for item 2.1 \stopsubartikel \startsubartikel Text for item 2.2 \stopsubartikel \stoptext Anyways, thanks for your help Kind regards Wim Neimeijer > > 2007/10/23, WN >: > > Hi, > > I want to make a numbered list as follows > > *Artikel 1. First artikel > > *1.1. Text for item 1.1. > 1.2. Text for item 1.2 > > *Artikel 2. Second artikel* > > 2.1. Text for item 2.1 > 2.2. Text for item 2.2 > > etc. > > I am trying to accomplish this with \setupitemgroup and > \defineitemgroup as > follows, but the second level start also with Artikel and is indented. > I looked at the some of the emails relating to numbered subitems > but could not find a working example. > > Thanks for any help > Wim > > > % test code > > > \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} > \defineconversion[firstlevelnumber][\firstlevelnumber] > > \def\secondlevelnumber#1{\thefirstlevelnumber.#1} > \defineconversion[secondlevelnumber][\secondlevelnumber] > > \defineitemgroup[mylist][levels=2] > \setupitemgroup[mylist][1][atmargin][n,repeat] > > > \setupitemgroup[mylist][1][atmargin][n,firstlevelnumber] > > \setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel > ] > \setupitemgroup[mylist][2][atmargin][n,repeat] > > > \setupitemgroup[mylist][2][atmargin][n,secondlevelnumber] > > \setupitemgroup[mylist][2][width=2em,stopper=.,left=] > > \startext > \startmylist > \head First artikel > > \startmylist > \item Text for item 1.1. > \item Text for item 1.1. > \stopmylist > > \head Second artikel > > \startmylist > \item Text for item 2.1 > \item Text for item 2.2 > \stopmylist > > \stopmylist > \stoptext > > > Wolfgang > > > > ------------------------------------------------------------------------ > > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > --------------050608020806010301030004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Wolfgang

In the meantime I found another way of getting the desired result. I am now using
enumerations out of the box, without needing extra counters.
After a bit of experimenting, this is what I did

% test code
\defineenumeration[artikel][location=left,text=Artikel,headstyle=bold,stopper=.,distance=5pt,width=broad,number=yes]
\setupenumerations[subartikel][text=,location=left,stopper=.,width=broad,distance=5pt]
\starttext
\startartikel First artikel \stopartikel
\startsubartikel Text for item 1.1. \stopsubartikel
\startsubartikel Text for item 1.2 \stopsubartikel

\startartikel Second artikel \stopartikel
\startsubartikel Text for item 2.1 \stopsubartikel
\startsubartikel Text for item 2.2 \stopsubartikel
\stoptext

Anyways, thanks for your help
Kind regards
Wim Neimeijer

2007/10/23, WN <wneimeijer@tiscali.nl>:
Hi,

I want to make a numbered list as follows

Artikel 1. First artikel

1.1. Text for item 1.1.
1.2. Text for item 1.2

Artikel 2. Second artikel

2.1.  Text for item 2.1
2.2.  Text for item 2.2

etc.

I am trying to accomplish this with \setupitemgroup and \defineitemgroup as
follows, but the second level start also with Artikel and is indented.
I looked at the some of the emails relating to numbered subitems
but could not find a working example.

Thanks for any help
Wim


% test code

\def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1}
\defineconversion[firstlevelnumber][\firstlevelnumber]

\def\secondlevelnumber#1{\thefirstlevelnumber.#1}
\defineconversion[secondlevelnumber][\secondlevelnumber]

\defineitemgroup[mylist][levels=2]
\setupitemgroup[mylist][1][atmargin][n,repeat]

\setupitemgroup[mylist][1][atmargin][n,firstlevelnumber]

\setupitemgroup[mylist][1][width=5em,stopper=.,headstyle=bold,left=Artikel ]
\setupitemgroup[mylist][2][atmargin][n,repeat]

\setupitemgroup[mylist][2][atmargin][n,secondlevelnumber]

\setupitemgroup[mylist][2][width=2em,stopper=.,left=]

\startext
\startmylist
\head First artikel

\startmylist
\item Text for item 1.1.
\item Text for item 1.1.
\stopmylist

\head Second artikel

\startmylist
\item Text for item 2.1
\item Text for item 2.2
\stopmylist

\stopmylist
\stoptext

Wolfgang
 



___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________

--------------050608020806010301030004-- --===============0433806016== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0433806016==--