[tex-live] kpsewhich

Hans Hagen pragma at wxs.nl
Fri Mar 26 20:33:22 CET 2004


At 19:55 26/03/2004, Olaf Weber wrote:

>You mean in the way some cars have the break to the right of the
>accelerator?

no, more like the steer on the left / right -)

> > so, maybe we should look at all scripts/tools and get rid of all
> > things that somehow may interfere with os specific things, a kind of
> > micro tex-os like environment built into kpse:
>
> >    kpsewhich --envvar=WHATEVER
>
> > then returns the meaning of $WHATEVER or %WHATEVER% or WHATEVER* the
> > os env var is set to
>
>This works for a single variable.  It does not work for more general
>expressions, like
>
>         kpsewhich -expand-path='{$SYSTEXMF}/fonst'

hm, then how about some kind of syntax:

   -expand-path='var(SYSTEXMF)/fonts'

that would be upward compatible, wouldn't it?


Hans  



More information about the tex-live mailing list