Generalgnuplot-lua-tikz: Package not found error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tweeta600
Posts: 2
Joined: Mon Nov 05, 2012 11:04 pm

gnuplot-lua-tikz: Package not found error

Post by tweeta600 »

Hi,

I am experiencing difficulites with a graph generated by gnuplot and its tikz terminal. When I run this code, I do not get error messages - but no graphical output, though.

My code:

Code: Select all

\documentclass[]{beamer}
\usepackage{graphicx}
\usepackage{color}
\usepackage{transparent}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{gnuplot-lua-tikz}

\usetheme[hideothersubsections,width=0.17\textwidth]{PaloAlto}
\usecolortheme{sidebartab}
\begin{document}
\begin{frame}
\frametitle{Vergleich der vier Modelle}
 \begin{tiny}
  \include{vergleich1}\label{fig:vergleich}
 \end{tiny}
\end{frame}
\end{document}
When I run a different code (same as above, but class is article and there obviously are no

Code: Select all

\frame
commands), I get an error message: package gnuplot-lua-tikz not found.

gnuplot-lua-tikz is in the right place (/usr/local/texlive/2011/bin/x86_64-darwin/gnuplot-lua-tikz/gnuplot-lua-tikz.sty)

Does the compiler "sometimes" not find the package? Are there any known bugs/incompatibilities? The funny thing is: sometimes, I also get that same "not found" error with other beamer files, too.

And why is there no graphical output in the pdf?

I cannot believe in a "sometimes"-kind of problem.

And yes, my Tex is Texlive 2011, I am using PDFLaTex. Mac OS 10.8.2.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

tweeta600
Posts: 2
Joined: Mon Nov 05, 2012 11:04 pm

Re: gnuplot-lua-tikz: Package not found error

Post by tweeta600 »

Ok. After two days of frustration, I can now narrow down the issue.

The "random" charakter of the problem has gone :? , it follows a certain pattern.

gnuplot-lua-tikz.sty is in ~/Library/texmf/tex/latex
texhash has been run as su.

When I run PDFLateX on /folder/file.tex, I get no error and a perfect PDF output.
When I run PDFLateX on /folder/presentations/file.tex, I get the error message "gnuplot-lua-tikz.sty not found"

Source code is identical for both files - copy paste.

Any ideas?
mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

gnuplot-lua-tikz: Package not found error

Post by mas »

I have no experience of MacOS. So take my advice accordingly :-)

You say it compiles in one directory and not in another. Does the directory /folder/ contain the file gnuplot-lua-tikz.sty? If so, then that explains the compilation in that directory and not in another.

Another thing to ascertain is to see whether tex can find the gnuplot-lua-tikz.sty. Check the output of

Code: Select all

kpsewhich gnuplot-lua-tikz.sty
Post the output here, so that someone can suggest something further.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Post Reply