Steffen Wolfrum wrote:
> Am 24.09.2008 um 10:39 schrieb Taco Hoekwater:
>
>>
>> Steffen Wolfrum wrote:
>>> \def\Textit%
>>> {\groupedcommand\em\/}
>> Try this:
>>
>> \define\Colorit%
>> {\groupedcommand{\color[blue]\em}\/}
>
>
> tried it ... but still no hyphenation!
You are running pdftex, 'cause it worked fine in mkiv :-)
\def\Colorit%
{\groupedcommand{\color[red]\em\penalty10000\hskip0pt }\/}
The penalty and skip are needed because the \color generates
a node that prevents the next word from hyphenating.
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________