emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: #+BEAMER_THEME fails
Date: Tue, 17 Sep 2013 14:51:36 +0200	[thread overview]
Message-ID: <87ioxz392f.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: 20130917121326.GC22454@kuru.dyndns-at-home.com

Hi Suvayu,

Suvayu Ali <fatkasuvayu+linux@gmail.com> 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<beamer>{\usetheme{Madrid}}
>> 
>> which did work.
>
> Well, this inserts raw LaTeX in the exported file.  So yes, that should
> always work.
>
>
> Footnotes:
>
> [1] <http://orgmode.org/worg/org-faq.html#bug-reporting>

Cheers,

Loris

-- 
This signature is currently under construction.

  reply	other threads:[~2013-09-17 12:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17  8:22 #+BEAMER_THEME fails Loris Bennett
2013-09-17 12:13 ` Suvayu Ali
2013-09-17 12:51   ` Loris Bennett [this message]
2013-09-17 13:21     ` Suvayu Ali
2013-09-17 14:57 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ioxz392f.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).