Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1861

Re: epslatex terminal problem on Ubuntu

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: epslatex terminal problem on Ubuntu
Followup-To comp.graphics.apps.gnuplot
Date 2013-05-27 21:58 -0700
Organization gnuplot development team
Message-ID <ko1d8s$2ra$1@dont-email.me> (permalink)
References <d5c1fee4-0e81-4ca8-916f-725802e74ea7@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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.



> 
> No configuration file gnuplot.cfg found.
> (./mytest.aux)
> *geometry detected driver: dvips*
> ! Extra }, or forgotten $.
> \@imakepicbox ...t@ #1\unitlength {\mb@l #4\mb@r }
>                                                   \mb@b \kern \z@ }
> l.169     \gplbacktext
> 
> I'd appreciate if someone could help me with this problem.
> 
> K. Lee.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

epslatex terminal problem on Ubuntu Kyunghoon Lee <aeronova@gmail.com> - 2013-05-27 19:48 -0700
  Re: epslatex terminal problem on Ubuntu sfeam <sfeam@users.sourceforge.net> - 2013-05-27 21:58 -0700
  Re: epslatex terminal problem on Ubuntu Christoph Bersch <usenet@bersch.net> - 2013-05-28 09:23 +0200
    Re: epslatex terminal problem on Ubuntu Kyunghoon Lee <aeronova@gmail.com> - 2013-05-29 20:11 -0700

csiph-web