From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Russo Subject: Re: org-babel, gnuplot and buffer-wide header arguments Date: Thu, 13 Jun 2013 15:39:53 +0100 Message-ID: References: <87ppvqftss.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8h4-000259-24 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 10:40:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un8h2-0006De-Pl for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 10:40:05 -0400 Received: from plane.gmane.org ([80.91.229.3]:32818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un8h2-00069M-I8 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 10:40:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Un8h1-0001Ri-4k for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 16:40:03 +0200 Received: from 81.193.34.84 ([81.193.34.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Jun 2013 16:40:03 +0200 Received: from mestre.adamastor by 81.193.34.84 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Jun 2013 16:40:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org My life is suddenly much easier :-) Thanks! On 2013-06-13 05:45:07 +0000, Eric Schulte said: > Carlos Russo 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