I use TeX Live (on a Debian system), and I'm having a new issue with style files. For many years, I've used a style file I've written called handout.sty; it's in my ~/texmf/tex directory, and I've always used \usepackage{handout} successfully.
I just upgraded my texlive distribution to TeX Live 2014; unfortunately, this distribution includes a file also called handout.sty, in /usr/share/texlive/texmf-dist/tex/latex/handout/handout.sty. Is there a way to set things up so that my handout.sty gets precedence? (I could rename it, but I have literally thousands of TeX files that use it, so I'm not eager to do that.)
I thought this was related to kpathsea, but when I run kpsewhich handout.sty, it gives the handout.sty in my ~/texmf/tex directory; nonetheless, when I actually run pdflatex on a TeX file, it tries to include the handout.sty from the texlive distribution.
Any suggestions on how to fix this or how to debug how TeX is looking for the file would be helpful.
kpsewhich -progname=cslatex hyphen.cfgfinds something different thankpsewhich -progname=latex hyphen.cfg. – Ulrike Fischer May 20 '16 at 21:14