[tex-live] kpsewhich

Hans Hagen pragma at wxs.nl
Fri Mar 26 16:22:56 CET 2004


Hi,

When using kpsewhich, there is a dependency on the OS

linux:

   kpsewhich -expand-var "\$SELFAUTOPARENT"
   kpsewhich -expand-var '$SELFAUTOPARENT'

windows

   kpsewhich -expand-var $SELFAUTOPARENT
   kpsewhich -expand-var "$SELFAUTOPARENT"

this means that it's rather uncomfortable to write scripts that are 
portable. So, i wonder if it's possible to make kpsewhich in this respect 
platform independent.

for instance:

   -expand-var

expects a var, so maybe supporting

   kpsewhich -expand-var SELFAUTOPARENT

makes sense as well.

Hans



-------------------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE/POD/CTS
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------



More information about the tex-live mailing list