ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* SIMPLEFONTS MODULE
@ 2013-04-29  9:40 MANUEL GONZALEZ SUAREZ
  2013-04-29 17:32 ` Pablo Rodríguez
  0 siblings, 1 reply; 3+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-04-29  9:40 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/html, Size: 1273 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SIMPLEFONTS MODULE
  2013-04-29  9:40 SIMPLEFONTS MODULE MANUEL GONZALEZ SUAREZ
@ 2013-04-29 17:32 ` Pablo Rodríguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2013-04-29 17:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SIMPLEFONTS MODULE
@ 2013-04-30  6:42 MANUEL GONZALEZ SUAREZ
  0 siblings, 0 replies; 3+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-04-30  6:42 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/html, Size: 472 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-30  6:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-29  9:40 SIMPLEFONTS MODULE MANUEL GONZALEZ SUAREZ
2013-04-29 17:32 ` Pablo Rodríguez
2013-04-30  6:42 MANUEL GONZALEZ SUAREZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).