Does this previous answer help? <https://www.mail-archive.com/[email protected]/msg109517.html>
> On 8 Mar 2026, at 12:41, Giuseppe Bilotta <[email protected]> wrote: > > Hello all, > > I'm using a file structure like this: > > maindoc.tex > maindoc/subdoc1.tex > maindoc/subdoc1/image.png > maindoc/subdoc2.tex > maindoc/subdoc2/otherimage.png > > I can use \usepath to include subdoc1 and subdoc2 from maindoc, but > within each subdoc I have to use e.g. maindoc/subdoc1/image to find > the file. Is there a way to make the externalfigure path list > automatically include the usepath when it gets changed? > > As an alternative/in addition to this, is it possible to configure the > figure search path so that it is always relative to the *current* > input file rather than the current working directory or the main input > file? > > And finally: does switching to a project/product/component layout > solve this automatically? (I am planning the move but when I last > tried this it stopped recognizing my first-page layouts and setups, so > this is still pending.) > > Cheers, > > Giuseppe Bilotta — Bruce Horrocks Hampshire, UK ___________________________________________________________________________________ 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 ___________________________________________________________________________________
