Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-22 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: >>> #+BEGIN_SRC gnuplot :file test.eps >>> reset >> ^ >> WRT |, I've also added the *org-babel-gnuplot-prefix* variable, which >> may be set to e.g., "reset" to reset the gnuplot process between code >> blocks. > > We have recently introduced s

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-22 Thread Achim Gratz
Eric Schulte writes: >> #+BEGIN_SRC gnuplot :file test.eps >> reset > ^ > WRT |, I've also added the *org-babel-gnuplot-prefix* variable, which > may be set to e.g., "reset" to reset the gnuplot process between code > blocks. We have recently introduced similar functionality in ob-perl a

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-21 Thread Suvayu Ali
On Fri, Jun 21, 2013 at 10:07:39AM -0600, Eric Schulte wrote: > Suvayu Ali writes: > > > > 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 > ensu

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-21 Thread Eric Schulte
Suvayu Ali 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 -

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-21 Thread Suvayu Ali
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-babe

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-21 Thread Eric Schulte
Christopher Witte writes: > On 20 June 2013 18:12, Eric Schulte wrote: > >> Why not do the following instead which would be equivalent and simpler. >> The output will be automatically set from the value of your :file header >> argument. >> >> #+begin_src gnuplot :file fig/transInc.eps >> reset

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-21 Thread Christopher Witte
On 20 June 2013 18:12, Eric Schulte wrote: > Why not do the following instead which would be equivalent and simpler. > The output will be automatically set from the value of your :file header > argument. > > #+begin_src gnuplot :file fig/transInc.eps > reset > set encoding utf8 > . > #+

Re: [O] Unexpected behaviour with gnuplot source blocks

2013-06-20 Thread Eric Schulte
Christopher Witte writes: > Hi all, > > I had some wierd behaviour with gnuplot source blocks and I'm not sure of > the best way to fix it. > > I have gnuplot source blocks that write output files that I insert into the > document using links, as such: > > #+begin_src gnuplot :file transInc.eps >

[O] Unexpected behaviour with gnuplot source blocks

2013-06-18 Thread Christopher Witte
Hi all, I had some wierd behaviour with gnuplot source blocks and I'm not sure of the best way to fix it. I have gnuplot source blocks that write output files that I insert into the document using links, as such: #+begin_src gnuplot :file transInc.eps reset set encoding utf8 set outp