On 3/23/2026 3:52 PM, Jim Diamond wrote:
unfortunate that the only example on the \usepath page shows it being used
inside a \startMPinclusions, which might lead the unwary to assume it is
only for MP files.
thit would be \useMPpath (a bit of deduction here)
It is also too bad that it doesn't document what the default path is.
Which might be interesting, since (as shown) \environment acts differently
than \input.
for an old-timer like you, it also takes some adaptation to use \input
{foo} instead of the non-character terminated \input foo i guess, in mp
there's also this input that takes a non-string which makes input a bit
of an outlier in both machineries
Indeed. How about ./../../../xyzzy.tex ? (No need to answer, I can test
if I feel so inclined.)
But it might be interesting to know what the default is. I hunted around
in some Lua files for a while, but my lua-fu is too weak to track the
default down.
so here is some of the magick:
\starttext
\enabletrackers[resolvers.locating]
\input{tufte}
\enabletrackers[resolvers.*]
\environment does-not-exist
\disabletrackers[resolvers.locating]
\stoptext
See log file. All the magic is in the data-ini, data-res, data-pre etc
files. Don't loose sleep over it.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________