On 2013–03–01 Alasdair McAndrew wrote:No. I tested some versions between 2011.11.29 23:11 and 2013.02.26
> Do I have to include a special module here?
00:17 and it worked for me. Which version are you using?
\definehighlight is nothing which was recent added.
\starttext
\setupbodyfontenvironment
[default]
[em=slantedred]
\definehighlight
[slantedred]
[style=slanted,
color=red]
foo {\em bar}
\stoptext
You cannot update, you can try this instead of \definehighlight:
\definealternativestyle
[slantedred]
[{\slanted\color[red]}]
Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________