From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114009 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: context manuals -- absence of \definefontfamily Date: Tue, 4 Jan 2022 21:53:48 +0900 Message-ID: <06AE22E3-2C00-4078-96E5-7C7293199A58@me.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="===============6087952062229521998==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2101"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeong Dal To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 04 13:54:26 2022 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 1n4jKb-0000Mz-LA for gctc-ntg-context-518@m.gmane-mx.org; Tue, 04 Jan 2022 13:54:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C34D289070; Tue, 4 Jan 2022 13:54:04 +0100 (CET) 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 noQaH91Wg17g; Tue, 4 Jan 2022 13:54:02 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 25540282032; Tue, 4 Jan 2022 13:54:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 02A7B282032 for ; Tue, 4 Jan 2022 13:54:00 +0100 (CET) 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 u_m-gyhyWXRS for ; Tue, 4 Jan 2022 13:53:59 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.55; helo=pv50p00im-ztdg10021901.me.com; envelope-from=haksan@me.com; receiver= Original-Received: from pv50p00im-ztdg10021901.me.com (pv50p00im-ztdg10021901.me.com [17.58.6.55]) (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 DCC75280BD0 for ; Tue, 4 Jan 2022 13:53:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1641300837; bh=yKGUqVKmAhsz8r+CubniiAIkt1zgLxDJF1GiNwOAs8Y=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=bJ+znWIc07lSGbsjEVNCaSG2mL1NPf6C2fJUfgcXeodOpOGiVT1WZ4ZfSo2eViePv cgLNXaXHL7mG5WnKIN1BuPNKKj/jWpKnTb756h5VV73eXtB4ScdvwSNKGAzcw5HKlC baBJ20mVtcUBtFVJmiaQnXaA0AQ8U3DjsWcRCHOmTXZFEWALrFxmVAqyt7qXNXsS9Z 1vTDvuisRbkQBWcHtetntRJlZP/jyuV28kNeobNfioblZqbZdeKXYiJNGTEAwBjaew vE5T2oRoOiwYL2GbjlrqOdlD0wjYU+VvSKFp6KdhMza+SlgeJCafdUYHEPpraUNo1y qpnhIA57eIiaA== Original-Received: from smtpclient.apple (unknown [211.109.237.32]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id 632BA81A94 for ; Tue, 4 Jan 2022 12:53:56 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.790 definitions=2022-01-04_05:2022-01-04, 2022-01-04 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2201040088 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:114009 Archived-At: --===============6087952062229521998== Content-Type: multipart/alternative; boundary="Apple-Mail=_BA6FADF7-1C37-4C7E-A309-5CF5B7843498" --Apple-Mail=_BA6FADF7-1C37-4C7E-A309-5CF5B7843498 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Aditya and Youssef Cherem, To: Aditya, >=20 > There is the talk that Wolfgang gave in this year's context meeting: >=20 > = https://meeting.contextgarden.net/2021/talks/2021-09-23/definefontfamily.p= df >=20 Thank you for letting me know the talk which gives me more understanding = about \definefontfamily. To: Youssef Cherem, Recently, Wolfgang helped me to define a font family as following, and I = hope that it gives you some idea to use \definefontfamily. \definefallbackfamily [nanum] [rm] [Tex Gyre Pagella] [range=3D{basiclatin,latinsupplement,latinextendeda,latinextendedb},=20= force=3Dyes] \definefallbackfamily [nanum] [rm] [Noto Serif CJK KR] [range=3D{cjkunifiedideographs},force=3Dyes] \definefontfamily [nanum] [rm] [Nanum Myeongjo OTF] [ it=3D{style:regular,features:{*,slanted}}, bi=3D{style:bold,features:{*,slanted}},force=3Dyes] Explanation: 1. I use Korean font whose family name is =E2=80=9CNanum Myeongjo OTF=E2=80= =9D as main font. Since it doesn=E2=80=99t have italic style and bold = italic style, I add [it=3D=E2=80=A6 , bi=3D=E2=80=A6] to simulate the = styles. 2. Since I want to use English character in "TeX Gyre Pagella=E2=80=9D. = I add it in the first \definefallbackfamily with an option = [range=3D{=E2=80=A6},force=3Dyes] which restrict the use of font to = Latin characters. 3. We use chinese characters also in the Korean sentences. But "Nanum = Myeongjo OTF=E2=80=9D doesn=E2=80=99t have Chinese characters. So I add = another font =E2=80=9CNoto Serif CJK KR=E2=80=9D which contains Chinese = character with the option [range=3D{cjkunified=E2=80=A6},force=3Dyes] in = the second \definefallbackfamily. There are two font families more, sans and mono which is similar as rm. It is really nice to use \definefontfamily which saves a lot of work to = define fonts.=20 Thanks Wolfgang. If there are something should changed in the above definition, please = tell me what to do. Best regards, Dalyoung --Apple-Mail=_BA6FADF7-1C37-4C7E-A309-5CF5B7843498 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = Aditya and Youssef = Cherem,

To: = Aditya,

There is = the talk that Wolfgang gave in this year's context meeting:

https://meeting.contextgarden.net/2021/talks/2021-09-23/definef= ontfamily.pdf

Thank you for letting me know the = talk which gives me more understanding about = \definefontfamily.

To: Youssef Cherem,

Recently, Wolfgang helped me = to define a font family as following, and I hope that it gives you some = idea to use \definefontfamily.

\definefallbackfamily [nanum] [rm] [Tex Gyre Pagella]
[range=3D{basiclatin,latinsupplement,latinextendeda,latinextended= b},
= force=3Dyes]
\definefallbackfamily [nanum] [rm] [Noto Serif CJK KR]
[range=3D{cjkunifiedideographs},force=3Dyes]
\definefontfamily [nanum] [rm] [Nanum Myeongjo OTF]
[ it=3D{style:regular,features:{*,slanted}},
bi=3D{style:bold,features:{*,slanted}},force=3Dyes]

Explanation:
1. I use Korean font whose = family name is =E2=80=9CNanum Myeongjo OTF=E2=80=9D as main font. Since = it doesn=E2=80=99t have italic style and bold italic style, I add = [it=3D=E2=80=A6 , bi=3D=E2=80=A6] to simulate the styles.

2. Since I want to use English character in "TeX = Gyre Pagella=E2=80=9D. I add it in the first \definefallbackfamily with = an option [range=3D{=E2=80=A6},force=3Dyes] which restrict the use of = font to Latin characters.

3. We use = chinese characters also in the Korean sentences. But "Nanum Myeongjo = OTF=E2=80=9D doesn=E2=80=99t have Chinese characters. So I add another = font =E2=80=9CNoto Serif CJK KR=E2=80=9D which contains Chinese = character with the option [range=3D{cjkunified=E2=80=A6},force=3Dyes] in = the second \definefallbackfamily.

There are two font families more,  sans and = mono which is similar as rm.
It is really nice to use = \definefontfamily which saves a lot of work to define = fonts. 

Thanks = Wolfgang.
If there are something should changed in the above = definition, please tell me what to do.

Best regards,

Dalyoung


= --Apple-Mail=_BA6FADF7-1C37-4C7E-A309-5CF5B7843498-- --===============6087952062229521998== 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== --===============6087952062229521998==--