From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Shu Subject: Re: why I can not output my file to PDF in Chinese? Date: Mon, 20 May 2013 07:51:25 +0800 Message-ID: <87a9nqbkaq.fsf@news.tumashu-localhost.org> References: <20130520014634.8EA6.E7003441@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeDOo-0006wB-PC for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeDOm-0001qw-OK for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:52:22 -0400 Received: from mail-da0-x22d.google.com ([2607:f8b0:400e:c00::22d]:41123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeDOm-0001qj-HY for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:52:20 -0400 Received: by mail-da0-f45.google.com with SMTP id w3so3520702dad.18 for ; Sun, 19 May 2013 16:52:19 -0700 (PDT) Received: from tumashu ([110.97.81.78]) by mx.google.com with ESMTPSA id v7sm21370696pbq.32.2013.05.19.16.52.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 19 May 2013 16:52:18 -0700 (PDT) Received: from feng by news.tumashu-localhost.org with local (Exim 4.80) (envelope-from ) id 1UeDNt-0005gm-60 for emacs-orgmode@gnu.org; Mon, 20 May 2013 07:51:25 +0800 In-Reply-To: <20130520014634.8EA6.E7003441@gmail.com> (Yingjie Sun's message of "Mon, 20 May 2013 01:46:39 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Yingjie Sun writes: > why I can not output my file to PDF in Chinese? Can you handle this? > thanks You need many special setting in both org and texlive 1. you should let texlive correct resolve chinese(for example: use ctexkit) 2. you should install chinese fonts (simsun, microhei or adobe fonts) 3. you should let org export correct chinese latex file which can compile to pdf by latex My configure can export chinese correctly, may be it can help you : https://github.com/tumashu/emacs-helper/blob/master/eh-org.el Note: you need config xelatex correctly ---------------------------------------------------------------------------= --------- #+LaTeX_CLASS: ctexart #+LATEX_HEADER: \setCJKmainfont[ItalicFont=3D{AR PL UKai CN}]{SimSun}% =E6= =96=87=E9=BC=8E=E5=AE=8B=E4=BD=93=E5=92=8C=E6=A5=B7=E4=B9=A6 #+LATEX_HEADER: \setCJKsansfont{WenQuanYi Micro Hei}% =E6=96=87=E6=B3=89=E9= =A9=BF=E7=9A=84=E9=BB=91=E4=BD=93 #+LATEX_HEADER: \setCJKmonofont{WenQuanYi Micro Hei} ---------------------------------------------------------------------------= -------- --=20