emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carlos Russo <mestre.adamastor@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel, gnuplot and buffer-wide header arguments
Date: Thu, 13 Jun 2013 15:39:53 +0100	[thread overview]
Message-ID: <kpcljj$c9a$1@ger.gmane.org> (raw)
In-Reply-To: 87ppvqftss.fsf@gmail.com

My life is suddenly much easier :-)
Thanks!

On 2013-06-13 05:45:07 +0000, Eric Schulte said:

> 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

      reply	other threads:[~2013-06-13 14:40 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
2013-06-13 14:39   ` Carlos Russo [this message]

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='kpcljj$c9a$1@ger.gmane.org' \
    --to=mestre.adamastor@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).