Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-09 Thread suvayu ali
Hi, On Thu, Feb 9, 2012 at 04:12, Haisheng Wu fre...@gmail.com 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. :)

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-09 Thread Eric Abrahamsen
On Thu, Feb 09 2012, suvayu ali wrote: Hi, On Thu, Feb 9, 2012 at 04:12, Haisheng Wu fre...@gmail.com 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

[O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread Haisheng Wu
Hi guys, What I'd like to do is exporting a Chinese file into latex then convert to a pdf file. It failed to display Chinese characters then I search google for help and finding I need CJK package according to this post. http://www.math.nus.edu.sg/aslaksen/cs/cjk.html Unfortunately it is

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread suvayu ali
Hi, On Wed, Feb 8, 2012 at 10:07, Haisheng Wu fre...@gmail.com wrote: #+LaTeX_HEADER: \usepackage{CJK} #+LaTeX_HEADER: \begin{CJK}{UTF8}{gbsn} Have you tried the following instead? #+LaTeX_HEADER: \usepackage{CJK} #LaTeX: \begin{CJK}{UTF8}{gbsn} some text in chinese #LaTeX: \end{CJK}{test}

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi, On Wed, Feb 8, 2012 at 10:07, Haisheng Wu fre...@gmail.com wrote: #+LaTeX_HEADER: \usepackage{CJK} #+LaTeX_HEADER: \begin{CJK}{UTF8}{gbsn} Have you tried the following instead? #+LaTeX_HEADER: \usepackage{CJK} #LaTeX:

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread Haisheng Wu
I think it is `#+Latex` rather than `#Latex`. The former one works for me. Thanks a lot! -Simon On Thu, Feb 9, 2012 at 10:04 AM, Nick Dokos nicholas.do...@hp.com wrote: suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi, On Wed, Feb 8, 2012 at 10:07, Haisheng Wu fre...@gmail.com wrote:

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread suvayu ali
On Thu, Feb 9, 2012 at 03:21, Haisheng Wu fre...@gmail.com wrote: I think it is `#+Latex` rather than `#Latex`. The former one works for me. Yes, both you and Nick are correct. :) Sorry for the typo. -- Suvayu Open source is the future. It sets us free.

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: On Thu, Feb 9, 2012 at 03:21, Haisheng Wu fre...@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

Re: [O] OrgMode - Export Simple Chinese text to Latex/PDF

2012-02-08 Thread Haisheng Wu
aha...actually I just found one exception. By using the approach you suggested, the generated tex will be like: \title{吴海生} \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