[texhax] whoops

Karl Berry karl at freefriends.org
Sun Oct 26 02:08:12 CEST 2014


    TEXINPUTS=:~/tex:/usr/TeX/lib/tex/macros

    The opening colon means "the current directory, and then ..."

No; in kpathsea (unlike PATH interpretation by shells), the opening
colon actually means "insert the system directories", which is a good
thing.  (A trailing or doubled colon would also mean that.)

To search the current directory first, then a personal directory,
then the system directories, the best approach using TEXINPUTS would be:
TEXINPUTS=.:~/tex:

However, setting TEXMFHOME to the desired directory (default is ~/texmf,
except on Macs where it's ~/Library/texmf) is cleaner yet; then
TEXINPUTS doesn't have to be set at all.  An even better thing.

Best,
Karl


More information about the texhax mailing list