I'm on Ubuntu 12.04 (not sure if it makes a difference) and I'm trying to change
$TEXMFHOME to a custom directory. Currently it is
$HOME/texmf, which I believe is the default, but even when I put
.sty files in there the compilation of the
.tex file cannot find it. And more so, when I change the directory of
$TEXMFHOME to something else and move the
.sty file there, it still can' find it. However, if I put the
.sty file in the same directory as the
.tex file it works perfectly (not what I want though). I am changing
/etc/texmf/texmf.d/05TeXMF.cnf and using
sudo update-texmf to generate the
texmf.cnf file. Is this the correct way? What am I doing wrong?
If it's helpful, I am using emacs with auctex as my editor.
I have found other threads on here and other sites that are very similar, but none of the solutions for those worked for me.