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

2012-02-09 Thread Haisheng Wu
What mentioned in the thread is really helpful. The only difference is I need figure out proper font for Chinese. I use command `fc-list` (ubuntu) to figure it out. PS: Not sure how to figure out such easily in Windows. Thanks a lot! -Haisheng On Thu, Feb 9, 2012 at 8:25 PM, suvayu ali wrote:

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 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 r

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 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

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 dis

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

2012-02-08 Thread Nick Dokos
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

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 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 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 wrote: > suvayu ali wrote: > > > Hi, > > > > On Wed, Feb 8, 2012 at 10:07, Haisheng Wu wrote: > > > #+LaTeX_HEADER: \usepackage{CJK} > > > #+LaTeX_HEAD

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

2012-02-08 Thread Nick Dokos
suvayu ali wrote: > Hi, > > On Wed, Feb 8, 2012 at 10:07, Haisheng Wu 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} > > > > #LaTeX:

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 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} #LaTeX: \end{CJK}{test} GL -- Suvayu Open source is th

[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 n