In my current project, section titles are typeset in SansBold while the body 
text (and that of the ToC) is roman.

How can I define \definehighlight[emph], so that I get SansBoldItalic in titles 
and SerifItalic in body text and ToC? (Body text is not a problem.)

MNWE:

\setuphead[chapter][page=yes,style={\ss\bfc}]
\setuphead[section][page=no,style={\ss\bfa}]
\definehighlight[emph][style=\it]

\starttext

\completecontent

\startchapter[title={My book \emph{\ConTeXt\ for Runaways}}]

\startsection[title={Knuth, \emph{the professor}}]
\input knuth
\stopsection

\stopchapter

\stoptext


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to