From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New exporter, beamer confusion Date: Wed, 06 Feb 2013 19:55:42 +0100 Message-ID: <87ip65mfv5.fsf@gmail.com> References: <20130204063905.GA23614@kuru.dyndns-at-home.com> <87wqun5037.fsf@gmail.com> <6207.1360048864@alphaville> <87fw1ashw5.fsf@gmail.com> <878v728fo0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3AA7-0000wC-TE for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 13:56:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3AA5-0002Z0-6N for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 13:56:03 -0500 Received: from mail-wg0-f45.google.com ([74.125.82.45]:50107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3AA5-0002Yg-11 for emacs-orgmode@gnu.org; Wed, 06 Feb 2013 13:56:01 -0500 Received: by mail-wg0-f45.google.com with SMTP id dq12so1390449wgb.24 for ; Wed, 06 Feb 2013 10:55:59 -0800 (PST) In-Reply-To: <878v728fo0.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 6 Feb 2013 10:41:27 +1030") 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 Hello, Eric S Fraga writes: > Taking your updated version of the example document, I cannot get the > exporter to generate a latex file that will compile because it is > missing a documentclass directive. Is there something else that needs > to be configured to support beamer, as in maybe org-e-latex-classes? Indeed. I added it to ox-beamer.el in-file documentation. You need to add an entry appropriate for Beamer export. This entry doesn't need to be named "beamer". For example, after the merge you add the following to your init file: #+begin_src emacs-lisp '(add-to-list 'org-latex-classes '("pres" "\\documentclass[presentation]{beamer} \[DEFAULT-PACKAGES] \[PACKAGES] \[EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) #+end_src Then, the following in your buffer will suffice. #+latex_class: pres Regards, -- Nicolas Goaziou