From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100291 Path: news.gmane.org!.POSTED!not-for-mail From: Jeong Dal Newsgroups: gmane.comp.tex.context Subject: Re: Typefile with Chinese, Korean or Japanase text Date: Tue, 20 Feb 2018 06:15:54 +0900 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: multipart/mixed; boundary="===============2259004848648164719==" X-Trace: blaine.gmane.org 1519074988 738 195.159.176.226 (19 Feb 2018 21:16:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 21:16:28 +0000 (UTC) To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 19 22:16:24 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ensn9-0007Ji-9M for gctc-ntg-context-518@m.gmane.org; Mon, 19 Feb 2018 22:16:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C50071A4C1F; Mon, 19 Feb 2018 22:16:24 +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 2MRti6Az17-k; Mon, 19 Feb 2018 22:16:24 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 1924D1A4C29; Mon, 19 Feb 2018 22:16:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C04781A4C26 for ; Mon, 19 Feb 2018 22:16:22 +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 RDMNV6oR12J9 for ; Mon, 19 Feb 2018 22:16:22 +0100 (CET) Original-Received: from pv35p16im-ztdg05081101.me.com (pv35p16im-ztdg05081101.me.com [17.133.187.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id F0F5B1A4C1F for ; Mon, 19 Feb 2018 22:16:11 +0100 (CET) Original-Received: from process-dkim-sign-daemon.pv35p16im-ztdg05081101.me.com by pv35p16im-ztdg05081101.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P4F005001GE4200@pv35p16im-ztdg05081101.me.com> for ntg-context@ntg.nl; Mon, 19 Feb 2018 21:15:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1519074958; bh=n4ngc70rZTPsuQZ4N3eYLJ0d+Gp5pv5N8usPGEQ6YWQ=; h=From:Content-type:MIME-version:Subject:Date:To:Message-id; b=nf5pcRs0RVuUj6iEM82myasASlun+WrVHfpIEYDa+L2UwkLANQX2nCkCW9JT5eU6s idi5a4cLvvsEV+TYBIihwmkcjhls9+V4jQLTMkXXOPKwhjDOFxJGXLI7vL3Rez752w w+AauJcKTCUau4lKq4HgnMH+2Eh28KgYw0SmFIGcRfEzICP8i5bRWIochAIZs66tRV vTlNnEa/vU3RwaMHMbTDJezG95tDc1Ovn6VAsykmrDZq9kms4Aw3uRkjojGkP7n0UT 6jpDLlfjFdoSlRpyRD9mpIWl4NTWqwwceKGHqU8/S+8h86jz7LVsgI00VzgKHUxNPb hbiYkXyE1CtRw== Original-Received: from icloud.com ([127.0.0.1]) by pv35p16im-ztdg05081101.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0P4F001NU1QJS000@pv35p16im-ztdg05081101.me.com> for ntg-context@ntg.nl; Mon, 19 Feb 2018 21:15:58 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-19_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1802190262 In-reply-to: X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:100291 --===============2259004848648164719== Content-type: multipart/alternative; boundary="Apple-Mail=_916CFBEA-EFB0-450F-BC5D-6BDCD25B716A" --Apple-Mail=_916CFBEA-EFB0-450F-BC5D-6BDCD25B716A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Wolfgang, Two months ago, you suggested an example for typefile with korean. I = just read it at that time and I try your sample today.=20 Although there are Nanum Gothic and Nanum Gothic Coding in my system = font, no output of korean for \ss and \tt. I run =E2=80=98mtxrun =E2=80=94script font =E2=80=94reload =E2=80=94force in the terminal, but the output is same. In the log file, it reads that=20= selectfont > The requested fallback font 'Nanum Gothic' for = typeface 'mainface' style 'ss' was ignored because no files where found. selectfont > The requested fallback font =E2=80=98Nanum Gothic = Coding' for typeface 'mainface' style 'tt' was ignored because no files = where found. Why ConTeXt couldn=E2=80=99t locate the font files? I am using Mac OSX 10.13 and latest beta. Thank you. Best regards, Dalyoung > 2017. 12. 7. =EC=98=A4=EC=A0=84 2:17, ntg-context-request@ntg.nl = =EC=9E=91=EC=84=B1: >=20 > You need fonts [1-3] which contains hangul characters (don=E2=80=99t = forget to=20 > set a math font because it is used for the symbols in enumerations) = and=20 > you have to enable linebreaking for korean with the \setscript = command. >=20 > %%%% begin example > \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] = [preset=3Drange:korean] > \definefontfamily [mainface] [rm] [DejaVu Serif] >=20 > \definefallbackfamily [mainface] [ss] [Nanum Gothic] = [preset=3Drange:korean] > \definefontfamily [mainface] [ss] [DejaVu Sans] >=20 > \definefallbackfamily [mainface] [tt] [Nanum Gothic Coding]=20 > [features=3Dnone,preset=3Drange:korean] > \definefontfamily [mainface] [tt] [DejaVu Sans Mono] = [features=3Dnone] >=20 > \definefontfamily [mainface] [mm] [DejaVu Math] >=20 > \setupbodyfont[mainface] >=20 > \setscript[hangul] >=20 > \starttext >=20 > =EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC =EB=B0=98=EB=B3=B5=EB=90=98=EB= =8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8=EC=97=90 =EB=8C=80=ED=95=9C = =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8=EB=AA=85=EB=A3=8C=ED=95=9C = =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C > =EB=AA=A8=EC=95=84 =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4= . >=20 > {\ss =EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC =EB=B0=98=EB=B3=B5=EB=90= =98=EB=8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8=EC=97=90 =EB=8C=80=ED=95= =9C =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8=EB=AA=85=EB=A3=8C=ED=95= =9C =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C > =EB=AA=A8=EC=95=84 =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4= .} >=20 > \starttyping > =EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC =EB=B0=98=EB=B3=B5=EB=90=98=EB= =8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8=EC=97=90 =EB=8C=80=ED=95=9C = =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8=EB=AA=85=EB=A3=8C=ED=95=9C = =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C > =EB=AA=A8=EC=95=84 =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4= . > \stoptyping >=20 > \stoptext > %%%% end example --Apple-Mail=_916CFBEA-EFB0-450F-BC5D-6BDCD25B716A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = Wolfgang,

Two months = ago, you suggested an example for typefile with korean. I just read it = at that time and I try your sample today. 
Although there are Nanum Gothic and Nanum Gothic Coding in my = system font, no output of korean for \ss and \tt.
I = run =E2=80=98mtxrun =E2=80=94script = font =E2=80=94reload =E2=80=94force
in = the terminal, but the output is same. In the log file, it reads = that 

selectfont      > The = requested fallback font 'Nanum Gothic' for typeface 'mainface' style = 'ss' was ignored because no files where found.
selectfont      > The = requested fallback font =E2=80=98Nanum Gothic Coding' for typeface = 'mainface' style 'tt' was ignored because no files where = found.


Why ConTeXt couldn=E2=80=99t locate the font = files?

I am using Mac OSX 10.13 and = latest beta.

Thank = you.

Best regards,

Dalyoung

2017. 12. 7. =EC=98=A4=EC=A0=84 = 2:17, ntg-context-request@ntg.nl =EC=9E=91=EC=84=B1:

You need fonts [1-3]  which contains hangul = characters (don=E2=80=99t forget to 
set a math font because it is = used for the symbols in enumerations) and 
you have to enable linebreaking = for korean with the \setscript command.
%%%% begin example
\definefallbackfamily [mainface] = [rm] [Nanum Myeongjo] [preset=3Drange:korean]
\definefontfamily =     [mainface] [rm] [DejaVu Serif]

\definefallbackfamily [mainface] [ss] [Nanum = Gothic] [preset=3Drange:korean]
\definefontfamily =     [mainface] [ss] [DejaVu Sans]

\definefallbackfamily [mainface] [tt] [Nanum = Gothic Coding] 
[features=3Dnone,preset=3Drange:korean]
\definefontfamily =     [mainface] [tt] [DejaVu Sans Mono] = [features=3Dnone]

\definefontfamily =     [mainface] [mm] [DejaVu Math]

\setupbodyfont[mainface]

\setscript[hangul]
\starttext

=EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC = =EB=B0=98=EB=B3=B5=EB=90=98=EB=8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8= =EC=97=90 =EB=8C=80=ED=95=9C =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8= =EB=AA=85=EB=A3=8C=ED=95=9C =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C=EB=AA=A8=EC=95=84 = =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4.

{\ss =EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC = =EB=B0=98=EB=B3=B5=EB=90=98=EB=8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8= =EC=97=90 =EB=8C=80=ED=95=9C =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8= =EB=AA=85=EB=A3=8C=ED=95=9C =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C=EB=AA=A8=EC=95=84 = =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4.}

\starttyping
=EC=9D=B4 FAQ =EC=9D=80 =EC=9E=90=EC=A3=BC = =EB=B0=98=EB=B3=B5=EB=90=98=EB=8A=94 =EC=A7=88=EB=AC=B8=EA=B3=BC =EA=B7=B8= =EC=97=90 =EB=8C=80=ED=95=9C =EB=8C=80=EB=8B=B5=EC=9D=84 =EA=B0=84=EB=8B=A8= =EB=AA=85=EB=A3=8C=ED=95=9C =EC=96=91=EC=8B=9D=EC=9C=BC=EB=A1=9C=EB=AA=A8=EC=95=84 = =EC=97=AE=EC=96=B4=EC=A1=8C=EC=8A=B5=EB=8B=88=EB=8B=A4.
\stoptyping

\stoptext
%%%% end = example

= --Apple-Mail=_916CFBEA-EFB0-450F-BC5D-6BDCD25B716A-- --===============2259004848648164719== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2259004848648164719==--