When trying to compile my document with custom cls and sty files, I'm getting this error message (for four files in total):
! LaTeX Error: File `filename.cls' not found.
Using pdflatex I can enter the path and filename and the document gets compiled without errors. I put the files in ~/texmf/latex/tex/mais/
I tried setting the previously empty TEXINPUTS which did not work:
export TEXINPUTS=/home/chris/texmf/latex/tex/mais/:${TEXINPUTS}
I also created a symlink in /usr/local/texlive/texmf-local/tex/latex to above directory.
Where do I need to put my custom files for LaTeX to work? I use it at the office all the time but at home I just messed up something and can't use it here.
I'm running Ubuntu 14.04 with texlive 2016
kpsewhich -var-value=TEXMFHOME
? Also, the path should better be/home/chris/texmf/tex/latex/mais
(rename the folders). – egreg Jul 10 '17 at 13:56