[TxMt] latex svn: TEXINPUTS not respected

Andrew Jaffe a.h.jaffe at gmail.com
Fri Feb 2 09:16:50 UTC 2007


Dear Haris (or whomever else!),

The latest SVN versions of the latex bundles don't seem to respect the 
value of TEXINPUTS. Instead, the bundle has the lines


# Add our tex directory to the TEXINPUTS variable so e.g. pdfsync is 
found (even when the user hasn’t installed it)
# preceeding colon stands for default search paths. Search them first so 
if user installed pdfsync it'll use that one
export TEXINPUTS=":$TM_BUNDLE_SUPPORT/tex//"

The problem is that this doesn't actually *add* to the TEXINPUTS; it 
overwrites it.

It should probably be something like
export TEXINPUTS=":${TEXINPUTS}:$TM_BUNDLE_SUPPORT/tex//"

but with some better shell-substitution to take care of possible 
previous values or lack thereof for TEXINPUTS.

Yours,

Andrew




More information about the textmate mailing list