|
From: Ethan A M. <sf...@us...> - 2011-03-02 18:31:53
|
On Wednesday, March 02, 2011 06:26:59 am kthesnake wrote:
>
> Hello,
>
> I compile a CVS version of Gnuplot (either development or stable) under
> ubuntu. The compilation and the installation went right. I can generate a
> tex file representing my figure. Everything goes ok until the LaTeX
> compilation. I have a tons of error because xcolor does not recognize the
> "new way" of setting the colors in the teX file.
>
> \gpcolor{rgb color={0.000,0.000,0.000}}
>
> I checked with previous versions and the colors were not defined this way in
> the LaTeX file...
>
> \gpcolor{\gprgb{0}{0}{0}}
>
> The second one is compiled without any problems... Can someone help me with
> this issue?
Yes. I suffered from the same sorts of problem.
Two things to check first:
1) The new code requires TikZ version 2.0 or better. My linux distro (Mandriva)
doesn't have this yet even though it was released in 2007. So I had to
upgrade it manually. In practice this meant downloading a current
version of the pgf package from CTAN:
http://www.ctan.org/tex-archive/graphics/pgf/
I used it to replace the older version of pgf that I had in texlive-2007 and
everything worked with no problems.
If this is your problem, you should (I think) generate the following error message
when you try to process output from the new terminal in pdflatex:
PGF/TikZ version >= 2.0 is required, but 1.18 was found
2) If you don't get that error message, it may mean that you are running an
old version of the TeX support code from the previous gnuplot installation.
Make sure the TeX support packages for gnuplot were updated to match the
new lua terminal driver. I.e. you may need to run texconfig after installing
the new gnuplot.
|