[NTG-context] new version

Adam Lindsay atl at comp.lancs.ac.uk
Fri May 27 21:09:59 CEST 2005


Hans Hagen said this at Fri, 27 May 2005 20:22:03 +0200:

>there is also code like:
>
>         if (($UseEnginePath)&&($EngineDone)) {
>             $FormatPath = `$kpsewhich --engine=$EnginePath --show-
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 at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list