Actually, maybe my version is a bit old: context --version
returns 2011.05.18 18:04.  I'll try to update it.  (I'm using Ubuntu 12.04,
but when I tried to update using apt-get the system told me that I had the
latest version).  In the meantime I'll try your alternative.

Thanks!


On Fri, Mar 1, 2013 at 12:40 AM, Marco Patzer <[email protected]> wrote:

> On 2013–03–01 Alasdair McAndrew wrote:
>
> > Do I have to include a special module here?
>
> No. I tested some versions between 2011.11.29 23:11 and 2013.02.26
> 00:17 and it worked for me. Which version are you using?
> \definehighlight is nothing which was recent added.
>
> \setupbodyfontenvironment
>   [default]
>   [em=slantedred]
>
> \definehighlight
>   [slantedred]
>   [style=slanted,
>    color=red]
>
> \starttext
>   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 : [email protected] /
> 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
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to