[NTG-context] A trouble with setupbodyfontenvironment

Marco Patzer homerow at lavabit.com
Thu Feb 28 14:40:46 CET 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130228/4c6148de/attachment.pgp>


More information about the ntg-context mailing list