[NTG-context] reset \use[sub]path
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 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] reset \use[sub]path
At 20:12 03/11/2003, you wrote: In other words, how to reset settings from \usepath and \usesubpath commands? And how to do the same for externalfigures? \usesubpath[reset] Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] reset \use[sub]path
problem: reseting input paths Hi Hans At 20:12 03/11/2003, Pawel wrote: In other words, how to reset settings from \usepath and \usesubpath commands? And how to do the same for externalfigures? From: Hans Hagen [EMAIL PROTECTED] \usesubpath[reset] Thanks a lot but I still can't get it. After inspecting core-job.tex file and tried 'reset' option. Also without expected results. So what is wrong in the following code? \starttext \usesubpath[lofo1] \processXMLfilegrouped{aqq.xml} \usesubpath[reset] \usesubpath[lofo2] \processXMLfilegrouped{aqq.xml} \usesubpath[reset] \write16{\allinputpaths} \stoptext In this example \allinputpaths comma-list written to log looks like this: lofo1,lofo1/reset,lofo1/lofo2,lofo1/reset/lofo2,lofo1/reset/reset,lofo1/lofo 2/reset,lofo1/reset/lofo2/reset So 'reset' is treated as a directory name. Why? What am I doing wrong? Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context