[texhax] adobe 10

Philipp Stephani st_philipp at yahoo.de
Sun May 29 21:06:34 CEST 2011


Am 29.05.2011 um 19:59 schrieb Heiko Oberdiek:

> On Sun, May 29, 2011 at 01:26:57AM +0200, Reinhard Kotucha wrote:
> 
>> Why?  As I said before, a file exists even after it has been deleted.
>> It exists until the last process accessing it dies.  AR can read from
>> an already opened file whenever it wants, regardless of whether TeX
>> created a new, incompatible, version of a file with the same name.
>> There are actually two distinct files, though only one of them has a
>> name (a directory entry).
> 
> But a writing process might open the existing file and deleting
> the contents by truncating. Then there is only one modified file
> and the reading program might be surprised.

And that is what TeX programs do. They never delete files, they just re-create them, and therefore the PDF viewer reads the same file that the compiler writes. It can often be observed that automatically-reloading PDF viewers show blank pages during long compilation processes. This would not happen if the file that is written is not the same file than that which is read.


More information about the texhax mailing list