From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107189 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: How do I add cyrillic to my typescript/document? Date: Sun, 3 May 2020 14:56:45 +0200 Message-ID: <7B138924-D7B4-4244-ABDA-5F8F78D699FD@rna.nl> References: 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="===============3714552379868422500==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="118061"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 03 14:57:19 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 1jVEBL-000Uan-46 for gctc-ntg-context-518@m.gmane-mx.org; Sun, 03 May 2020 14:57:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1EC81183A1A; Sun, 3 May 2020 14:56:55 +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 r6AMy5f4jqQM; Sun, 3 May 2020 14:56:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BE0A0183A10; Sun, 3 May 2020 14:56:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E5BDB183A0D for ; Sun, 3 May 2020 14:56:51 +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 zXH3zzpdh7xw for ; Sun, 3 May 2020 14:56:47 +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 187D7190259 for ; Sun, 3 May 2020 14:56:46 +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 AA7223E0D7DF for ; Sun, 3 May 2020 14:56:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1588510605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yLMMESF6WwusdGyOF2X8OANbTRdaQAGaGOY40l7XXos=; b=dWqaO+J3yc775Z++RoK2GofgDvu5qJrtxzYqF0ycb6YywiQCsHjZWMCeA0WafMI2Ffuk4n pxj532OQFBM/DhsZERFTqoq6diQWAzTwxHMgXxYLDM9F6PN7jCjSy4IeXekubdAe4dTY8Y InlhhFbc4rH5pLC+n/H0CNY4v2vEJa1zSlbC7oiwdvGDsOiBw+hV/MOxwO4VkJsV1GCVyX SFcf9W6/HWQLzYYhh+/jhM1Xg36NUykv8xPtb0B0QwJJkS/fOv38XkoDYeTbhHVaZxJAsk 9ffuqeCanib9rYZUHhTFKqTJ3Qsra35vpfsUGJgokkVklCRZOJy4HKJ9YVf9wA== In-Reply-To: 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:107189 Archived-At: --===============3714552379868422500== Content-Type: multipart/alternative; boundary="Apple-Mail=_8AD8F2BC-1E62-4D7A-BA7A-E697C059D40D" --Apple-Mail=_8AD8F2BC-1E62-4D7A-BA7A-E697C059D40D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 ConTeXtgarden had theanswer when I searched again: \setupbodyfont[dejavu] \mainlanguage[russian] G > On 3 May 2020, at 13:34, Gerben Wierda wrote: >=20 > I am looking for a way to amend a typescript for the additional use of = cyrillic characters. >=20 > I currently use: >=20 > \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 >=20 > \definetypeface [optima] [ss] [sans] [optima] [default] > \definetypeface [optima] [rm] [serif] [optima] [default] > \definetypeface [optima] [tt] [mono] [modern] [default] > \definetypeface [optima] [mm] [math] [pagella] [default] >=20 > \setupbodyfont [optima] >=20 > 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. >=20 >=20 > I also tried >=20 > \language[ru] >=20 > without any \setupbodyfont hoping it would also fix the font issue but = keep getting >=20 > fonts > checking > char =E2=80=93=C2=AE (U+00428) in font = 'LMRoman10-Regular' with id 8: missing >=20 > I read the languages-mkiv document but it did not say what I had to do = about fonts. >=20 > What do I have to do to get both English and Russian in my document in = terms of fonts? >=20 > G > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_8AD8F2BC-1E62-4D7A-BA7A-E697C059D40D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=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
___________________________________________= ________________________________________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_8AD8F2BC-1E62-4D7A-BA7A-E697C059D40D-- --===============3714552379868422500== 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== --===============3714552379868422500==--