emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Per-backend export options?


From: Rasmus
Subject: Re: [O] Per-backend export options?
Date: Mon, 06 Jul 2015 11:32:21 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Hi,

<address@hidden> writes:

> it must be in the fine manual. But after wandering there without a good
> idea on how to find that...
>
> What I'm trying to do is to suppress footnotes in Beamer export, and
> keep them in PDF export.
>
> Suppressing the footnotes is easy enough:
>
>   #+OPTIONS: f:nil [... possibly other options ...]
>
> Can I do that in a way that the value depends on backend? I.e. f:nil
> for beamer and f:t for latex/pdf?

I'd use a macro for this.  E.g.

#+MACRO: dvipng-if-odt (eval (if (org-export-derived-backend-p 
org-export-current-backend 'odt) "#+OPTIONS: tex:dvipng" ))

Rasmus

-- 
Summon the Mothership!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]