emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Per-backend export options?
Date: Mon, 6 Jul 2015 12:07:16 +0200	[thread overview]
Message-ID: <20150706100716.GA21809@tuxteam.de> (raw)
In-Reply-To: <87vbdx3a3e.fsf@gmx.us>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jul 06, 2015 at 11:32:21AM +0200, Rasmus wrote:
> Hi,
> 
> <tomas@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.  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-----

  reply	other threads:[~2015-07-06 10:07 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
2015-07-06 10:07   ` tomas [this message]
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=20150706100716.GA21809@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).