With the font key you can apply certain font features for a different
language
but you can’t use it to switch to a different font.
To switch to a different font for your greek texts use this method:
\startsetups [greekfont]
\switchtobodyfont [grcface]
\stopsetups
\setuplanguage[agr][setups=greekfont]
Wolfgang
Pablo Rodriguez schrieb am 17.09.18 um 21:30:
Dear list,
I have the following sample:
\mainlanguage[es]
\setuplanguage[agr][font=\grcface]
\definefontfamily[grcface][rm][DejaVu Sans]
\definefontfamily[mainface][rm][DejaVu Serif]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a {\agr β}
\stopTEXpage
\stoptext
I cannot get the Greek fragment using another font.
Is this a bug or am I missing something?
Many thanks for your help,
Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________