From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haisheng Wu Subject: Re: OrgMode - Export Simple Chinese text to Latex/PDF Date: Thu, 9 Feb 2012 11:12:14 +0800 Message-ID: References: <10865.1328753088@alphaville> <3031.1328756160@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf305630272bf8d304b87f6211 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvKR4-0001Sl-R3 for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 22:12:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvKR1-00083D-4X for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 22:12:38 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:49989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvKR0-00082p-Sy for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 22:12:35 -0500 Received: by ggnf1 with SMTP id f1so787375ggn.0 for ; Wed, 08 Feb 2012 19:12:34 -0800 (PST) In-Reply-To: <3031.1328756160@alphaville> 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: nicholas.dokos@hp.com, suvayu ali Cc: emacs-orgmode@gnu.org --20cf305630272bf8d304b87f6211 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable aha...actually I just found one exception. By using the approach you suggested, the generated tex will be like: \title{=E5=90=B4=E6=B5=B7=E7=94=9F} \begin{document} \maketitle \begin{CJK}{UTF8}{gbsn} ... ... 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? Thanks a lot. -Haisheng On Thu, Feb 9, 2012 at 10:56 AM, Nick Dokos wrote: > suvayu ali wrote: > > > On Thu, Feb 9, 2012 at 03:21, Haisheng Wu wrote: > > > I think it is `#+Latex` rather than `#Latex`. > > > The former one works for me. > > > Yes, indeed. > > > Yes, both you and Nick are correct. :) > > > > Sorry for the typo. > > > > Didn't catch the typo either. > > Nick > > > --20cf305630272bf8d304b87f6211 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable aha...actually I just found one exception.
By using the approach you sug= gested, the generated tex will be like:

\title{=E5=90=B4=E6=B5=B7=E7=94=9F}
\begin{document}\maketitle
\begin{CJK}{UTF8}{gbsn}
...
...

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?

Than= ks a lot.

-Haisheng


On Thu, Feb 9, 2012 at 10:56 AM, Nick Do= kos <nicholas= .dokos@hp.com> wrote:
suvayu ali <fatkasuvayu+linux@gmail.com> wrote:

> On Thu, Feb 9, 2012 at 03:21, Haisheng Wu <freizl@gmail.com> wrote:
> > I think it is `#+Latex` rather than `#Latex`.
> > The former one works for me.
>
Yes, indeed.

> Yes, both you and Nick are correct. :)
>
> Sorry for the typo.
>

Didn't catch the typo either.

Nick



--20cf305630272bf8d304b87f6211--