I've just made a minor alteration to a file from a TeX package. I copied it into my local texmf tree and made the change there. When I tried
kpsewhich <filename> to test that it was finding my local version, it returned the original one and not the new one. In actual fact, the original file was from my local texmf tree already so I renamed the old one something simple. Now
kpsewhich <filename> returned the system version of the file. To check that the file was there, I tried
kpsewhich -all <filename> and got the correct two versions of the file: my modified one and the system one (in that order). If I try this with another file that I know exists in both places, then
kpsewhich <filename> returns my local file.
Here's the various invocations and their results:
~% kpsewhich pgfsys-pdftex.def /usr/local/texlive/2012/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def ~% kpsewhich -all pgfsys-pdftex.def /Users/stacey/Library/texmf/tex/latex/bzr/pgfsys-pdftex.def /usr/local/texlive/2012/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def ~% kpsewhich tqft.sty /Users/stacey/Library/texmf/tex/latex/bzr/tqft.sty ~% kpsewhich -all tqft.sty /Users/stacey/Library/texmf/tex/latex/bzr/tqft.sty /usr/local/texlive/2012/texmf-dist/tex/latex/tqft/tqft.sty
Is it something special about the
.def extension? Is there some command that I forgot to run? Are there some other options to
kpsewhich that will help me debug this?