From: James Harkins <jamshark70@gmail.com>
To: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Beamer export ignoring org-beamer-environments-extra?
Date: Sat, 20 Apr 2013 12:25:01 +0800 [thread overview]
Message-ID: <CAFniQ7WPsx+yNnk12HMo82tU+n-7iRgjGB7DGHGxJY1i7bKF5Q@mail.gmail.com> (raw)
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
next reply other threads:[~2013-04-20 4:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-20 4:25 James Harkins [this message]
2013-04-20 6:14 ` Beamer export ignoring org-beamer-environments-extra? James Harkins
2013-04-20 6:33 ` Nicolas Goaziou
2013-04-20 11:02 ` James Harkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFniQ7WPsx+yNnk12HMo82tU+n-7iRgjGB7DGHGxJY1i7bKF5Q@mail.gmail.com \
--to=jamshark70@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=jamshark70@dewdrop-world.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).