On Fri, 12 Sep 2008, Jelle Huisman wrote:
Hi all,
I try to understand why this doesn't work as I expected?
\definestartstop [bulletlist] [before={\startitemize[packed]}, after={\stopitemize}] \definestartstop [bulletlistitem] [before={\item}, after={ }]
(Untested) Why not \defineitemgroup[bulletlist] \setupitemgroup[bulletlist][packed] \definestartstop[bulletlistitem][before=\startitem,after=\stopitem] Aditya
\starttext \startbulletlist{ \startbulletlistitem{One}\stopbulletlistitem \startbulletlistitem{Two}\stopbulletlistitem \startbulletlistitem{three}\stopbulletlistitem }\stopbulletlist \stoptext
I expect:
* One * Two * Three
but I get:
! Extra }, or forgotten \endgroup. l.17 } \stopbulletlist ? ! Emergency stop. l.17 } \stopbulletlist ! ==> Fatal error occurred, no output PDF file produced!
Thanks,
Jelle ___________________________________________________________________________________ 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 ___________________________________________________________________________________