Dear list members,

I need a second font in my text for the purpose of mark-up.  This font is 
defined with \definesimplefonttypeface.  If I switch to a font variant 
like bold and afterwards to the second font, the second font doesn't 
inherit this style.  It only works the other way around (switching to the 
second font first, then to another style).  In the following example, the 
whole section title should be typeset in bold, but the part using the 
second font is typeset in the regular style.  How can I make it inherit 
the bold style?

Thank you,
Joshua Krämer

\usemodule[simplefonts]
\setmainfont[dejavuserif]
\definesimplefonttypeface[Secondfont][dejavusans]
\setuphead[section][style={\tf\bf}]

\starttext
\section{One {\Secondfont Two} Three}
\input zapf
\stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to