On 12/19/2009 11:41 AM, Jürgen Spitzmüller wrote:
rgheck wrote:
usr/local/share/texmf/circuitikz/tex/latex/circuitikz.sty
(also other places)
It won't find it there.
I think it should, judging from the texhash output Peter posted earlier in
this thread.
There's some important rule about keeping the directory structure the
same as the main tree. So I get:
[rgh...@rghquad ~]$ sudo mkdir -p /usr/share/texmf/circuitkz/tex/latex/
[rgh...@rghquad ~]$ sudo touch
/usr/share/texmf/circuitkz/tex/latex/circuitkz.sty
[rgh...@rghquad ~]$ sudo texhash
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
[rgh...@rghquad ~]$ kpsewhich circuitkz.sty
[rgh...@rghquad ~]$ ls /usr/share/texmf/circuitkz/tex/latex/
circuitkz.sty
[rgh...@rghquad ~]$ sudo touch /usr/share/texmf/tex/latex/circuitkz.sty
[rgh...@rghquad ~]$ sudo texhash
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
[rgh...@rghquad ~]$ kpsewhich circuitkz.sty
/usr/share/texmf/tex/latex/circuitkz.sty
[rgh...@rghquad ~]$
rh