ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Malte Stien <malte@stien.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem Nesting defineitemgroups
Date: Sat, 24 Mar 2012 15:39:31 +1100	[thread overview]
Message-ID: <9D0CAF31-E691-48A5-805E-517597C1F238@stien.de> (raw)
In-Reply-To: <3F20D626-BEE1-45B2-B330-21526A20C929@stien.de>

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

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


  reply	other threads:[~2012-03-24  4:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24  4:25 Malte Stien
2012-03-24  4:39 ` Malte Stien [this message]
2012-03-24 11:52 ` Wolfgang Schuster
     [not found] <mailman.221.1332608059.3819.ntg-context@ntg.nl>
2012-03-25 11:25 ` Malte Stien
2012-03-25 13:14   ` Rogers, Michael K

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=9D0CAF31-E691-48A5-805E-517597C1F238@stien.de \
    --to=malte@stien.de \
    --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).