* About font combination in ConTeXt MKIV
@ 2020-09-09 15:31 MANUEL GONZALEZ SUAREZ
2020-09-09 16:24 ` Charles Vejnar
0 siblings, 1 reply; 3+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2020-09-09 15:31 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 536 bytes --]
Dear friends:
Until now (TeXLive 2018), to write Spanish and ancient Greek in the same document, I used the "simplefonts" module, which is said in the wiki (ConTeXt Garden) that it is obsolete. What is the method to do this with TeXLive 2020? I try to combine one font for Spanish text (eg libertine) and another for ancient Greek (eg New Athena Unicode), but I don't know how to do it without the "simplefonts" module, and if I try to compile the document with the "simplefonts module", I have an error
Thank you.
Manuel González.
[-- Attachment #1.2: Type: text/html, Size: 1032 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About font combination in ConTeXt MKIV
2020-09-09 15:31 About font combination in ConTeXt MKIV MANUEL GONZALEZ SUAREZ
@ 2020-09-09 16:24 ` Charles Vejnar
2020-09-09 19:09 ` Pablo Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: Charles Vejnar @ 2020-09-09 16:24 UTC (permalink / raw)
To: mailing list for ConTeXt users, MANUEL GONZALEZ SUAREZ
Dear Manuel,
To combine multiple fonts, I do something like this:
\definefallbackfamily [mainface] [serif] [DejaVu
Serif][range=boxdrawing,force=yes]
\definefontfamily [mainface] [serif] [Tinos]
\setupbodyfont[mainface, 11pt]
You might be able to use a Unicode block (ie range) for ancient Greek
characters (my range being boxdrawing).
Hope this helps.
Charles
On 9/9/20 11:31 AM, MANUEL GONZALEZ SUAREZ wrote:
> Dear friends:
> Until now (TeXLive 2018), to write Spanish and ancient Greek in the same
> document, I used the "simplefonts" module, which is said in the wiki
> (ConTeXt Garden) that it is obsolete. What is the method to do this with
> TeXLive 2020? I try to combine one font for Spanish text (eg libertine)
> and another for ancient Greek (eg New Athena Unicode), but I don't know
> how to do it without the "simplefonts" module, and if I try to compile
> the document with the "simplefonts module", I have an error
> Thank you.
> Manuel González.
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About font combination in ConTeXt MKIV
2020-09-09 16:24 ` Charles Vejnar
@ 2020-09-09 19:09 ` Pablo Rodriguez
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2020-09-09 19:09 UTC (permalink / raw)
To: ntg-context
On 9/9/20 6:24 PM, Charles Vejnar wrote:
> Dear Manuel,
>
> To combine multiple fonts, I do something like this:
>
> \definefallbackfamily [mainface] [serif] [DejaVu
> Serif][range=boxdrawing,force=yes]
> \definefontfamily [mainface] [serif] [Tinos]
> \setupbodyfont[mainface, 11pt]
>
> You might be able to use a Unicode block (ie range) for ancient Greek
> characters (my range being boxdrawing).
Hi Manuel and Charles,
\definefallbackfamily[mainface][rm][New Athena Unicode]
[preset=range:greek, force=yes]
\definefontfamily[mainface][rm][Libertinus]
\setupbodyfont[mainface]
\starttext
ab τῇ
\stoptext
Some scripts have predefined ranges thanks to Wolfgang, which avoid
specifing all blocks for a given script.
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 : 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-09 19:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 15:31 About font combination in ConTeXt MKIV MANUEL GONZALEZ SUAREZ
2020-09-09 16:24 ` Charles Vejnar
2020-09-09 19:09 ` Pablo Rodriguez
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).