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: 367

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: 2

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

#5 2022-08-25 16:51:35

drmoose
Member
Registered: 2018-03-15
Posts: 3

Re: texlive - tikz.sty not found

Sorry about the necro but did anyone ever find a solution to this? This thread seems to be the only search result.

The problem is 100% reproducible even within docker:

FROM archlinux
RUN set -xe \
  ; pacman -Syyuu texlive-most --noconfirm \
  ; mkdir /work \
  ; printf '\\documentclass{article}\n\\usepackage{tkiz}\n\\begin{document}\n\\end{document}\n' > /work/my.tex
RUN texhash
WORKDIR /work
CMD pdflatex my.tex
# docker run -i $(docker build -q .) </dev/null
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Arch Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./my.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-04-10>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))

! LaTeX Error: File `tkiz.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.

Offline

#6 2022-08-25 17:11:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: texlive - tikz.sty not found

So you necrobumped an 11 year old thread because you didn't bother to check for typos in your commands?  There is indeed no tkiz.sty anywhere.  But tikz.sty will work just fine.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2022-08-25 21:59:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: texlive - tikz.sty not found

Closing this old thread. drmoose, if you like, create a new thread that you will own.  If you think this thread appropriate, go ahead and link back to it from the new thread.
Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB