[tex-k] make pdflatex overwrite the old file while in use by
Acrobat
Fabrice Popineau
Fabrice.Popineau at supelec.fr
Thu Mar 11 11:14:56 CET 2004
> Hello tex-k, I am using pdflatex to produce pdf documents. I use
> Acrobat Reader on XP to wiev the resulting pdf file. The annoing part
> is that I have to close the file from Acrobat before running pdflatex,
> otherwise pdflatex asks me to give a different filename. How to make
> pdflatex overwrite the old file, or how to make Acrobat insensitive?
> I looked at the help of pdflatex and acrobat and could not figure an
> answer.
The answer is to ask the guys at Adobe to release the hold they put on
the file when Acrobat is put in background.
You can try to use my pdfopen/pdfclose tools and automate the
compilation process.
C:\Source\TeXLive\Master\Tools>pdfopen --help
Usage:
pdfopen --file <filename> [--page <page>]
Opens <filename> (at page <page> if available)
in Acrobat or Acrobat Reader.
pdfclose --file <filename>
Closes <filename> in Acrobat or Acrobat Reader.
pdfclose --all
Closes all documents in Acrobat or Acrobat Reader.
pdfdde
Read commands on stdin
Beware: only documents opened by `pdfopen' can be closed
by `pdfclose'.
Fabrice
More information about the tex-k
mailing list