I learned not long ago from Akira Kakuto san that XeTeX will automatically search the directory optionally specified by the -output-directory command-line qualifier when searching for files to be \input, \openin-ed, etc :

If an output directory is defined by a user, the TeX library
first searches for files to read in the output directory.
Therefore files such as foo.aux should be read successfully
with the default TEXINPUTS.xetex etc.
In fact, it is working like this here.
Please try once more with the default TEXINPUTS.xetex.

Unfortunately I have just discovered that the same is not true for files read by \XeTeXpdffile. Would it be possible to enhance XeTeX such that it uses the same path search mechanism for \XeTeXpdffile as it uses for \openin, \input, etc., since in my case at least (and perhaps for many others), the PDF file to be read by \XeTeXpdffile has been written by XeTeX on the previous pass.

Philip Taylor


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to