From: Eric Schulte <eric.schulte@gmx.com>
To: skip <scp0801@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel, gnuplot, post processing
Date: Fri, 11 May 2012 16:43:51 -0400 [thread overview]
Message-ID: <87vck2wirc.fsf@gmx.com> (raw)
In-Reply-To: <CAAWz9dRykxvSWdRJF4tkOoZ-uB8Kgp5ihJuJsZV6hEB6tR2W+w@mail.gmail.com> (skip's message of "Fri, 11 May 2012 08:57:37 -0700")
skip <scp0801@gmail.com> writes:
> How can I perform post processing on eps files produced by gnuplot
> source blocks? I want to take out the extra white space margins in the
> eps file by running eps2eps utility on the eps file produced by
> gnuplot.
>
I believe that if given a :file header argument the gnuplot block will
return the path to the altered file as it's return result. You could
use a :var header argument to feed this path into a shell script code
block which could call eps2eps on the resulting file.
With this setup, every time the sh code block is evaluated it will call
the gnuplot code block before it is run. See the relevant manual
chapter for more information.
http://orgmode.org/manual/Working-With-Source-Code.html
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte/
next prev parent reply other threads:[~2012-05-11 22:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 15:57 Babel, gnuplot, post processing skip
2012-05-11 20:43 ` Eric Schulte [this message]
2012-05-12 7:58 ` Eric Fraga
2012-05-13 22:37 ` skip
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=87vck2wirc.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=scp0801@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).