[NTG-context] Problem Nesting defineitemgroups

Malte Stien malte at stien.de
Sat Mar 24 05:39:31 CET 2012


Hi again,

I just noticed that the last line of my code was

  \startnlist

when it should have been

  \stopnlist

It was correct in my code, but too much fiddling and trying things made it wrong when I copied it across to the email. Even with the correct line in there, my problem still exists.

Regards,
Malte.


On 24/03/2012, at 15:25, Malte Stien wrote:

> I have the following two definitions for bullet point lists...
> 
>  % Setup bullet point lists
>  \defineitemgroup[blist][before={\blank[1ex]}]
>  \setupitemgroup[blist][1][packed][symbol=1]
>  \setupitemgroup[blist][2][packed][symbol=2]
> 
> ... and numbered lists
> 
>  % Setup numbered lists
>  \defineitemgroup[nlist][before={\blank[1ex]}]
>  \setupitemgroup[nlist][1][packed][symbol=n, headstyle=bold]
>  \setupitemgroup[nlist][2][packed][symbol=a, headstyle=bold]
> 
> They generally seem to work well, but when I try to nest one within the other, like so
> 
>  \startnlist
>  \item Foo
>  \startblist
>  \item Some bullet item 1,
>  \item Some bullet item 2,
>  \item Some bullet item 3.
>  \item Assign an appropriate criticality.
>  \stopblist
>  \item Baz
>  \startnlist
> 
> ...I get unexpected behaviour as follows:
> 
>  1. Foo
>     a. Some bullet item 1,
>     b. Some bullet item 2,
>     c. Some bullet item 3.
>  2. Baz
> 
> I was expecting this instead
> 
>  1. Foo
>     + Some bullet item 1,
>     + Some bullet item 2,
>     + Some bullet item 3.
>  2. Baz
> 
> ...(where "+" denotes the round bullet point). Is this a defect or am I doing something wrong?
> 
> Regards,
> Malte.
> 



More information about the ntg-context mailing list