[NTG-context] \start \stop problem with itemize

Jelle Huisman jelle at jhnet.nl
Fri Sep 12 17:42:41 CEST 2008


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={ }]

\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


More information about the ntg-context mailing list