[tex-live] kpsewhich --format=texmfscripts for texexec

Thomas Esser te at dbs.uni-hannover.de
Sun Jul 11 18:41:16 CEST 2004


On Sun, Jul 11, 2004 at 05:07:10PM +0100, Sebastian Rahtz wrote:
> >my $IniPath = `$kpsewhich --format="scripts" -progname=context 
> >texexec.$suffix` ;

"beta = better" as usual :-) The current beta release of context gets it
right. At least, almost...:

$ find scripts/context -type f | xargs grep "kpsewhich.*format.*script"
scripts/context/perl/texexec.pl:    my $IniPath = `$kpsewhich --format="texmfscripts" -progname=context texexec.$suffix` ;
scripts/context/perl/texshow.pl:    $cont_pm_path = `kpsewhich --format="texmfscripts" --progname=context cont_mis.pm` ;
scripts/context/ruby/texmfstart.rb:                fullname = `kpsewhich -progname=#{program} -format=scripts #{filename}.#{suffix}`.chomp
scripts/context/ruby/textools.rb:                used = `kpsewhich -format=texmfscripts #{filename}`.chomp
scripts/context/ruby/textools.rb:                used = `kpsewhich -progname=context -format=texmfscripts #{filename}`.chomp

So, only texmfstart.rb still uses
  -format=scripts

Thomas



More information about the tex-live mailing list