there is also code like:
if (($UseEnginePath)&&($EngineDone)) { $FormatPath = `$kpsewhich --engine=$EnginePath --show-
Hans Hagen said this at Fri, 27 May 2005 20:22:03 +0200: path=fmt` ;
} else { $FormatPath = `$kpsewhich --show-path=fmt` ; }
Yeah, I tried using $EnginePath when poking at the function, but I guess your new checktexformatpath() is called before that's defined?
what does --show-path=fmt
reports?
as expected (piped command to help legibility): % kpsewhich --show-path=fmt | tr : '\n' . /Users/atl/Library/texmf/web2c/// !!/usr/local/teTeX/share/texmf.local/web2c/// !!/usr/local/teTeX/share/texmf.gwtex/web2c/// !!/usr/local/teTeX/share/texmf.tetex/web2c/// !!/usr/local/teTeX/share/texmf/web2c/// /Users/atl/Library/texmf/web2c/// !!/usr/local/teTeX/share/texmf.local/web2c/// !!/usr/local/teTeX/share/texmf.gwtex/web2c/// !!/usr/local/teTeX/share/texmf.tetex/web2c/// !!/usr/local/teTeX/share/texmf/web2c/// % kpsewhich --show-path=fmt --engine=pragma | tr : '\n' . /Users/atl/Library/texmf/web2c/pragma// !!/usr/local/teTeX/share/texmf.local/web2c/pragma// !!/usr/local/teTeX/share/texmf.gwtex/web2c/pragma// !!/usr/local/teTeX/share/texmf.tetex/web2c/pragma// !!/usr/local/teTeX/share/texmf/web2c/pragma// /Users/atl/Library/texmf/web2c/// !!/usr/local/teTeX/share/texmf.local/web2c/// !!/usr/local/teTeX/share/texmf.gwtex/web2c/// !!/usr/local/teTeX/share/texmf.tetex/web2c/// !!/usr/local/teTeX/share/texmf/web2c/// -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-