ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Cyrillic replacement for TeX Gyre Schola?
Date: Fri, 23 Aug 2013 18:33:54 +0200	[thread overview]
Message-ID: <20130823163354.GJ18239@homerow> (raw)
In-Reply-To: <0EE06B61-EB3A-4646-AB28-1FB60BAB4A60@fiee.net>


[-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --]

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.

\definefontfallback [cyr]            [name:dejavuserif] [cyrillic]
\definefontsynonym  [Serif-Fallback] [Serif]            [fallbacks=cyr]
\definefont         [mySchola]       [Serif-Fallback]
\setupbodyfont      [schola]

\starttext
\mySchola
\input knuth

Традиционная систематика лишайников оказывается во многом условна и
отражает, скорее, особенности их строения и экологии, чем
родственные отношения внутри группы, тем более что основывается она
только на микобионте, а фотобионт сохраняет свою таксономическую
самостоятельность.
\stoptext

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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
___________________________________________________________________________________

  reply	other threads:[~2013-08-23 16:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20  5:16 Henning Hraban Ramm
2013-08-23 12:00 ` Marco Patzer
2013-08-23 14:54   ` Henning Hraban Ramm
2013-08-23 16:33     ` Marco Patzer [this message]
2013-08-23 16:44       ` Marco Patzer
2013-08-24  5:12         ` Wolfgang Schuster
2013-08-24 11:38           ` Marco Patzer
2013-08-24 14:00             ` Wolfgang Schuster
2013-08-24 14:18               ` Marco Patzer
2013-08-24 14:24                 ` Wolfgang Schuster
2013-08-24  5:10     ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130823163354.GJ18239@homerow \
    --to=lists@homerow.info \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).