From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-babel, gnuplot and buffer-wide header arguments Date: Wed, 12 Jun 2013 23:45:07 -0600 Message-ID: <87ppvqftss.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un0MM-0000i1-7M for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 01:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un0MK-0003Oh-V1 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 01:46:10 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:57107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un0MK-0003OD-Nb for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 01:46:08 -0400 Received: by mail-pd0-f178.google.com with SMTP id w11so6415507pde.23 for ; Wed, 12 Jun 2013 22:46:07 -0700 (PDT) In-Reply-To: (Carlos Russo's message of "Wed, 12 Jun 2013 11:21:37 +0100") 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: Carlos Russo Cc: emacs-orgmode@gnu.org 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 > > > -- Eric Schulte http://cs.unm.edu/~eschulte