emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Basic beamer export


From: Eric S Fraga
Subject: Re: [O] Basic beamer export
Date: Sun, 17 Mar 2013 13:08:33 +0000
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

JBash <address@hidden> writes:

> Hello,
>
> I am apparently missing something very basic in the setup for beamer
> export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html 
> as
> a guide and have:
>
> ;; Export to Beamer Presentation
> (require 'ox-latex)
> (add-to-list 'org-latex-classes
>              '("beamer"
>                "\\documentclass\[presentation\]\{beamer\}"
>                ("\\section\{%s\}" . "\\section*\{%s\}")
>                ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>                ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

When I add my beamer entry (see below), I do not escape the curly
braces:

#+begin_src emacs-lisp
(add-to-list 'org-latex-classes
             '("beamer" "\\documentclass{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
               ("\\section{%s}" . "\\section*{%s}")
               ("\\subsection{%s}" . "\\subsection*{%s}")
               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
               ("\\paragraph{%s}" . "\\paragraph*{%s}")
               ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+end_src

I have no idea whether that makes a difference or not but have you
looked to see what org-latex-classes is actually set to after your
customisation?

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0-pre-107-g91a6ca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]