[NTG-context] numbered subitems revisited
Several iterations of MK2 ago (in 2007), I was able to produce: 1. History 1.1 Pre-Greek (Babylonian and Egyptian) sundials 1.2 Greek and Roman sundials 1.3 Byzantine sundials 2. Catalog (descriptions with photos, rough dating, evaluation) 2.1 The Tower of the Winds and its sundials, treated separately 2.2 General remarks on the cataloguing of the other finds 2.3 Catalogue of the remaining finds on the Greek mainland and the Peloponnesus 3. Analysis 3.1 Methodological remarks on the mathematical tools for analysis, and on their status 3.2 Documentation of the results of the mathematical analysis of the measurements, comparison with other evaluations using the following code (thanks to Aditya): \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} \startitemize[repeat,serried, joinedup] \item History \startitemize[width=1.75em, stopper={}] \item Pre{-}Greek (Babylonian and Egyptian) sundials \item Greek and Roman sundials \item Byzantine sundials \stopitemize \item Catalog (descriptions with photos, rough dating, evaluation) \startitemize[width=1.75em, stopper={}] \item The Tower of the Winds and its sundials, treated separately \item General remarks on the cataloguing of the other finds \item Catalogue of the remaining finds on the Greek mainland and the Peloponnesus \stopitemize \item Analysis \startitemize[width=1.75em, stopper={}] \item Methodological remarks on the mathematical tools for analysis, and on their status \item Documentation of the results of the mathematical analysis of the measurements, comparison with other evaluations \stopitemize \stopitemize But using 2010.08.06 22 of the minimals, I now get: ! Undefined control sequence. \checkforrepeatedlistitem -\ifnum \itemlevel =\plusone \initializeboxstack ... \dolistitem ...rutdepth \checkforrepeatedlistitem \ifdim \dimen 2\zeropoint... \complexdoitemgroupitem ...obreak \fi \dolistitem \relax \ifconditional \pac... to be read again H l.30 \item H istory The redefinition of \checkforrepeatedlistitem was necessary because “serried” ruined the indentation of the subitems. Is there a fix for this? Alan ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Numbered subitems
2007/10/23, WN [EMAIL PROTECTED]: 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 ___
Re: [NTG-context] Numbered subitems
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 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: 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 ___ ___ 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 ___
[NTG-context] Numbered subitems
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 ___ 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 ___
Re: [NTG-context] numbered subitems
Hi, Aditya— 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 “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 ___
Re: [NTG-context] numbered subitems
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 ___
Re: [NTG-context] numbered subitems
Hi, Aditya— Many thanks. That works and looks quite good. I experimented and find that \startitemize[repeat,broad]\getbuffer\stopitemize looks best. The only downside is that there is still largish a gap 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 “serried” destroys the indentation of the 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— \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,4*borad]\getbuffer\stopitemize ^^^ (add this) and everything works, except that I cannot seems get the subitems indented. 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 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 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 ___
Re: [NTG-context] numbered subitems
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 ___
[NTG-context] numbered subitems
I need to produce an lengthy itemization of the form: 1. 1.1 1.2 2. 2.1 I can get: 1. 1 2 2. 1 easily enough, but how can I get the main division number to repeat in the subitem numeration? Alan ___ 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 ___
Re: [NTG-context] numbered subitems
2007/9/30, Alan Bowen [EMAIL PROTECTED]: I need to produce an lengthy itemization of the form: 1. 1.1 1.2 2. 2.1 I can get: 1. 1 2 2. 1 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 \startitemize[secondlevelnumber] \item \item \stopitemize \item \startitemize[secondlevelnumber] \item \item \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 ___
Re: [NTG-context] numbered subitems
On Sun, 30 Sep 2007, Alan Bowen wrote: I need to produce an lengthy itemization of the form: 1. 1.1 1.2 2. 2.1 I can get: 1. 1 2 2. 1 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 ___
Re: [NTG-context] numbered subitems
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 • the subitem numeration ends with a full stop which I am unable to remove using stopper=0. (Inserting it in the second level \setupitemize ruins the numeration • 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 [EMAIL PROTECTED]: I need to produce an lengthy itemization of the form: 1. 1.1 1.2 2. 2.1 I can get: 1. 1 2 2. 1 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 \startitemize[secondlevelnumber] \item \item \stopitemize \item \startitemize[secondlevelnumber] \item \item \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 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 ___
Re: [NTG-context] numbered subitems
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. 1.1 1.2 2. 2.1 I can get: 1. 1 2 2. 1 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 __ _ ___ 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 ___
Re: [NTG-context] numbered subitems
On Sun, 30 Sep 2007, Alan Bowen wrote: 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,4*borad]\getbuffer\stopitemize ^^^ (add this) and everything works, except that I cannot seems get the subitems indented. 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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___