From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jianshi Huang Subject: CJK LaTeX strangeness Date: Wed, 13 May 2009 16:46:02 +0900 Message-ID: <1a4744f80905130046ubfa84ebl5629206fa4f01ca3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M49AJ-0006gI-52 for emacs-orgmode@gnu.org; Wed, 13 May 2009 03:46:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M49AD-0006fq-KN for emacs-orgmode@gnu.org; Wed, 13 May 2009 03:46:09 -0400 Received: from [199.232.76.173] (port=58417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M49AD-0006fl-GU for emacs-orgmode@gnu.org; Wed, 13 May 2009 03:46:05 -0400 Received: from mx20.gnu.org ([199.232.41.8]:21634) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M49AC-0007dj-Uc for emacs-orgmode@gnu.org; Wed, 13 May 2009 03:46:05 -0400 Received: from mail-qy0-f116.google.com ([209.85.221.116]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M49AB-0005FM-Mx for emacs-orgmode@gnu.org; Wed, 13 May 2009 03:46:03 -0400 Received: by qyk14 with SMTP id 14so946532qyk.14 for ; Wed, 13 May 2009 00:46:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I wanted to export a org file that contains some Japanese characters to PDF. I used CJK package but when exporting the file, it hung my emacs. I was doing something like this: #+LATEX_HEADER: \usepackage{CJK} #+LATEX: \begin{CJK}{UTF8}{gothic} * 日本語テスト こんにちは #+LATEX: \end{CJK} Also if anybody knows how to add CJK-latex support in org-mode in a proper way, please also tell me how to do that. Especially, I want something like #+LATEX_FOOTER: as I need to insert \end{CJK} after \end{document}. Cheers, Jianshi