Kyunghoon Lee wrote:
> Dear all,
>
> I tried pngcairo and postscript terminals with the simple demo (found
> at
http://gnuplot.sourceforge.net/demo_4.6/simple.1.gnu) and worked
> fine. However if I tried the epslatex terminal as below
>
> set terminal epslatex size 3.5,2.62 color
> set output 'simple.1.tex'
>
> set key inside left top vertical Right noreverse enhanced autotitles
> box linetype -1 linewidth 1.000 set samples 50, 50
> plot [-10:10] sin(x),atan(x),cos(atan(x))
>
> , I got the following error saying "No configuration file gnuplot.cfg
> found":
The file gnuplot.cfg should have been installed in your local tex/latex
repository. I don't know where that is on Ubuntu, but on my system it
gets installed in $TEXMFLOCAL/tex/latex/gnuplot/
After placing it there, the inventory of tex modules needs to be
updated with the command texconfig rehash
Both of these steps should have been performed when you installed the
gnuplot package. If not you could report it to Ubuntu as a bug in the
installation package.
Be that as it may, the entire contents of gnuplot.cfg consists of
7 lines:
%% A configuration file for the epslatex terminal by Harald Harders.
%% This file is part of Gnuplot.
%%
\usepackage[T1]{fontenc}
\endinput
%%
%% End of file `gnuplot.cfg'.
You can install it manually as described above.
If in fact Ubuntu doesn't provide the latex support files in its
gnuplot package then you are probably also missing the files for
the tikz terminal:
gnuplot-lua-tikz-common.tex
gnuplot-lua-tikz.sty
gnuplot-lua-tikz.tex
These can be generated by running the script
lua /usr/local/share/gnuplot/4.6/lua/gnuplot-tikz.lua style
and then manually installed in $TEXMFLOCAL/tex/latex/gnuplot/ as above.