On Fri, 12 Sep 2008, Jelle Huisman wrote:

> Thank you Patrick and Aditya,
>
> I think I'll use \defineitemgroup etc., but I'm still curios what the
> difference is between these two:
>
> \startbulletlist   \startbulletlistitem{One}\stopbulletlistitem
> \stopbulletlist % this works
> \startbulletlist{ \startbulletlistitem{One}\stopbulletlistitem
> }\stopbulletlist % this breaks

I do not know why the extra grouping messes up itemize

> (I would prefer to use the second version with { }...)

Sure you can

\def\startbulletlist#1%
     {\startitemize[packed]
       #1
      \stopitemize}

\def\stopbulletlist{\donoting}

\definestartstop
     [bulletlistitem]
     [before={\item},
     after={ }]

\starttext
\startbulletlist{
\startbulletlistitem{One}\stopbulletlistitem
\startbulletlistitem{Two}\stopbulletlistitem
\startbulletlistitem{three}\stopbulletlistitem
}
\stoptext


Don't take this seriously :-)

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
___________________________________________________________________________________

Reply via email to