Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: epslatex terminal problem on Ubuntu Followup-To: comp.graphics.apps.gnuplot Date: Mon, 27 May 2013 21:58:01 -0700 Organization: gnuplot development team Lines: 63 Message-ID: References: Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Tue, 28 May 2013 04:53:48 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e947cb29d2533e27aa00183e80187dbb"; logging-data="2922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hDnZPf0ah8IAoc0aVn9eP" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:dlbhyhwDY9zwGTgQ89a5fwijXpM= Xref: csiph.com comp.graphics.apps.gnuplot:1861 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.