From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Beamer export ignoring org-beamer-environments-extra? Date: Sat, 20 Apr 2013 12:25:01 +0800 Message-ID: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTPMF-0008U3-JU for Emacs-orgmode@gnu.org; Sat, 20 Apr 2013 00:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTPME-0002ap-6C for Emacs-orgmode@gnu.org; Sat, 20 Apr 2013 00:25:03 -0400 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:45367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTPME-0002Yf-24 for Emacs-orgmode@gnu.org; Sat, 20 Apr 2013 00:25:02 -0400 Received: by mail-ob0-f176.google.com with SMTP id wd20so4067120obb.35 for ; Fri, 19 Apr 2013 21:25:01 -0700 (PDT) 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: "Emacs-orgmode@gnu.org" Hi, I'm trying to use the (new) beamer exporter with Chinese characters. I've installed the CJK package, and I can render a very simple article-class document with Chinese characters, no problem. But I haven't been able to replicate that successful result by exporting an org file to LaTeX/beamer. The problem may be a general one concerning org-beamer-environments-extra. Any portion of the document containing Chinese characters should be enclosed within a CJK environment. Reading ox-beamer.el, I see that I can customize Org Beamer Environments Extra. After customizing, C-h v org-beamer-environments-extra shows me: (("CJK" "Z" "\\begin{CJK}%a%h" "\\end{CJK}")) But: * One section ** One frame *** One block :B_CJK: :PROPERTIES: :BEAMER_env: CJK :BEAMER_envargs: gbsn :END: - One list item --> \section[One section]{One section} \label{sec-1} \begin{frame}[label=sec-1-1]{One frame} \begin{itemize} \item One list item \end{itemize} \end{frame} % Generated by Org mode 8.0-pre in Emacs 23.3.1. \end{document} Whoa, wait a minute... it has completely omitted the CJK environment! It appears that I've followed the format for the extra environment correctly. It's possible that I've done something wrong, but it could also be a bug. ?? Org-mode version 8.0-pre (release_8.0-pre-215-g8ccbc7 @ /home/dlm/share/org-mode.git/lisp/) hjh