From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107187 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: How do I add cyrillic to my typescript/document? Date: Sun, 3 May 2020 13:34:51 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: multipart/mixed; boundary="===============8062669648311388422==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36309"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 03 13:35:17 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVCtw-0009KR-Ss for gctc-ntg-context-518@m.gmane-mx.org; Sun, 03 May 2020 13:35:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B9F81839FE; Sun, 3 May 2020 13:35:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JbpzW5HEQFKO; Sun, 3 May 2020 13:34:58 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6EBF81839FF; Sun, 3 May 2020 13:34:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4EC271839FE for ; Sun, 3 May 2020 13:34:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r7fecW9U7zFg for ; Sun, 3 May 2020 13:34:52 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B43AC182E9C for ; Sun, 3 May 2020 13:34:52 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id 1E3153E0CA00 for ; Sun, 3 May 2020 13:34:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1588505692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=U6R4wNfvFBxzW8NjC/q7iPfWzbPp/uAohhPIbAAckF0=; b=IDyW/LL7DMr9lX45lrri7zNS8TmT6buEDCpjfp4ABtGzAxV6A4mmPG6jqOHKAG6o3Haj4b ZXaJh/0nc4V2uMRc7/xGVAjQ5a0aEicexusxHmLyeICaVAy5GGjjJYGIOSGVNgYJf7RtQa FojkQRUR2lO5pAfpUwdSH+vX/pqhs4lU5qOsZzsDrm9DDO24AuYnFwklxyMYxludM6XvLo 30Ir1X9bjHbwKKlVvfB/U2V/44SPQ2jmOW84pKoKc6UewTFcFpEUuMBfctVRdHAP2f5XfU mjvo3oGM+HKcroUYB/2Z0fKJUSPRW/miICDS2pZDLSPe/e5HumxY0awCI7tOaQ== X-Mailer: Apple Mail (2.3445.104.14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:107187 Archived-At: --===============8062669648311388422== Content-Type: multipart/alternative; boundary="Apple-Mail=_AACC2638-3763-4DF0-9BA3-D45EF2531B5C" --Apple-Mail=_AACC2638-3763-4DF0-9BA3-D45EF2531B5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=3Ddefault] \definefontsynonym [SansBold] [file:Optima.ttc(Optima Bold)] = [features=3Ddefault] \definefontsynonym [SansItalic] [file:Optima.ttc(Optima Italic)] = [features=3Ddefault] \definefontsynonym [SansBoldItalic] [file:Optima.ttc(Optima Bold = Italic)] [features=3Ddefault] \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=E2=80=99t 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 =E2=80=93=C2=AE (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= --Apple-Mail=_AACC2638-3763-4DF0-9BA3-D45EF2531B5C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=3Ddefault]
   \definefontsynonym [SansBold]     =   [file:Optima.ttc(Optima Bold)]       =  [features=3Ddefault]
   \definefontsynonym = [SansItalic]     [file:Optima.ttc(Optima Italic)]   =    [features=3Ddefault]
  =  \definefontsynonym [SansBoldItalic] [file:Optima.ttc(Optima Bold = Italic)] [features=3Ddefault]
\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=E2=80=99t 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 =E2=80=93=C2=AE= (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
= --Apple-Mail=_AACC2638-3763-4DF0-9BA3-D45EF2531B5C-- --===============8062669648311388422== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8062669648311388422==--