Hi, I installed some local additions to the system wide texmf tree in ~~/texmf. In order to have latex pick that stuff up, I set $TEXMF to {$HOME/texmf,!!$TEXMFMAIN//,!!$TEXMFLOCAL//}. That results in:
% kpsewhich -expand-var='$TEXMF' warning: kpathsea: variable `TEXMF' references itself (eventually). {/home/jesse/texmf,!!/tmp_mnt/usr/local/teTeX/share/texmf//,!!/tmp_mnt/usr/local/teTeX/share/texmf.local//} The latter two directories are defined in the system's teTeX/share/texmf/web2c/texmf.cnf. The stuff in ~/texmf/... seems to be picked up correctly. However, problems with other packages arise: ------------------------------- snip --------------------------------- % latex blurb.tex This is TeX, Version 3.14159 (Web2C 7.3.1) (blurb.tex LaTeX2e <1999/12/01> patch level 1 Babel <v3.6Z> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/tmp_mnt/usr/local/teTeX/share/texmf/tex/latex/koma-script/scrbook.cls Document Class: scrbook 2001/08/17 v2.8l LaTeX2e KOMA document class (/tmp_mnt/usr/local/teTeX/share/texmf/tex/latex/base/bk11.clo) (/tmp_mnt/usr/local/teTeX/share/texmf/tex/latex/koma-script/typearea.sty Package: typearea, Copyright (C) Frank Neukam, 1992-1994 Copyright (C) Markus Kohm, 1994-2001 )) (/tmp_mnt/usr/local/teTeX/share/texmf/tex/latex/listings/listings.sty (/tmp_mnt/usr/local/teTeX/share/texmf/tex/latex/graphics/keyval.sty) (/tmp_mnt/usr/local/teTeX/share/texmf.local/tex/latex/listings/lstpatch.sty ! Undefined control sequence. l.152 \lst@CheckVersion {1.0} ------------------------------- snip --------------------------------- The document blurb.tex is: \documentclass{scrbook} \usepackage{listings} \begin{document} blurb. \end{document} No problems arise, when I unset the TEXMF environment variable. Of course, the files in ~/texmf won't be picked up anymore. Any hints on what I am missing here (as well as which documentation I might not have read) are appreciated. Roland