[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#659701: texlive-pictures: pgfplots can't use gnuplot: set terminal table -> unknown or ambiguous terminal



Hi, Hilmar,

Thanks for the quick reply.

At Mon, 13 Feb 2012 12:37:17 +0100,
Hilmar Preusse wrote:
> The minimal example does not compile, it tells me somthing about an
> missing endgroup. After replacing \end{picture} by \end{tikzpicture}
> at least it builds fine.

Sorry.  That is the correct fix.

> But it does not even try to run gnuplot. I
> have gnuplot-nox and gnuplot-x11 installed. My command line is
> 
> hille@sid:~ $ pdflatex -shell-escape a.tex

Can you try running:

  rm -f a.plot.table a.plot.gnuplot
  pdflatex a.tex

This should result in the following error:

  ! Package pgfplots Error: Sorry, the gnuplot-result file
  'a.plot.table' could not be found. Maybe you need to enable the
  shell-escape feature? For pdflatex, this is '>> pdflatex
  -shell-escape'. You can also invoke '>> gnuplot <file>.gnuplot'
  manually on the respective gnuplot file..
  
  See the pgfplots package documentation for explanation.
  Type  H <return>  for immediate help.
   ...                                              
                                                    
  l.9 ...plot[id=plot,raw gnuplot] function{plot x};
                                                    
  ? 
  ! Emergency stop.
   ...                                              
                                                    
  l.9 ...plot[id=plot,raw gnuplot] function{plot x};
                                                    
  !  ==> Fatal error occurred, no output PDF file produced!
  Transcript written on a.log.

This means that pdflatex is indeed trying to run gnuplot, but
shell-escape is not enabled.

What version of texlive-pictures are you using and what version of
gnuplot do you have installed?

Thanks,

Neal



Reply to: