On 2013–08–23 Marco Patzer wrote:

> On 2013–08–23 Henning Hraban Ramm wrote:
> 
> > > This should get you started:
> > > 
> > > \usemodule           [simplefonts]
> > > \setmainfont         [schola]
> > > \setmainfontfallback [dejavuserif] [range=cyrillic]
> > 
> > 
> > Thank you, that is what I was looking for.
> > How would I write the last line without the simplefonts module?
> 
> You define the fallback using \definefontfallback and then use the
> fallback key when defining the font.

Maybe it's better to show a complete typescript:

\definefontfallback [cyrillic_regular]    [name:dejavuserif]           
[cyrillic]
\definefontfallback [cyrillic_bold]       [name:dejavuserifbold]       
[cyrillic]
\definefontfallback [cyrillic_italic]     [name:dejavuserifitalic]     
[cyrillic]
\definefontfallback [cyrillic_bolditalic] [name:dejavuserifbolditalic] 
[cyrillic]

\starttypescript [serif] [schola]
  \setups [font:fallback:serif]
  \definefontsynonym [Serif]           [name:texgyreschola-regular]    
[fallbacks=cyrillic_regular]
  \definefontsynonym [SerifBold]       [name:texgyreschola-bold]       
[fallbacks=cyrillic_bold]
  \definefontsynonym [SerifItalic]     [name:texgyreschola-italic]     
[fallbacks=cyrillic_italic]
  \definefontsynonym [SerifBoldItalic] [name:texgyreschola-bolditalic] 
[fallbacks=cyrillic_bolditalic]
\stoptypescript

\starttypescript [schola]
  \definetypeface [\typescriptone] [rm] [serif] [schola]       [default]
  \definetypeface [\typescriptone] [ss] [sans]  [latin-modern] [default]
  \definetypeface [\typescriptone] [tt] [mono]  [latin-modern] [default]
  \definetypeface [\typescriptone] [mm] [math]  [latin-modern] [default]
\stoptypescript

Marco

Attachment: signature.asc
Description: Digital signature

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

Reply via email to