Re: [O] Per-backend export options?

2015-08-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 19, 2015 at 11:45:37PM -0400, Jay Dixit wrote: I do something similar to change export options between HTML and LaTeX: (defun my-org-export-change-options (plist backend) (cond ((equal backend 'html) (plist-put plist

Re: [O] Per-backend export options?

2015-08-19 Thread Jay Dixit
I do something similar to change export options between HTML and LaTeX: (defun my-org-export-change-options (plist backend) (cond ((equal backend 'html) (plist-put plist :with-toc nil) (plist-put plist :section-numbers nil)) ((equal backend 'latex) (plist-put plist :with-toc

[O] Per-backend export options?

2015-07-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, 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:

Re: [O] Per-backend export options?

2015-07-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jul 06, 2015 at 11:32:21AM +0200, Rasmus wrote: Hi, to...@tuxteam.de writes: [...] #+OPTIONS: f:nil [... possibly other options ...] Can I do that in a way that the value depends on backend? [...] I'd use a macro for this.

Re: [O] Per-backend export options?

2015-07-06 Thread Rasmus
Hi, to...@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

Re: [O] Per-backend export options?

2015-07-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jul 06, 2015 at 11:32:21AM +0200, Rasmus wrote: [...] I'd use a macro for this. E.g. Works like a charm now :-) - -- t -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux)