|
From: Reiner S. <rei...@im...> - 2006-10-04 16:48:30
|
On Wed, Oct 04 2006, Ethan Merritt wrote:
> On Wednesday 04 October 2006 07:40 am, Reiner Steib wrote:
> I cannot reproduce this.
>
> There is no mention of latin1 or inputencoding in any of the files
> in .../tutorial as distributed. The example *.plt files do not
> specify any particular encoding, and eg7.tex contains no such line
> when generated by the TeX installation here.
I didn't notice that tutorial/eg7.tex is generated.
> Are you sure this isn't being added by some local TeX configuration
> option on your machine?
I found the culprit: it's "set encoding iso_8859_1" in `~/.gnuplot'.
--8<---------------cut here---------------start------------->8---
$ cd tutorial
$ make clean
$ cat ~/.gnuplot
set encoding iso_8859_1
$ make eg7.tex
if test -x ../src/gnuplot ; then GNUPLOT_PS_DIR=../term/PostScript GNUPLOT_LIB=. GNUTERM=latex ../src/gnuplot eg7.plt ; else gnuplot eg7.plt ; fi
$ head -n6 eg7.tex
% GNUPLOT: LaTeX picture with Postscript
\begingroup
% Encoding inside the plot. In the header of your document, this encoding
% should to defined, e.g., by using
% \usepackage[latin1,<other encodings>]{inputenc}
\inputencoding{latin1}%
$ rm ~/.gnuplot
$ make clean
$ make eg7.tex
$ head -n6 eg7.tex
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
--8<---------------cut here---------------end--------------->8---
Does gnuplot have a "-no-init-file" option? Such an option should be
used when generating tutorial/eg*.tex.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
|