Re: [NTG-context] Re: reset \use[sub]path

2003-11-10 Thread Hans Hagen
At 17:37 10/11/2003, you wrote:
Hi,

 From: Hans Hagen [EMAIL PROTECTED]
 \usesubpath[reset]
Hans, are you sure about that?
(\use*sub*path)
 Also without expected results. So what is wrong in the following
 code?

 \starttext
 \usesubpath[lofo1]
 \processXMLfilegrouped{aqq.xml}
 \usesubpath[reset]
try: \usepath[reset]
indeed reset only works for usepath

(has to do with the fact that any \usesubpath triggers extension of the 
path list)

Hans

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: reset \use[sub]path

2003-11-10 Thread Pawel Jackowski na Onet
Problem: reset path

  Also without expected results. So what is wrong in the following
  code?
 

  \starttext
  \usesubpath[lofo1]
  \processXMLfilegrouped{aqq.xml}
  \usesubpath[reset]

 try: \usepath[reset]

I did so. I've noticed that 'reset' option works for \usepath only but I
still get the solution. Please consider the following example (attached). We
have './lofo1' and './lofo2' directories, each contains 'x.xml' file (the
same filename but different content). ConTeXt code is as following:

\starttext
 \usepath[lofo1]
 \processXMLfilegrouped{x.xml}

 \usepath[reset]

 \usepath[lofo2]
 \processXMLfilegrouped{x.xml}
\stoptext

In this case 'reset' option works probably OK, since \allinputpaths variable
IS redefined to \empty (lines 99 to 104 of core-job.tex). So I expect that
the first processed XML file should be './lofo1/x.xml' and the second --
'./lofo2/x.xml'. But './lofo1/x.xml' file is processed twice instead. What
construction should I use to process two or more XML files, which have the
same name but different localization? I'm aware that my problem is not
common but...

Thanks for Your help, Pawe/l


usepath.zip
Description: Binary data