all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* why I can not output my file to PDF in Chinese?
@ 2013-05-19 17:46 Yingjie Sun
  2013-05-19 23:51 ` Feng Shu
  0 siblings, 1 reply; 2+ messages in thread
From: Yingjie Sun @ 2013-05-19 17:46 UTC (permalink / raw)
  To: emacs-orgmode

why I can not output my file to PDF in Chinese? Can you handle this?
thanks

-- 
Yingjie Sun

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: why I can not output my file to PDF in Chinese?
  2013-05-19 17:46 why I can not output my file to PDF in Chinese? Yingjie Sun
@ 2013-05-19 23:51 ` Feng Shu
  0 siblings, 0 replies; 2+ messages in thread
From: Feng Shu @ 2013-05-19 23:51 UTC (permalink / raw)
  To: emacs-orgmode

Yingjie Sun <reboothit@gmail.com> 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={AR PL UKai CN}]{SimSun}% 文鼎宋体和楷书
#+LATEX_HEADER: \setCJKsansfont{WenQuanYi Micro Hei}% 文泉驿的黑体
#+LATEX_HEADER: \setCJKmonofont{WenQuanYi Micro Hei}

-----------------------------------------------------------------------------------



-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-19 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-19 17:46 why I can not output my file to PDF in Chinese? Yingjie Sun
2013-05-19 23:51 ` Feng Shu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.