From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Per-backend export options? Date: Mon, 06 Jul 2015 11:32:21 +0200 Message-ID: <87vbdx3a3e.fsf@gmx.us> References: <20150706085806.GA19560@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC2lY-0006n6-Kp for emacs-orgmode@gnu.org; Mon, 06 Jul 2015 05:32:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC2lR-0004cB-Bz for emacs-orgmode@gnu.org; Mon, 06 Jul 2015 05:32:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:46306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC2lR-0004bI-5O for emacs-orgmode@gnu.org; Mon, 06 Jul 2015 05:32:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZC2lP-0001cN-QQ for emacs-orgmode@gnu.org; Mon, 06 Jul 2015 11:32:35 +0200 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jul 2015 11:32:35 +0200 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jul 2015 11:32:35 +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, 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!