On Sun, 3 Nov 2002, Paul Tremblay wrote:
>Could someone tell me how to create a local texmf directory? I have been
Easy way: edit /etc/profile (if you're using bash) and add these lines:
if [ -x $HOME/texmf ]; then
export TEXINPUTS=$HOME/texmf:
fi
Then create directory ~/texmf and copy your files to it.
However, in my Debian system, file /etc/texmf/texmf.cnf contains line
HOMETEXMF = $HOME/texmf
which adds directory ~/texmf to the TeX directory tree--but it is not so
easy to use, because you can not simply copy files to ~/texmf, but
you must create a valid directory tree structure there, or TeX won't find
the files. So, if you're not using the TEXINPUTS variable, you must do:
mkdir -p ~/texmf/tex/latex/local
and copy class files (.cls) in the above created directory.