emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Per-backend export options?
Date: Mon, 06 Jul 2015 11:32:21 +0200	[thread overview]
Message-ID: <87vbdx3a3e.fsf@gmx.us> (raw)
In-Reply-To: 20150706085806.GA19560@tuxteam.de

Hi,

<tomas@tuxteam.de> 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	other threads:[~2015-07-06  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06  8:58 Per-backend export options? tomas
2015-07-06  9:32 ` Rasmus [this message]
2015-07-06 10:07   ` tomas
2015-07-06 14:16   ` tomas
     [not found]     ` <CAE+_6TzaTv0COwEkPrOrB8K_4sTFrU2rT7mxBHjhJ5iRRTPLrA@mail.gmail.com>
2015-08-20  3:45       ` Jay Dixit
2015-08-20  5:43         ` tomas

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=87vbdx3a3e.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).