Where does \environment look?

Jim <[email protected]>
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
Hi,

If TEXINPUTS is not defined, file.tex has

\input xyzzy.tex

and xyzzy.tex is not in the same directory as file.tex, but rather in the
parent directory, when I run
        context file.tex
xyzzy.tex is (unsurprisingly to me) not found.

But if instead file.tex has

\environment xyzzy.tex

then context (evidently) looks in the parent directory and (more
surprisingly to me) finds xyzzy.tex.

The wiki page for \environment does not describe where \environment will
hunt for the given file.  Is the "search path" which \environment uses
documented somewhere?  Failing that, can someone in the know tell me where
it looks?

Thanks.
                                Jim

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.