emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Carlos Russo <mestre.adamastor@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel, gnuplot and buffer-wide header arguments
Date: Wed, 12 Jun 2013 23:45:07 -0600	[thread overview]
Message-ID: <87ppvqftss.fsf@gmail.com> (raw)
In-Reply-To: <kp9i3b$9n9$1@ger.gmane.org> (Carlos Russo's message of "Wed, 12 Jun 2013 11:21:37 +0100")

Carlos Russo <mestre.adamastor@gmail.com> writes:

> Hi
>
> it seems that org-babel-gnuplot only recognizes a few header arguments.
> I would like to set the following on top of the buffer:
>
> #+PROPERTY: term pdfcairo enhanced mono size 8cm,6cm font "Helvetica"
>
> in order to control the appearance of a bunch of figures generated by gnuplot
> #+begin_src gnuplot :exports result :file file.pdf
>  plot ...
> #+end_src
>
> Basically, I would like to avoid writing the :term property all the time:
>
> #+begin_src gnuplot :exports result :file file.pdf :term pdfcairo 
> enhanced mono size 8cm,6cm font "Helvetica"
>  plot ...
> #+end_src
>
> It seems that this requires a modification to ob-gnuplot.el.
> Any hints on how to do this?
>

I've just pushed up a fix.  Take a look at commit 1720613 in the
repository to see what was required to make this change.  In this case
it was very simple.

Best,

>
> Thanks,
> Carlos
>
>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-06-13  5:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12 10:21 org-babel, gnuplot and buffer-wide header arguments Carlos Russo
2013-06-13  5:45 ` Eric Schulte [this message]
2013-06-13 14:39   ` Carlos Russo

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=87ppvqftss.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mestre.adamastor@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).