Am 29.04.2012 um 08:48 schrieb Vladimir Lomov:
Hello,
I borrow this example from wiki: <example file="ex2.tex"> %\setupbodyfont[computer-modern-unicode,12pt]
\definedescription [Desc] [location=top,hang=20, headstyle={\bf\color[blue]}, command=\hskip-1cm,margin=1cm]
\starttext \startDesc{Tufte} \input tufte \stopDesc \stoptext </example>
The problem is \color which expects a argument for the text to be colored (e.g. \color[blue]{…}) which is never the case when you put it in a style key but you can use the color key to set the value. \definedescription [description] [alternative=top, headstyle=bold, headcolor=blue, headcommand={\offset[x=-1cm]}, margin=1cm] \starttext \input tufte \startdescription{Tufte} \input tufte \stopdescription \stoptext Wolfgang