[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Per-backend export options?
From: |
tomas |
Subject: |
Re: [O] Per-backend export options? |
Date: |
Mon, 6 Jul 2015 12:07:16 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Jul 06, 2015 at 11:32:21AM +0200, Rasmus wrote:
> Hi,
>
> <address@hidden> 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. E.g.
>
> #+MACRO: dvipng-if-odt (eval (if (org-export-derived-backend-p
> org-export-current-backend 'odt) "#+OPTIONS: tex:dvipng" ))
Thanks!
regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlWaU1QACgkQBcgs9XrR2kYmSQCcCSzHFLx+lkegXQ/udthbmmgH
YrUAnjfNrfwMMrzduMqv9WVSnuXiGeDh
=yQU0
-----END PGP SIGNATURE-----