From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: OrgMode - Export Simple Chinese text to Latex/PDF Date: Thu, 09 Feb 2012 11:35:15 -0800 Message-ID: <87mx8rn6ks.fsf@ericabrahamsen.net> References: <10865.1328753088@alphaville> <3031.1328756160@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvZmM-0004bD-5a for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:35:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvZmH-0004nM-Bc for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:35:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:51956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvZmH-0004n3-2C for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 14:35:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvZmE-0001iL-Ae for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 20:35:30 +0100 Received: from 63.226.249.211 ([63.226.249.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 20:35:30 +0100 Received: from eric by 63.226.249.211 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 20:35:30 +0100 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 On Thu, Feb 09 2012, suvayu ali wrote: > Hi, > > On Thu, Feb 9, 2012 at 04:12, Haisheng Wu wrote: >> As you would see, the `CJK` is nested in the `document`, >> therefore, title which is in Chinese as well can not display correctly. >> Any ideas? > > Well, when it comes to utf8 export, I always recommend xelatex or > lualatex. :) Recently there was a thread on devanagari (for Sanskrit > and its derivatives like Hindi) which proved useful to the OP. I do a lot of org to latex export with Chinese in it, and would absolutely second using Xelatex, it just makes so many things simpler. Use these headers, and compile with xelatex, you might need a pretty recent texlive installation. \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \usepackage{xeCJK} \setmainfont{Janson Text LT Pro} % or whatever \setCJKmainfont{文泉驿正黑} % or whatever -- GNU Emacs 24.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-02-07 on pellet Org-mode version 7.8.03 (release_7.8.03.324.gc4b233)