From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How do I add cyrillic to my typescript/document?
Date: Sun, 3 May 2020 14:56:45 +0200 [thread overview]
Message-ID: <7B138924-D7B4-4244-ABDA-5F8F78D699FD@rna.nl> (raw)
In-Reply-To: <A8C6ADE7-E46B-481D-8E8E-F0F1E08F0DAE@rna.nl>
[-- Attachment #1.1: Type: text/plain, Size: 2234 bytes --]
ConTeXtgarden had theanswer when I searched again:
\setupbodyfont[dejavu]
\mainlanguage[russian]
G
> On 3 May 2020, at 13:34, Gerben Wierda <gerben.wierda@rna.nl> wrote:
>
> I am looking for a way to amend a typescript for the additional use of cyrillic characters.
>
> I currently use:
>
> \starttypescript [sans] [optima]
> \setups[font:fallback:sans]
> \definefontsynonym [Sans] [file:Optima.ttc(Optima Regular)] [features=default]
> \definefontsynonym [SansBold] [file:Optima.ttc(Optima Bold)] [features=default]
> \definefontsynonym [SansItalic] [file:Optima.ttc(Optima Italic)] [features=default]
> \definefontsynonym [SansBoldItalic] [file:Optima.ttc(Optima Bold Italic)] [features=default]
> \stoptypescript
>
> \definetypeface [optima] [ss] [sans] [optima] [default]
> \definetypeface [optima] [rm] [serif] [optima] [default]
> \definetypeface [optima] [tt] [mono] [modern] [default]
> \definetypeface [optima] [mm] [math] [pagella] [default]
>
> \setupbodyfont [optima]
>
> But Optima doesn’t have cyrillic characters. So, either I have te use another typescript. I tried creating a Helvetica (as Helvetica.ttc on macOS seems to have cyrillic characters) but did not succeed.
>
>
> I also tried
>
> \language[ru]
>
> without any \setupbodyfont hoping it would also fix the font issue but keep getting
>
> fonts > checking > char –® (U+00428) in font 'LMRoman10-Regular' with id 8: missing
>
> I read the languages-mkiv document but it did not say what I had to do about fonts.
>
> What do I have to do to get both English and Russian in my document in terms of fonts?
>
> G
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4942 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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-05-03 12:56 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 [this message]
2020-05-03 13:55 ` Pablo Rodriguez
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=7B138924-D7B4-4244-ABDA-5F8F78D699FD@rna.nl \
--to=gerben.wierda@rna.nl \
--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).