Hi all! Lets consider the following situation. There are 3 catalogs; ./lofo1, ./lofo2, ./lofo3, each of them contains files 'aqq.xml' and 'cow.png' for example. Filenames are the same, but they may have different content. I need to include all these files into one PDF document WITHOUT giving absolute paths in TeX code. I tried something like \usepath[lofo1] \processXMLfilegrouped{aqq.xml} \usepath[lofo2] \processXMLfilegrouped{aqq.xml} \usepath[lofo3] \processXMLfilegrouped{aqq.xml} but in this example the same file (./lofo1/aqq.xml) will be processed 3 times and that is not what I need. Actually the situation is even more complicated; I have quite big XML tree with hunderts of files and images, with dozens of catalogs. I wrote a perl script which change current directory for each process and run texexec in changed one. And it works OK since I want to have separate PDF document from each `lofo?' catalog. But how to make one PDF document in such situation using \use[sub]path texnique? In other words, how to reset settings from \usepath and \usesubpath commands? And how to do the same for externalfigures? Thanks in advance, Pawe/l