[dvipdfmx] Intermittent xdvipdfmx failure

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Tue Jan 26 16:17:02 CET 2021


Hallo again Tim — I have now tested my script under Windows Server 2019, 
which shares a large fraction of its code-base with Windows 10, and I 
cannot reproduce the "A duplicate file name exists, or the file cannot 
be found" problem.  Below is my amended "Do-it.cmd" with the call to 
XeTeX commented out and the call to "xdvipdfmx" replaced by a call to 
"copy" (I copied Hirata-san's files to my Server 2019 system, but 
"xdvipdfmx" appears to assume a TeX Live environment, with which I do 
not want to burden my server, and will not run without ...).

** Phil.
--------
> @echo off
> SETLOCAL
> SET SOURCE_DATE_EPOCH=1456304492
> REM xetex -no-pdf test.tex
> FOR /L %%n in (1,1,1073741823) DO (copy/b good.pdf test.pdf && FOR %%m 
> in (test.pdf) DO ECHO Iteration %%n: %%~zm bytes  && IF %%~zm == 
> 393023 (DEL good.pdf && REN %%m good.pdf) ELSE (REN %%m bad.pdf && 
> PAUSE)) || ECHO Failed with error %ERRORLEVEL% && PAUSE



More information about the dvipdfmx mailing list.