\groupedcommand missing bracket
Hi, does someone know what's going wrong here? \definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}] \define\Colorit% {\groupedcommand{\color[blue]\em}\/} \starttext This works: test \Colorit{color} text. This dont't: \startLiterature test \Colorit{color} text. \stopLiterature Why? \stoptext This gives: ! Missing } inserted. <inserted text> } <to be read again> \endgroup \stopLiterature ->\dostopattributes \egroup \getvalue {\??be Literature\c!af... l.18 \stopLiterature ? Steffen
On Fri, 19 Feb 2010, Steffen Wolfrum wrote:
Hi,
does someone know what's going wrong here?
\definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}]
\define\Colorit% {\groupedcommand{\color[blue]\em}\/}
\starttext
This works:
test \Colorit{color} text.
This dont't:
\startLiterature test \Colorit{color} text. \stopLiterature
Why?
Not sure, but why not use the more canonical \definestartstop[Colorit] [color=blue, style=em] (I believe it also does italic correction). Aditya
participants (2)
-
Aditya Mahajan
-
Steffen Wolfrum