ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How do I add cyrillic to my typescript/document?
@ 2020-05-03 11:34 Gerben Wierda
  2020-05-03 12:56 ` Gerben Wierda
  0 siblings, 1 reply; 9+ messages in thread
From: Gerben Wierda @ 2020-05-03 11:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

[-- Attachment #1.2: Type: text/html, Size: 3242 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-04 22:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03 11:34 How do I add cyrillic to my typescript/document? Gerben Wierda
2020-05-03 12:56 ` Gerben Wierda
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

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).