[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Unexpected behaviour with gnuplot source blocks
From: |
Eric Schulte |
Subject: |
Re: [O] Unexpected behaviour with gnuplot source blocks |
Date: |
Fri, 21 Jun 2013 10:07:39 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Suvayu Ali <address@hidden> writes:
> On Fri, Jun 21, 2013 at 09:02:28AM -0600, Eric Schulte wrote:
>>
>> I've added a customization variable to ob-gnuplot which may be used to
>> map file extensions to terminals. Currently it just holds the mapping
>> from eps to "postscript eps"
>>
>> ;; -*- emacs-lisp -*-
>> (defcustom *org-babel-gnuplot-terms*
>> '((eps . "postscript eps"))
>> "List of file extensions and the associated gnuplot terminal."
>> :group 'org-babel
>> :type '(repeat (cons (symbol :tag "File extension")
>> (string :tag "Gnuplot terminal"))))
>>
>
> Great idea!
>
Thanks, I hope it is useful.
>
>> If anyone knows of other good default mapping to add please let me know.
>>
>
> I personally use "pdfcairo color" for pdf output.
This is already the default behavior for "term pdf" on my system, so I
don't think we need to add it to the list. I did just add some logic to
ensure that output terminals are closed at the end of code blocks, which
was required for a simple pdf example to work for me.
Cheers,
--
Eric Schulte
http://cs.unm.edu/~eschulte