From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new exporter: exporting subtree as beamer Date: Sun, 23 Sep 2012 21:49:18 +0200 Message-ID: <873928bjup.fsf@gmail.com> References: <87d31ca6zr.fsf@med.uni-goettingen.de> <877grkbknc.fsf@gmail.com> <878vc0a5h8.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFsF7-0001rx-K2 for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 15:53:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFsF6-00050F-Ia for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 15:53:29 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:35651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFsF6-00050B-BZ for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 15:53:28 -0400 Received: by wgbdt14 with SMTP id dt14so3217422wgb.30 for ; Sun, 23 Sep 2012 12:53:27 -0700 (PDT) In-Reply-To: <878vc0a5h8.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Sun, 23 Sep 2012 21:45:07 +0200") 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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha 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,