From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Beamer export: can't get frame level right Date: Fri, 18 Jul 2014 09:19:37 -0500 Message-ID: References: <4141300.04dEsLQeik@weber.tmit.bme.hu> <4468368.09ZJF6YdcZ@weber.tmit.bme.hu> <2317439.sOdXGU9TDI@weber.tmit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X890g-0005yA-8w for emacs-orgmode@gnu.org; Fri, 18 Jul 2014 10:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X890e-00083c-5W for emacs-orgmode@gnu.org; Fri, 18 Jul 2014 10:19:42 -0400 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:53178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X890e-000837-0B for emacs-orgmode@gnu.org; Fri, 18 Jul 2014 10:19:40 -0400 Received: by mail-oi0-f41.google.com with SMTP id a141so1916231oig.14 for ; Fri, 18 Jul 2014 07:19:38 -0700 (PDT) In-Reply-To: <2317439.sOdXGU9TDI@weber.tmit.bme.hu> 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: Gabor Retvari Cc: Josiah Schwab , emacs-orgmode On Fri, Jul 18, 2014 at 6:56 AM, Gabor Retvari wrote: > Hi, > > On Wednesday 16 July 2014 09:54:13 John Hendy wrote: >> Can you see if this works properly? >> - http://orgmode.org/worg/exporters/beamer/ox-beamer.html >> >> Aka, simply having this in .emacs: >> >> (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\}"))) > > No, this does not seem to be enough for the beamer-specific export options to > show up with org-export-dispatch. This, however, is OK (by Josiah's > suggestion): > > (require 'ox-beamer) > Oops. Yes, you're completely correct and I missed that. Right before the beamer definition I pasted above above, Worg says: "You can use the following minimal setup to start exporting to the beamer documentclass. As of the latest Org mode version (8.0.3), this setup is not necessary anymore. If you want to customise this variable, you should **do it before loading ox-beamer.**" So, Worg mentions loading ox-beamer (not sure why it's not right after the definition to make it clear...), but I was also wrong again. If your version is recent enough, you also don't need that definition, just to require ox-beamer (which is, indeed, in my setup). Sorry about that! John > Regards, > Gabor