SIMPLEFONTS MODULE
On 29/04/13 11:40, MANUEL GONZALEZ SUAREZ wrote:
Hello everyone. I have a doubt about the simplefonts module. I need to compose a text in Spanish and Greek. I would use a font for the text in Spanish (LinuxLibertine O) and another for the Greek text(Bosporos). How should you configure the simplefontsmodule? Thank you.
Hi Manuel, \mainlanguage[es] \setuplanguage[es][patterns={es,agr}] \usemodule[simplefonts] \setmainfontfallback[Bosporos][range={greekandcoptic, greekextended}, force=yes] \setmainfont{LinuxLibertine O] \starttext \showhyphens{ἐλευθερία estimación} \stoptext If you load hyphenation patterns for ancient Greek and Spanish, you will get correct hyphenation for both languages. (Hyphenation is right, because this languages don't share any character.) I hope it helps, Pablo -- http://www.ousia.tk
participants (2)
-
MANUEL GONZALEZ SUAREZ
-
Pablo Rodríguez