[Tex/LaTex] How to configure TeXLive search paths

installingpathstexlive

Every time I run pdflatex my whole home directory is scanned. It takes forever and one cpu core is at 100% usage.

I'm using Ubuntu 12.04 TeXLive packages and can't find where this is set.

kpsepath tex | tr ':' '\n' does not list my home directory directly only ~/texmf and ~/.texmf.

Please help.

Best Answer

You very likely have your $HOME containing a final slash /. This expands to // after $HOME in the definition of $TEXMF and thus all of your home is searched.

By default $HOME does not contain this final /, so it might have been added locally in your init files.

Other than that, on Debian/Ubuntu TeX Live you change settings by adding lines to /etc/texmf/web2c/texmf.cnf (creating if necessary).