|
From: Philipp K. J. <ja...@ie...> - 2007-11-20 22:23:54
|
I just seem to have come across a strange
interaction between wxt and epslatex.
Basically, if I have plotted a graph to wxt, then
the files written later (in the same session)
using epslatex seem to be incomplete.
This does not occur if I have never used wxt,
because I was plotting to X11, for instance, or
because everything was run as a batch job
(from file).
This does also not occur if I plot to wxt, then
plot to epslatex, then plot AGAIN to wxt.
Apparently, resetting the terminal and/or
the output flushes everything to file...?
And I have not noticed this kind of problem
with any other terminal (PNG, Postscript, ...).
There is a similar bug (but much less annoying)
on my installation: whenever I have used wxt
in a gnuplot session, and I close the session,
the message "Segmentation fault" is written
to screen. This does not happen if I haven't used
wxt in that session.
Just FYI. Some details below.
Best,
Ph.
=============================
Broken Session (using wxt)
Terminal type set to 'wxt'
gnuplot> plot sin(x)
gnuplot> set t epslatex standalone
Terminal type set to 'epslatex'
Options are ' leveldefault monochrome blacktext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
noheader "" 11 '
gnuplot> set o 'broken.tex'
gnuplot>
CLEAN> latex broken.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./broken.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto,
e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
tur
kish, ukrainian, nohyphenation, loaded.
)
*! Interruption.
<*>
? x
No pages of output.
====================================
Working Session (using only X11, not wxt)
G N U P L O T
Version 4.2 patchlevel 2
last modified 31 Aug 2007
System: Linux 2.6.18.2-34-default
Copyright (C) 1986 - 1993, 1998, 2004, 2007
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'wxt'
gnuplot> set t x11
Terminal type set to 'x11'
Options are '0'
gnuplot> plot sin(x)
gnuplot> set terminal epslatex standalone
Terminal type set to 'epslatex'
Options are ' leveldefault monochrome blacktext \
dashed dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
noheader "" 11 '
gnuplot> set o 'good.tex'
gnuplot> replot
gnuplot>
CLEAN> latex good.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./good.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto,
e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)))
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/graphics/color.cfg)
(/usr/share/texmf/tex/latex/graphics/dvipsnam.def))
(/usr/share/texmf/tex/latex/geometry/geometry.sty
(/usr/share/texmf/tex/latex/geometry/geometry.cfg))
No configuration file gnuplot.cfg found.
No file good.aux.
<good-inc.eps> [1] (./good.aux) )
Output written on good.dvi (1 page, 692 bytes).
Transcript written on good.log.
=====================================
Log file of broken latex session:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex
2006.11.27) 20 NOV 2007 14:04
entering extended mode
**broken.tex
(./broken.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman,
b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto,
e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
tur
kish, ukrainian, nohyphenation, loaded.
)
*
! Interruption.
<*>
? x
Here is how much of TeX's memory you used:
5 strings out of 94500
118 string characters out of 1172832
48348 words of memory out of 3500000
3273 multiletter control sequences out of 10000+50000
3640 words of font info for 14 fonts, out of 500000 for 2000
580 hyphenation exceptions out of 1000
5i,0n,1p,4b,8s stack positions out of 1500i,500n,5000p,200000b,5000s
No pages of output.
====================================
Gnuplot version info:
G N U P L O T
Version 4.2 patchlevel 2
last modified 31 Aug 2007
System: Linux 2.6.18.2-34-default
Copyright (C) 1986 - 1993, 1998, 2004, 2007
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Compile options:
-READLINE +LIBREADLINE +HISTORY +BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-NOCWDRC +X11 +X11_POLYGON +MULTIBYTE +USE_MOUSE +HIDDEN3D_QUADTREE
+DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE
DRIVER_DIR
= "/home/janert/Gnuplot/Build/Release-4.2.2/build/libexec/gnuplot/4.2"
GNUPLOT_PS_DIR
= "/home/janert/Gnuplot/Build/Release-4.2.2/build/share/gnuplot/4.2/PostScript"
HELPFILE
= "/home/janert/Gnuplot/Build/Release-4.2.2/build/share/gnuplot/4.2/gnuplot.gih"
|