Suvayu Ali <fatkasuvayu+li...@gmail.com> 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