You are not logged in.
Pages: 1
Topic closed
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
Try running:
sudo texhash
from a terminal and see if it helps.
If not, could you post the output of:
kpsepath tex
?
Offline
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
\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
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
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
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
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed