[tex-k] kpsewhich, TEXINPUTS, -expand-var, and -progname
Tom Kacvinsky
tjk@ams.org
Sun, 1 Apr 2001 22:16:57 -0400 (EDT)
Most excellent!
Thanks Julian...
Tom
On Mon, 2 Apr 2001, Julian Gilbey wrote:
> On Sun, Apr 01, 2001 at 02:53:47PM -0400, Tom Kacvinsky wrote:
> > I am in the process of setting up some shell scripts wherby I customize search
> > paths by setting the environment TEXINPUTS (I'm using tcsh). The way I am
> > customizing TEXINPUTS is by appending `:' to a `:' separated list of paths. For
> > example:
> >
> > setenv TEXINPUTS /foo//:/bar//:
> >
> > What I would then like to see is how TEXINPUTS looks when latex, tex, pdftex,
> > et. al. are invoked. I am trying to do this by using kpsewhich:
> >
> > kpsewhich -progname=tex -expand-var='$TEXINPUTS'
> > kpsewhich -progname=latex -expand-var='$TEXINPUTS'
>
> The following do what you want:
>
> kpsewhich -progname=tex -show-path=tex
> kpsewhich -progname=latex -show-path=tex
>
> Julian
>
>