ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: numbered subitems
Date: Sun, 30 Sep 2007 16:19:25 -0400	[thread overview]
Message-ID: <73B819D3-F847-47A7-B765-D9229297174D@princeton.edu> (raw)
In-Reply-To: <alpine.WNT.0.9999.0709301225460.2276@nqvgln>


[-- Attachment #1.1: Type: text/plain, Size: 2459 bytes --]

Thanks, Aditya, I have adapted this as follows—
\startbuffer
\item item 1
     \startitemize[n,stopper={},width=1em]
     \item item 1.1
    \item item 1.2
    \item item 1.3
     \stopitemize
\item item 2
      \startitemize[n,stopper={},width=1em]
   \item item 2.1
    \item  item 2.2
    \item item 2.3
   \stopitemize
\item item 3
     \startitemize[n,stopper={},width=1em]
    \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  
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  
>> 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
> ______________________________________________________________________ 
> _____________


[-- Attachment #1.2: Type: text/html, Size: 10642 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2007-09-30 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-30 14:59 Alan Bowen
2007-09-30 16:11 ` Wolfgang Schuster
2007-09-30 20:19   ` Alan Bowen
2007-09-30 16:28 ` Aditya Mahajan
2007-09-30 20:19   ` Alan Bowen [this message]
2007-09-30 21:29     ` Aditya Mahajan
2007-10-01  9:54       ` Henning Hraban Ramm
2007-10-01 13:16       ` Alan Bowen
2007-10-02  0:11         ` Aditya Mahajan
     [not found]           ` <4DDF8044-6E42-40AB-94EF-3FCF49ED1F08@princeton.edu>
     [not found]             ` <alpine.WNT.0.9999.0710030926370.1620@nqvgln>
2007-10-04 12:55               ` Alan Bowen
2007-10-23 16:02 Numbered subitems WN
2007-10-24 13:25 ` Wolfgang Schuster
2007-10-24 15:58   ` WN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=73B819D3-F847-47A7-B765-D9229297174D@princeton.edu \
    --to=acbowen@princeton.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).