[XeTeX] datetime2 package and XeTeX

Philip Taylor P.Taylor at Rhul.Ac.Uk
Fri Apr 3 14:09:21 CEST 2015

Khaled Hosny wrote:

> I’ve no immediate plans for this myself, but patches are welcomed.

Khaled, did you also see my own query, posted on 23rd ult. and 
replicated below ?

** Phil.
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

More information about the XeTeX mailing list