[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



Package: texlive-pictures
Version: 2009-15
Severity: important

I'm trying to call gnuplot from pgfplots.  It doesn't work.  Here is a
minimal example:

  \documentclass{article}
  
  \usepackage{pgfplots} 
  
  \begin{document}
  
  \begin{tikzpicture}
    \begin{axis}
       \addplot plot[id=plot,raw gnuplot] function{plot x};
    \end{axis}
  \end{picture}
  
  \end{document}

Here is pdflatex's output:

  $ pdflatex -shell-escape a.tex 
  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
   \write18 enabled.
  entering extended mode
  ...
  Package pgfplots: loading complementary code for your PGF version...
  (/usr/share/texmf-texlive/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsup
  p_misc.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsup
  p_pgfkeysfiltered.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsup
  p_pgfmathfloat.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsup
  p_pgflibraryplothandlers.code.tex)
  Package pgfplots: loading FPU library which doesn't appear to exist in your PGF
   version...
  
  (/usr/share/texmf-texlive/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsup
  p_pgflibraryfpu.code.tex))
  (/usr/share/texmf-texlive/tex/generic/pgfplots/util/pgfplotsutil.code.tex
  (/usr/share/texmf-texlive/tex/generic/pgfplots/liststructure/pgfplotsliststruct
  ure.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/liststructure/pgfplotsliststruct
  ureext.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/liststructure/pgfplotsarray.code
  .tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/numtable/pgfplotstable.code.tex
  (/usr/share/texmf-texlive/tex/generic/pgfplots/numtable/pgfplotstable.coltype.c
  ode.tex)))
  (/usr/share/texmf-texlive/tex/generic/pgfplots/util/pgfplotscolormap.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/pgfplots.stackedplots.code.tex)
  (/usr/share/texmf-texlive/tex/generic/pgfplots/pgfplotscoordprocessing.code.tex
  ) (/usr/share/texmf-texlive/tex/generic/pgfplots/pgfplotsticks.code.tex)
  (/usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecor
  ations.code.tex
  (/usr/share/texmf/tex/generic/pgf/modules/pgfmoduledecorations.code.tex))
  (/usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecor
  ations.pathmorphing.code.tex
  (/usr/share/texmf/tex/generic/pgf/libraries/pgflibrarydecorations.pathmorphing.
  code.tex))
  (/usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecor
  ations.pathreplacing.code.tex
  (/usr/share/texmf/tex/generic/pgf/libraries/pgflibrarydecorations.pathreplacing
  .code.tex)))
  (/usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplotm
  arks.code.tex
  (/usr/share/texmf/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex)))
  (./a.aux) (/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii
  [Loading MPS to PDF converter (version 2006.09.02).]
  )
  set terminal table; set output "a.plot.table"; set format "%.5f"
               ^
  "a.plot.gnuplot", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list
  
  ! Package pgfplots Error: Sorry, the gnuplot-result file 'a.plot.table' could n
  ot be found. Maybe you need to enable the shell-escape feature? For pdflatex, t
  his is '>> pdflatex -shell-escape'. You can also invoke '>> gnuplot <file>.gnup
  lot' 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};
                                                    
  ? ^C! Interruption.
  \GenericError  ...                                
                                                    \endgroup 
  l.9 ...plot[id=plot,raw gnuplot] function{plot x};


The problem is that gnuplot no longer supports 'set terminal table'.
To use the table terminal, one has to use: 'set table'.  (I'm using
version 4.4.0-1.1 of gnuplot).

The workaround described here:

  http://tex.stackexchange.com/questions/23900/a-problem-with-tikz-gnuplot-set-terminal-table

doesn't work for me either.  dpkg -L texlive-pictures | grep pgfbaseplot
returns nothing.  I tried grepping the sources for 'set terminal table',
but I didn't find the offending line of code.

Thanks.


-- Package-specific info:
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. 

Please run your example with
	(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1077 Feb 13 10:24 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Jul  5  2011 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 May 14  2011 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Jan 21  2011 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Jan 21  2011 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 May 14  2011 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 4172 Feb 13 10:24 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 9763 Feb 13 10:24 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 3110 Feb 13 10:24 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 Jun  8  2010 mktex.cnf
######################################
 md5sums of texmf.d
3875bf0f4a53a29b7f247399dc9833e2  /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3  /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
402d5adb3864c09ed3cd80c0f2131361  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-pictures depends on:
ii  dpkg                          1.15.8.12  Debian package management system
ii  luatex                        0.60.2-1   next generation TeX engine
ii  tex-common                    2.08.1     common infrastructure for building
ii  texlive-base                  2009-11    TeX Live: Essential programs and f
ii  texlive-binaries              2009-8     Binaries for TeX Live
ii  texlive-common                2009-11    TeX Live: Base component

Versions of packages texlive-pictures recommends:
ii  pgf                           2.00-1     TeX Portable Graphic Format
ii  texlive-pictures-doc          2009-11    TeX Live: Documentation files for 

Versions of packages texlive-pictures suggests:
pn  dot2tex                       <none>     (no description available)

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]        1.5.36.1    Debian configuration management sy
ii  dpkg                         1.15.8.12   Debian package management system
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages texlive-pictures is related to:
ii  tex-common                    2.08.1     common infrastructure for building
ii  texlive-binaries              2009-8     Binaries for TeX Live

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



Reply to: