Re: [NTG-context] About font combination in ConTeXt MKIV

2020-09-09 Thread Pablo Rodriguez
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
___


Re: [NTG-context] About font combination in ConTeXt MKIV

2020-09-09 Thread Charles Vejnar

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
___


[NTG-context] About font combination in ConTeXt MKIV

2020-09-09 Thread MANUEL GONZALEZ SUAREZ
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
___