From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: #+BEAMER_THEME fails Date: Tue, 17 Sep 2013 14:51:36 +0200 Message-ID: <87ioxz392f.fsf@hornfels.zedat.fu-berlin.de> References: <87r4cn3lin.fsf@hornfels.zedat.fu-berlin.de> <20130917121326.GC22454@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLul6-0001mc-9p for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 08:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLukz-0006uG-JX for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 08:52:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:49485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLukz-0006u8-Cv for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 08:51:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VLukv-00008l-FY for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 14:51:49 +0200 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Sep 2013 14:51:49 +0200 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Sep 2013 14:51:49 +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 Suvayu, Suvayu Ali writes: > Hi Loris, > > On Tue, Sep 17, 2013 at 10:22:40AM +0200, Loris Bennett wrote: >> Hi, >> >> Using Emacs 24.2.1 (Org mode 8.1.1) and having read the page >> >> http://orgmode.org/worg/exporters/beamer/ox-beamer.html >> >> I assumed I would be able to set the Beamer theme using >> >> #+BEAMER_THEME: Madrid >> >> However, this did not work and I just got the default theme. However, >> looking at > > Can you provide a minimal working example[1] with a sample of the exported > LaTeX code for you? That was a good suggestion, as it helped me to find the problem. My mistake was exporting to LaTeX As PDF file instead of As PDF file (Beamer) In principle it is clear when you do 'C-x C-e' that you should choose the latter option if you are using Beamer. However, I didn't come across any mention of export to Beamer being different from export to non-beamer PDF in the documentation. So maybe it would be an idea to add a section about exporting to the tutorial http://orgmode.org/worg/exporters/beamer/tutorial.html to help the easily-confused, like myself. As a matter of interest, has the new exporter always behaved like that? And what is the rationale behind the distinction? >> http://orgmode.org/worg/exporters/beamer/presentation.org.html >> >> I found the more cryptic >> >> #+latex_header: \mode{\usetheme{Madrid}} >> >> which did work. > > Well, this inserts raw LaTeX in the exported file. So yes, that should > always work. > > > Footnotes: > > [1] Cheers, Loris -- This signature is currently under construction.