On 02/07/2017 07:52 PM, Rik Kabel wrote:
> ConTeXters,
>
> How can I override one or two faces in a typescript?
Hi Rik,
this might be what you were looking for:
\definefontfamily
[mainface]
[rm]
[TeX Gyre Pagella]
[it={TeX Gyre Cursor-Italic},
bf={TeX Gyre Adventor-Bold},
bi={TeX Gyre Termes-BoldItalic}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
Roman font {\em italic}
\bf Bold font \em bold italic
\stopTEXpage
\stoptext
It isn’t a typescript, but it may work too.
Please, always include a mininal working sample.
Let us know if you had something different in mind.
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________