Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: > I was expecting a compilable Beamer document. Especially, I am missing > a document class in the exported TeX: > > ----[ TeX export ] > % Created 2012-09-23 So 21:07 > \usetheme{default} > \author{Andreas Leha} > \date{\today} > \title{Test Beamer} > \hypersetup{ > pdfkeywords={}, > pdfsubject={}, > pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}} > \begin{document} > > \maketitle > \begin{frame}{Outline} > \tableofcontents > \end{frame} > > > \begin{frame}[label=sec-1]{First Slide} > \begin{itemize} > \item first bullet > \end{itemize} > \end{frame} > % Generated by Org mode 7.9.1 in Emacs 24.2.50.1. > \end{document} > ----
You need a "beamer" entry in `org-e-latex-classes' (note: "beamer" name isnt't mandatory, but it has to match the LaTeX class requested). I use the following: #+begin_src emacs-lisp (add-to-list 'org-e-latex-classes '("beamer" "\\documentclass[presentation]{beamer} \[DEFAULT-PACKAGES] \[PACKAGES] \[EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) #+end_src Regards,