From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: How do I add cyrillic to my typescript/document?
Date: Sun, 3 May 2020 15:55:56 +0200 [thread overview]
Message-ID: <1f1f73d4-9ce9-fd20-04b6-7814d9112c97@gmx.es> (raw)
In-Reply-To: <7B138924-D7B4-4244-ABDA-5F8F78D699FD@rna.nl>
On 5/3/20 2:56 PM, Gerben Wierda wrote:
> ConTeXtgarden had theanswer when I searched again:
>
> \setupbodyfont[dejavu]
> \mainlanguage[russian]
Hi Gerben,
I’m afraid they may be different issues: setting a language and getting
the glyphs required for that language.
See the following sample:
\setupbodyfont[dejavu]
\mainlanguage[russian]
\starttext
\hyphenatedword{%
Николаевич
typography
\en typography}
\stoptext
Since you set the main language to Russian in the document, you would
have to mark all English texts properly. I doubt this may be what you
intend.
The way to get a fallback font would be (depending on which approach you
use) \definefontfallback or \definefallbackfamily.
A sample of the second option would read:
\definefallbackfamily
[mainface]
[ss]
[FreeSans]
[preset=range:cyrillic,
force=yes]
In any case,
http://www.pragma-ade.com/general/qrcs/setup-en.pdf#search=%22definefontfallback%22
explains the syntax of the first option (sorry, but I only use the
\definefontfamily approach).
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-05-03 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 11:34 Gerben Wierda
2020-05-03 12:56 ` Gerben Wierda
2020-05-03 13:55 ` Pablo Rodriguez [this message]
2020-05-03 22:36 ` Gerben Wierda
2020-05-04 2:37 ` Vladimir Lomov
2020-05-04 6:14 ` Henning Hraban Ramm
2020-05-04 10:13 ` Pablo Rodriguez
2020-05-04 16:38 ` Gerben Wierda
2020-05-04 22:49 ` Pablo Rodriguez
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=1f1f73d4-9ce9-fd20-04b6-7814d9112c97@gmx.es \
--to=oinos@gmx.es \
--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).