Re: [NTG-context] font in \setuplanguage
On 9/18/18 5:50 AM, Wolfgang Schuster wrote: > 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: Many thanks for your reply, Wolfgang. I wonder whether it would make sense to enable a style option in \setuplanguage. Having to use setups is maybe too difficult for newcomers and style is a common option in other commands. I agree that font is handy when using different languages using the Latin script. But style would make sense when dealing with different scripts. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] font in \setuplanguage
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 ___
[NTG-context] font in \setuplanguage
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 -- http://www.ousia.tk ___ 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 ___