emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-babel, gnuplot and buffer-wide header arguments


From: Eric Schulte
Subject: Re: [O] org-babel, gnuplot and buffer-wide header arguments
Date: Wed, 12 Jun 2013 23:45:07 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Carlos Russo <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]