From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Beamer export: can't get frame level right Date: Wed, 16 Jul 2014 09:54:13 -0500 Message-ID: References: <4141300.04dEsLQeik@weber.tmit.bme.hu> <87oawsneec.fsf@gmail.com> <4468368.09ZJF6YdcZ@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]:60732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7Qb4-0006yb-0D for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 10:54:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7Qb2-00058F-T2 for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 10:54:17 -0400 Received: from mail-oa0-x236.google.com ([2607:f8b0:4003:c02::236]:64727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7Qb2-00058B-OD for emacs-orgmode@gnu.org; Wed, 16 Jul 2014 10:54:16 -0400 Received: by mail-oa0-f54.google.com with SMTP id n16so1079485oag.27 for ; Wed, 16 Jul 2014 07:54:14 -0700 (PDT) In-Reply-To: <4468368.09ZJF6YdcZ@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 Wed, Jul 16, 2014 at 4:58 AM, Gabor Retvari wrote: > Hi, > > On Monday 14 July 2014 08:29:40 Josiah Schwab wrote: >> Which export command are you using? >> >> I think you may be using the regular LaTeX exporter. Adding beamer to >> your LaTeX_CLASS is not sufficient (or necessary). Rather, you want to >> use the Beamer export commands. >> >> http://orgmode.org/manual/Beamer-export.html > > Thanks a lot, org-beamer-export-to-pdf seems to solve this issue. > > Interestingly, C-c C-e l P (thank you John for the tip) does not work by > default as org-export-dispatch does not seem to know about beamer specific > export commands initially. Only after running org-beamer-export-to-pdf once the > beamer specific export options show up in the dispatcher's list. Strange. > > Anyways, it would be nice to have this behavior better documented. Maybe a huge > warning in the tutorial saying "Use beamer export options, standard LaTeX > export will screw up your slide structure!" or somesuch. I see now that the > tutorial mentions that "tutorials and references available for both org-mode > itself, for LaTeX exporting, and for Beamer Class Export", but the link to the > "Beamer Class Export" document does not quite work. > > http://orgmode.org/worg/exporters/beamer/tutorial.html Sorry... looks like a by-product of still being pretty recent on the new export engine and thus we have some instances of both new/old instruction sets being out there in the wild. 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\}"))) Good luck, John > Again, thank you for the help, it really is appreciated. > > Regards, > Gabor > >