From: Greg Minshall <minshall@umich.edu>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: parameterizing keyword values during a #+call
Date: Fri, 26 Apr 2013 07:46:11 -0400 [thread overview]
Message-ID: <96905.1366976771@greg-minshalls-mbp.local> (raw)
In-Reply-To: Your message of "Thu, 25 Apr 2013 19:19:37 -0600." <87txmuhyvq.fsf@gmail.com>
Eric,
thanks!
> Something like the following should work.
>
> #+call: disc[:file (if (and (boundp org-export-current-backend) (equal org-export-current-backend 'html)) "foo.svg" "foo.tex")]() :results file
in fact, with the new exporter, org-export-current-backend has
bit the dust, but apparently the non-architected "backend" exists. the
following works great!!
----
#+call: discs[:file (if (and (boundp 'backend) (equal backend 'html)) "fox.svg" "fox.pdf")]() :results file
----
(note the tick in the (boundp 'backend)).
now to wedge it into some init code.
cheers, Greg
next prev parent reply other threads:[~2013-04-26 11:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 23:45 parameterizing keyword values during a #+call Greg Minshall
2013-04-26 1:19 ` Eric Schulte
2013-04-26 11:46 ` Greg Minshall [this message]
2013-04-26 22:27 ` Greg Minshall
2013-04-26 22:34 ` Eric Schulte
2013-04-26 22:50 ` Greg Minshall
2013-04-30 14:40 ` Greg Minshall
2013-04-30 18:46 ` Gary Oberbrunner
2013-05-01 5:02 ` Eric Schulte
-- strict thread matches above, loose matches on Subject: below --
2013-05-01 10:52 Greg Minshall
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=96905.1366976771@greg-minshalls-mbp.local \
--to=minshall@umich.edu \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/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).