In the simplified example,
\setupitemgroup[itemize][broad]
\setupitemize[itemalign=flushright]
\startitemize[n,repeat]
\item level a
\item level a
\startitemize[n,repeat]
\item level b
\item level b
\startitemize[A][prefix=no]
\item level c
\item level c
\stopitemize
\stopitemize
\stopitemize
“prefix=no” does not work.
I am also puzzled that “repeat” must be entered at the higher levels if it
effectively means “repeat higher-level number at lower levels, to produce
e.g. 1.a.4” (quoting the wiki).
Alan
On Thu, Apr 18, 2013 at 2:43 PM, Alan Bowen
Hi, Wolfgang—
Thanks for this—I will be more careful in keeping the two apart. In this instance, however, when I make the change, the problem persists.
I am using ConTeXt ver: 2013.04.17 18:36 MKIV beta fmt: 2013.4.17 int: english/english
Alan
On Thu, Apr 18, 2013 at 2:07 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Am 18.04.2013 um 19:57 schrieb Alan Bowen
: I need a list structure that can be numbered in different ways as the occasion warrants.
In this case, I need: 1. text 2. text 2.1. text 2.2. text Text Text A. text B. text
The problem seem to be in turning off the cumulation of numbers in the last entries (fourth level).
\defineitemgroup[MyList] \setupitemgroup[MyList][1][broad,joinedup,packed,autointro]
[itemalign=flushright,left={},right={},stopper={.},margin=3pc]
\setupitemgroup[MyList][2][broad,joinedup,packed,autointro] [itemalign=flushright,left={},right={},stopper={.}]
\setupitemgroup[MyList][3][broad,joinedup,packed,autointro] [itemalign=flushright,left={},right={},stopper={.}]
\setupitemgroup[MyList][4][broad,joinedup,packed,autointro] [itemalign=flushright,left={},right={},stopper={.}]
\starttext
\startMyList[n,repeat] \item First level text \item First level text \startMyList[n,repeat] \item Second level text \item Second level text \startMyList[symbol={}] \item Third level text \item Third level text \startMyList[A] %<===== % \startMyList[A,prefix=no] %<===== \item Fourth level text \item Fourth level text \stopitemize \stopitemize \stopitemize \stopitemize
\stoptext
With \startMyList[A], I get 2.2.2.A. Fourth level text 2.2.2.B. Fourth level text With \startMyList[A,prefix=no], I get
You can’t put keywords and assignments in the same argument. You need two arguments where one holds the keywords and the other the assignments:
\startMyList[A][prefix=no]
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________