From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32320 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: LaTeX: Individual words in Chinese script Date: Fri, 10 Mar 2023 14:20:22 -0800 Message-ID: <2163FD26-E90E-472A-A94E-D20247FC7A9C@gmail.com> References: <667077D3-D8A5-4B6A-9253-F3F569439ADA@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2D409A3F-5B3B-4217-AFD8-218B7A888B4E" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20613"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBMG2V2QAMGQEJHPBBCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Mar 10 23:20:38 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f189.google.com ([209.85.128.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pal6M-00057k-3q for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 10 Mar 2023 23:20:38 +0100 Original-Received: by mail-yw1-f189.google.com with SMTP id 00721157ae682-536c039f859sf68452397b3.21 for ; Fri, 10 Mar 2023 14:20:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1678486837; cv=pass; d=google.com; s=arc-20160816; b=FT8kwSKw+MeDLjEwEOtXmyRiFqL1fg6Ys8jOw4QM0Mu7ZHEb6wD0K8Ry02exT3FV0w 90sLa8RnvS+WNUDk7vOhe7nrOF4e4q3LtUDWau3OBIZJqRvigpTHOShl1seWY1BHo8nX sTyI+SKIx14jRXJpUxYue+LEsh2QBNBsiOHZpxSoD66xvezmNilPyBvgdQ8e7sB8M7gF gLYzv9J5AdjkUh94X5mCa3ezHC957Z4r4Ic1WsRdP9MkPCnQ1OzlvLB5KHGGgng7doK5 sMYQoX7OiQno+UKjgb0upsnno2ADUOFoerwKte91YyERttZUSsJ/ocX7PsdHYFyCux4/ V4tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature :dkim-signature; bh=sRCUBZn+7MUxuYsCPeJT9BnaBaffKJOEPftdEqVbzSU=; b=DrWnvfqEEwBl68sc1ahA9+6GkoU/pC89ppV3xL0OY7fBZCXQnq+birfE7iNjsavBuS eUnot8Xr+xyyPae1IElB9CnKqdNdcMUvCL2937zuqYsMjjBi6SA72YQDj+2VJVNu17DW xbzRtWoaCkTwHlaNSUs0jGgGuOqH5HZimSj6gJq6ZyfGNhGooufGkHLClc9D4apw4Pb6 8cakd1sbcb2ZR0JFVD3qWCdZPoGojiOsBU+S2nNBYtth8p8CSFr84ZbAxPORHduhOGRe eItGXJBnUpPlp6RANsw0AYWdyryW/po6PkRGCgkZf1z7E+M1R7V/NFQIh+FrxYRiDdWF uxrw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kitf//qa"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1678486837; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=sRCUBZn+7MUxuYsCPeJT9BnaBaffKJOEPftdEqVbzSU=; b=muP6zocPePQXxLwJTHv4OhY+r/DgbCFrFx1sq8XremIGgiK4TqXNWA0q9WG/1tGDpo 41ZQ1ag61GrMlRjmQqTkIIxoIZnQyCOqcbkmwdWRUskGrMTSg0wK3BSZCvi88ariWMce L2SXlWJcbbSCoDClmT9FR0Dudhg1gIbTCMNSDU8SqhThZ9K7CZo+Sas/UQIvivNDKUwf Suor3Lu2Vezr/AmH0FY6EPxJcER/10QDnnWw1rgq0Se2bOGCX3W7QjHoNCofY4zAVWG1 e12f5uIOsZjh91ZOuMnK0q/doq1srl0+g3JwEOqwqDAyaYhhefXPDcReo7aB5xgMJuie bGrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678486837; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=sRCUBZn+7MUxuYsCPeJT9BnaBaffKJOEPftdEqVbzSU=; b=P4UTPYDoLKQOri6A0kRUZJYw8DK/rweQbMmdLY3kKTUO+QIpxFNC0E9StUu+fC6DHS BEf9RUIutrOMiKoHIXYN5hUkk6XX2Ge+9rP4gWi0hhHhZN9k0t5XWD8r5gkfm04FnNj6 i63Ykat8+spS1pZSdpQyEK3V2LFX0qV1lVMLMehM9/ka6ykA/R3UrQqKKHzXV3PjvyMD kk9xsexjcoYF4TnK//nFxr9ehhP8e6hq9W/yUIsPE7EHHPFAEnIQq+GDCsvgtUZ6RLyx zXMxi07WP3VlJtlun4kvCobK106zYICxV5ncntP+5/hdQdz8XF+B1IT/+tPWJvcTdv9T ahyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678486837; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=sRCUBZn+7MUxuYsCPeJT9BnaBaffKJOEPftdEqVbzSU=; b=E5Kkf+Nhq7M9c7d184WLQAzIc1x+3CC0ziA5tEeZAbAjPra1OfDzoCCtUXNjnUxl6P Y69SE8/UmQi+xUJ0sWMUxwTKF2RMzDI3fKcvoDwxrI+6JhIreu81wryKo5iwNqbeBZJ9 8H16XbcC042hY67qi/cZzX9/98JbLQvZLplMJcia9O8PG4EK1fcuPaHYYKKf79xuZ7Za f5Hhq6pmAI1EmAoWsoXBAvwukM28Hi9j3NSGvnz8tXuy1BpZYqG08cBMsM/VJdyIRBwv vDEuKd+9BHfyHC9q6NKDsO1IWdoHTWmR Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKU67gpG5dHwzDNarYAGaSMF+aCivlPzNC9MO2MfiWOQNOJzs/pq b+fu3Htc9W22lu8mNgpo6y0= X-Google-Smtp-Source: AK7set873WYr58rUESnWLARdzDPwp2Yo5SE+D2vzBCmpzaYhj1GyIavycYpdOUFqc8257FpF6ePCww== X-Received: by 2002:a81:ad44:0:b0:52a:92e9:27c1 with SMTP id l4-20020a81ad44000000b0052a92e927c1mr17397037ywk.10.1678486835550; Fri, 10 Mar 2023 14:20:35 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:dd48:0:b0:53e:b03c:9a85 with SMTP id g69-20020a0ddd48000000b0053eb03c9a85ls1846076ywe.0.-pod-prod-gmail; Fri, 10 Mar 2023 14:20:32 -0800 (PST) X-Received: by 2002:a81:6cc7:0:b0:533:1831:3b2d with SMTP id h190-20020a816cc7000000b0053318313b2dmr4301140ywc.1.1678486832043; Fri, 10 Mar 2023 14:20:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678486832; cv=none; d=google.com; s=arc-20160816; b=Vh72dn03sXVac3BnIFOfXALZf6NoB/Cz4a5gsjLYPum3H0B8Y9L8U8n0Iv7hkG2yb8 oOH3+Xc+Dl3JSm1lrhCGfJw6C2iuveGWIS8rrw6jIfiSXRGiwY9iEVy9Mtn8W8FIa1b1 cKjSFhJOWT+eRftiJh1r/KU8C6F3LNWh+IW0v/EcHX5xZ4TfXQZrQqoXxvtWcsZ81aZI h/jP9MwwgcLQb1QMRzgPjm1vJWcJvR68CvKMdjKsD/14Tz7uIeHhObS21n9JBLAITmUE XqNdtWkJ+3/tWEUWtD2culjXlf1KfKtUwV2Lb3E5SNWsXSRtOHwLCyINGvwjLENIqS4D 14HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :dkim-signature; bh=fBfj4VlRyLk5/DOCCY7AmFGqYyBCI6vUWyWvSUARDX8=; b=XUQXCFTz28bw8DZKCWjcWUHB2acl/S7witDKkgdU/IQasNVm8S6ibCOMWVe12XzM6+ NfCyCMefQzLYZr2Hx+9mwnx3C8IO9LGZ3Kts8F4rnXraaXA06F1Jb5CuQJX3AkZeO6bL INEk94AF2zPIr0uSO9ZOllqyAhujdcgRt0PLB0pZgaNpH6nt1WtfIKrNJw+xidFE8bnZ oRoEKKJMbHEsYvTB6f8YjC02ByfBRzEdXC0srx4VhXa7TORph6dgJBTU7T2ORk6Z3612 lhYSAgwsFbEuJ+aejhfNeJq6FALKiA9n5468FJP7xtTGE9ddCm3D+/Twstm/2t4P25Yd 5dqQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kitf//qa"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com. [2607:f8b0:4864:20::102c]) by gmr-mx.google.com with ESMTPS id 192-20020a8107c9000000b0053cba27e38dsi43298ywh.1.2023.03.10.14.20.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Mar 2023 14:20:32 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) client-ip=2607:f8b0:4864:20::102c; Original-Received: by mail-pj1-x102c.google.com with SMTP id y15-20020a17090aa40f00b00237ad8ee3a0so6481947pjp.2 for ; Fri, 10 Mar 2023 14:20:31 -0800 (PST) X-Received: by 2002:a17:902:d492:b0:19d:19fb:55ec with SMTP id c18-20020a170902d49200b0019d19fb55ecmr3939092plg.6.1678486830627; Fri, 10 Mar 2023 14:20:30 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id kd3-20020a17090313c300b0019a6f32e6c1sm440258plb.148.2023.03.10.14.20.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Mar 2023 14:20:29 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.14) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kitf//qa"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32320 Archived-At: --Apple-Mail=_2D409A3F-5B3B-4217-AFD8-218B7A888B4E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" I=E2=80=99ve updated pandoc with both the changes you suggested. chinese i= s now used with babel, and the template now includes babelfonts. With the = new code you should be able to make this work without a filter. > On Mar 10, 2023, at 12:32 PM, 'Frederik Elwert' via pandoc-discuss wrote: >=20 > Thanks for the kind reply! >=20 > If I see it correctly, modern babel works fine with Chinese the same way = as other languages. I wrote a small lua filter that inserts raw `\foreignla= nguage`/`\begin{otherlanguage}` commands for chinese in the same way as pan= doc by default does for other languages, and it works just fine. So maybe t= he best solution would be to simply add chinese to Lang.hs? >=20 > Also, I modified the template a little bit to support a `babelfonts` meta= data structure. That allows to specify custom fonts for other scripts. Woul= d something like this be acceptable for the default template? >=20 > You can see my solution in this gist: https://gist.github.com/frederik-el= wert/fb1ab57bf88fa2c6dbd7253958b64014 >=20 > An example patch for the template is attached. >=20 > If someone sees any issues with this approach, I=E2=80=99m glad if they c= ould point them out. I don=E2=80=99t write Chinese myself, so I don=E2=80= =99t know if there are subtle issues that I=E2=80=99m not aware of. >=20 >=20 >=20 >=20 >=20 > John MacFarlane schrieb am Freitag, 10. M=C3=A4rz 2023 um 19:17:56 UTC+1: > Obviously, it is important to support this kind of thing. Can someone els= e who uses pandoc with multiple scripts comment on how you handle this?=20 >=20 > One solution I see at=20 > https://tex.stackexchange.com/questions/165197/russian-and-chinese-in-the= -same-document =20 > is=20 >=20 > \usepackage[encapsulated]{CJK}=20 >=20 > and then=20 >=20 > \begin{CJK}{UTF8}{gbsn}=20 > =E4=BD=A0=E5=A5=BD=20 > \end{CJK}=20 >=20 > Perhaps you could use a Lua filter to convert [=E4=BD=A0=E5=A5=BD]{lang= =3Dzh} to this form?=20 >=20 >=20 >=20 >=20 >=20 > > On Mar 10, 2023, at 2:35 AM, 'Frederik Elwert' via pandoc-discuss > wrote:=20 > >=20 > > Hi!=20 > >=20 > >=20 > > We are typesetting a lot of academic texts which are mainly in English,= but contain words in other languages/scripts. At the moment, I need to pro= duce an article that contains individual words in traditional Chinese.=20 > >=20 > > With pandoc, I currently face two issues:=20 > >=20 > > First, chinese is not defined in Writers/LaTeX/Lang.hs. This means that= , in contrast to other scripts, I cannot use `[=E8=A8=80]{lang=3D"zh-Hant"}= `. For other languages that are defined, the LaTeX writer produces `\foreig= nlanguage{}{}` commands, but in this case it produces only `{=E8=A8=80}`. T= hus, the only possibility is to resort to `CJKmainfont`. The issue is that = this switches on xeCJK for the whole document, which has undesirable side e= ffects (mainly concerning spacing around punctuation characters). Thus, I h= ave to introduce manual `\makexeCJKactive`/`\makexeCJKinactive` commands in= my markdown source. For short passages of Chinese, it is actually desirabl= e not to use xeCJK, but simply babel, as with other scripts.=20 > >=20 > > Second, I do not see a way to define fonts for other scripts. The defau= lt LaTeX template calls `\babelprovide` for used fonts, but does not allow = to define corresponding `\babelfont`s. With the old polyglossia system, IIR= C, it was possible to use the `fontfamilies` metadata entry to define `\chi= nesefont` etc. for additional scripts. But this does no longer work with ba= bel (if I=E2=80=99m not missing something).=20 > >=20 > > So basically my question is twofold: First, how do I define additional = fonts for foreign scripts with the new babel system, and second, would it b= e possible to support chinese script in the LaTeX writer in the same way it= supports other scripts?=20 > > Thanks,=20 > > Frederik=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google Grou= ps "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send = an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/cadd3e14-3167-447f-9f64-8158a6613cb6n%40googlegroups.com= .=20 >=20 >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/a66a708e-6599-4cab-88a5-a89f592e8b8en%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/a66a708e-6599-4cab-88a5-a8= 9f592e8b8en%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/2163FD26-E90E-472A-A94E-D20247FC7A9C%40gmail.com. --Apple-Mail=_2D409A3F-5B3B-4217-AFD8-218B7A888B4E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" I=E2=80=99ve updated pando= c with both the changes you suggested.  chinese is now used with babel= , and the template now includes babelfonts.  With the new code you sho= uld be able to make this work without a filter.

On Mar 10, 202= 3, at 12:32 PM, 'Frederik Elwert' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org= > wrote:

Thanks for the kind reply!
<= br class=3D"">
If I see it cor= rectly, modern babel works fine with Chinese the same way as other language= s. I wrote a small lua filter that inserts raw `\foreignlanguage`/`\begin{o= therlanguage}` commands for chinese in the same way as pandoc by default do= es for other languages, and it works just fine. So maybe the best solution = would be to simply add chinese to Lang.hs?

A= lso, I modified the template a little bit to support a `babelfonts` metadat= a structure. That allows to specify custom fonts for other scripts. Would s= omething like this be acceptable for the default template?


An example patch for the template is attached.

If someone sees any issues with this approach, I=E2=80=99m glad = if they could point them out. I don=E2=80=99t write Chinese myself, so I do= n=E2=80=99t know if there are subtle issues that I=E2=80=99m not aware of.<= br class=3D"">

=




John MacFarlane schrieb am Freita= g, 10. M=C3=A4rz 2023 um 19:17:56 UTC+1:
Obviously, it is important to support this kind of thing. Ca= n someone else who uses pandoc with multiple scripts comment on how you han= dle this? 
=
One solution I see at&= nbsp;
https://tex.stackexchange.com/ques= tions/165197/russian-and-chinese-in-the-same-document 
is 

\usepackage[encapsu= lated]{CJK} 

and then 

\begin{CJK}{UTF8}{gbsn} 
=E4=BD=A0=E5=A5=BD 
\end{CJK} 

Perha= ps you could use a Lua filter to convert [=E4=BD=A0=E5=A5=BD]{lang=3Dzh} to= this form? 





> On Mar 10, 2023, at 2:35 AM, 'Frederik Elwert' via pandoc-discuss &l= t;pandoc-..= .@googlegroups.com> wrote:&nbs= p;
> 
> Hi! 
> > 
> We are typesetting a lot of academic texts which are mainly in= English, but contain words in other languages/scripts. At the moment, I ne= ed to produce an article that contains individual words in traditional Chin= ese. 
><= span class=3D"Apple-converted-space"> 

> With = pandoc, I currently face two issues:&= nbsp;
> =
> First, chinese is not defined in Writers/LaTeX/L= ang.hs. This means that, in contrast to other scripts, I cannot use `[=E8= =A8=80]{lang=3D"zh-Hant"}`. For other languages that are defined, the LaTeX= writer produces `\foreignlanguage{}{}` commands, but in this case it produ= ces only `{=E8=A8=80}`. Thus, the only possibility is to resort to `CJKmain= font`. The issue is that this switches on xeCJK for the whole document, whi= ch has undesirable side effects (mainly concerning spacing around punctuati= on characters). Thus, I have to introduce manual `\makexeCJKactive`/`\makex= eCJKinactive` commands in my markdown source. For short passages of Chinese= , it is actually desirable not to use xeCJK, but simply babel, as with othe= r scripts. 
> 
>= Second, I do not see a way to define fonts for other scripts. The default = LaTeX template calls `\babelprovide` for used fonts, but does not allow to = define corresponding `\babelfont`s. With the old polyglossia system, IIRC, = it was possible to use the `fontfamilies` metadata entry to define `\chines= efont` etc. for additional scripts. But this does no longer work with babel= (if I=E2=80=99m not missing something). 
>&n= bsp;
> So basically my question is twofold: First, = how do I define additional fonts for foreign scripts with the new babel sys= tem, and second, would it be possible to support chinese script in the LaTe= X writer in the same way it supports other scripts? 
> Thanks, 
> Frederik 
> 
> -- 
> You received this message be= cause you are subscribed to the Google Groups "pandoc-discuss" group. 
> To unsubsc= ribe from this group and stop receiving emails from it, send an email to 
pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.=  
> To v= iew this discussion on the web visit&= nbsp;https://group= s.google.com/d/msgid/pandoc-discuss/cadd3e14-3167-447f-9f64-8158a6613cb6n%4= 0googlegroups.com. 

-- 
You received this message because you are subscribed to= the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving email= s from it, send an email to pandoc-discuss+unsubscribe@goog= legroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pandoc-discuss/a66a708e-6599-4cab-= 88a5-a89f592e8b8en%40googlegroups.com.
&= lt;babelfont.patch>

=

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/2163FD26-E90E-472A-A94E-D20247FC7A9C%40gmail.com.
--Apple-Mail=_2D409A3F-5B3B-4217-AFD8-218B7A888B4E--