[comp.text] Is there a search path for \input?

cogen@XN.LL.MIT.EDU (cogen) (10/26/89)

When I say \input{filename}, it seems the pathname must either be a full
pathname or must be in the current directory. I want a search path, like the
Unix environment variable PATH. This will be a list of directories to be
searched in order to find the file I specify. I don't believe that such a thing
doesn't exist, because not having it is *extremely* inconvenient. Please tell my
I'm wrong - it does exist.

-- David Cogen

grunwald@foobar.colorado.edu (Dirk Grunwald) (10/27/89)

the \input search path is TEXINPUTS.
e.g.,

setenv	TEXINPUTS ".:$HOME/Latex:$HOME/../Latex:/mnt/tapestry/Latex:/usr/local/lib/tex82/localmacros:/usr/local/lib/tex82/macros:"

ken@cs.rochester.edu (Ken Yap) (10/31/89)

|When I say \input{filename}, it seems the pathname must either be a full
|pathname or must be in the current directory. I want a search path, like the
|Unix environment variable PATH. This will be a list of directories to be
|searched in order to find the file I specify. I don't believe that such a thing
|doesn't exist, because not having it is *extremely* inconvenient. Please tell my
|I'm wrong - it does exist.

For Unix TeX it is TEXINPUTS. For other TeXs usually something similar
exists, read your local manual.