10 Jan
2012
10 Jan
'12
9:31 p.m.
Am 10.01.2012 um 12:03 schrieb Michael Guravage:
Greetings,
It appears that specifying a FontHook in setuplettrine that inclues a color simply breaks. This feature worked with ConTeXt from 2011.07.26, but breaks in ConTeXt from 2012.01.09. Any suggestions how to resolve this would be mightily appreciated.
Hans changed the definition of the \color command a while ago and it expects now a argument, i.e. it was in the past possible to write “black text {\color[red]red text} and black text again” but now you have to write this as “black text \color[red]{red text} and black text again”. What’s possible is to use the “\red” command as argument for the FontHook key because with this the colored text don’t have to be a argument. Wolfgang