2. check if the file "somefile.tex" exists in the directory being
popped from the stack.
Just for "bug catching"...
it all happens before a file is loaded so the normal reporting is applied
Actually, it is a bit annoying that \environment and \component
do not report an error (or at least a warning message) when the file is
not found. \usemodule at least issues a warning, but does not change the
exit status code, so it is easy to miss the warning message.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________