[XeTeX] Low-level diagnostic ("fwrite") generated by XeTeX

Jonathan Kew jfkthame at googlemail.com
Tue Feb 2 18:46:30 CET 2010


On 2 Feb 2010, at 16:43, Philip TAYLOR wrote:

> If the PDF file to which XeTeX is to write
> is already open in Adobe Acrobat, XeTeX
> terminates with a low-level diagnostic
> concerning "fwrite" :

Hmmm.... I guess the output driver (xdvipdfmx) is complaining that it can't open its output file (because Acrobat has it locked), and quitting - and then xetex fails when trying to send data to it. Obviously this situation needs some better error handling.

> 
>> H:\TeX\Projects\Correspondence>xetex we-have-moved
>> This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 2009)
>> entering extended mode
>> (./we-have-moved.tex (./SL-Preamble.tex (./Sender.tex)) (./Amex.tex)
>> (./SL-Body.tex) [1] (./SL-Preamble.tex (./Sender.tex)) (./Aviva.tex)
>> (./SL-Body.tex) [2] (./SL-Preamble.tex (./Sender.tex)) (./Barclays-SB.tex)
>> (./SL-Body.tex) [3] (./SL-Preamble.tex (./Sender.tex)) (./Citibank.tex)
>> (./SL-Body.tex) [4] (./SL-Preamble.tex (./Sender.tex)) (./CSMA.tex)
>> (./SL-Body.tex) [5] (./SL-Preamble.tex (
>> ** ERROR ** Unable to open "we-have-moved.pdf".
>> 
>> Output file removed.
>> ./Sender.tex)) (./Sensura.tex)
>> (./SL-Body.tex) [6] (./SL-Preamble.tex (./Sender.tex)) (./TUG.tex)
>> (./SL-Body.tex) [7xetex.exe: fwrite: Invalid argument
>> 
>> H:\TeX\Projects\Correspondence>
> 
> Philip Taylor
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex




More information about the XeTeX mailing list