From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: new exporter: exporting subtree as beamer Date: Sun, 23 Sep 2012 22:00:37 +0200 Message-ID: <874nmoa4re.fsf@med.uni-goettingen.de> References: <87d31ca6zr.fsf@med.uni-goettingen.de> <877grkbknc.fsf@gmail.com> <878vc0a5h8.fsf@med.uni-goettingen.de> <873928bjup.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFsMH-0003bN-IA for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 16:00:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFsMG-0007Ob-Jk for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 16:00:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:58365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFsMG-0007OW-Cw for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 16:00:52 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TFsMH-0000ED-JR for emacs-orgmode@gnu.org; Sun, 23 Sep 2012 22:00:53 +0200 Received: from vpn-2210.gwdg.de ([134.76.2.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Sep 2012 22:00:53 +0200 Received: from andreas.leha by vpn-2210.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Sep 2012 22:00:53 +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: emacs-orgmode@gnu.org Hi Nicolas, > Andreas Leha writes: > >> I was expecting a compilable Beamer document. Especially, I am missing >> a document class in the exported TeX: >> > > 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 Thanks a lot. That was the missing piece. Regards, Andreas