You are not logged in.

#1 2011-01-12 23:50:01

pmav99
Member
Registered: 2007-12-20
Posts: 5

texlive - tikz.sty not found

Hi everyone

I installed TeXLive (pacman -S texlive-most) and i tried to compile a document containing tikz with xelatex

\documentclass{article}

\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
    \draw (-1.5,0) -- (1.5,0);
\end{tikzpicture}

\end{document}

but I get an error:

File "tikz.sty" not found

The file exists at:

/usr/share/texmf-dist/tex/latex/pgf/frontendlayer

Any ideas / suggestions?

Last edited by pmav99 (2011-01-12 23:51:27)

Offline

#2 2011-01-13 03:39:09

frabjous
Member
Registered: 2010-07-13
Posts: 318

Re: texlive - tikz.sty not found

Try running:

sudo texhash

from a terminal and see if it helps.

If not, could you post the output of:

kpsepath tex

?

Offline

#3 2011-01-13 08:59:40

pmav99
Member
Registered: 2007-12-20
Posts: 5

Re: texlive - tikz.sty not found

thanx for the answer

I ran texhash but "tikz.sty" is still not found.

The ouput of "kpsepath tex" is the following:

.:/home/panos/.texlive2010/texmf-config/tex/kpsewhich//
:/home/panos/.texlive2010/texmf-var/tex/kpsewhich//
:/home/panos/texmf/tex/kpsewhich//
:!!/usr/local/texlive/2010/texmf-config/tex/kpsewhich//
:!!/usr/local/texlive/2010/texmf-var/tex/kpsewhich//
:!!/usr/local/texlive/2010/texmf/tex/kpsewhich//
:!!/usr/local/texlive/2010/../texmf-local/tex/kpsewhich//
:!!/usr/local/texlive/2010/texmf-dist/tex/kpsewhich//
:/home/panos/.texlive2010/texmf-config/tex/generic//
:/home/panos/.texlive2010/texmf-var/tex/generic//
:/home/panos/texmf/tex/generic//
:!!/usr/local/texlive/2010/texmf-config/tex/generic//
:!!/usr/local/texlive/2010/texmf-var/tex/generic//
:!!/usr/local/texlive/2010/texmf/tex/generic//
:!!/usr/local/texlive/2010/../texmf-local/tex/generic//
:!!/usr/local/texlive/2010/texmf-dist/tex/generic//
:/home/panos/.texlive2010/texmf-config/tex///
:/home/panos/.texlive2010/texmf-var/tex///
:/home/panos/texmf/tex///
:!!/usr/local/texlive/2010/texmf-config/tex///
:!!/usr/local/texlive/2010/texmf-var/tex///
:!!/usr/local/texlive/2010/texmf/tex///
:!!/usr/local/texlive/2010/../texmf-local/tex///
:!!/usr/local/texlive/2010/texmf-dist/tex///

Last edited by pmav99 (2011-01-13 09:05:16)

Offline

#4 2011-08-04 14:01:24

diegoflorez
Member
Registered: 2011-08-04
Posts: 1

Re: texlive - tikz.sty not found

\usepackage{tikz}
%\usepackage{pgflibraryarrows}    %Optional
%\usepackage{pgflibrarysnakes}   %Optional

\begin{document}
        \begin{tikzpicture}
            %\draw (1,0) -- (0,1) -- (-1,0) -- (0,-1) -- cycle;
        \end{tikzpicture}
\end{document}

Offline

Board footer

Powered by FluxBB