[pdftex] pdflatex cannot open pdf file for writing on windows

Kester Clegg kester at cs.york.ac.uk
Tue Jun 14 14:33:19 CEST 2005

On Fri, 2005-06-10 at 10:18, The Thanh Han wrote:
> many thanks to Hans.
> Thanh
> On Fri, Jun 10, 2005 at 11:08:39AM +0200, Hans Hagen wrote:
> > The Thanh Han wrote:
> > >Hi,
> > >
> > >a friend of mine asked me how to solve this problem: when
> > >using pdftex on windows, it cannot open the pdf file for
> > >writting if the pdf file is being opened by acrobat reader.
> > >I am not using pdftex on windows so I don't know the
> > >answer. Can someone please help me with this?
> > 
> > well, close the pdf file before pdftex starts; closing the file and then 
> > hitting return works ok
> > 
> > there are also fabrice popineaus pdfopen and pdfclose programs that you can 
> > use to open and close files; you can then make a small batch file/script 
> > that closes, processes and opens; at least that;s what i have here when i 
> > run from the editor; taco hoekwater made a version of pdfopen and pdfclose 
> > for unix
> > 

I find the issue is generally about wanting the sort of refresh that
xpdf and gv offer on other platforms.  Instead, you can try using
pdflatex with the hyperref package.  This lets you open at a specific
page and at a specific view size using acrobat reader:


If you bookmark the that line in your editor, you can conveniently jump
back there to update your page number as you work.  In AR, Alt-f 1 opens
the last file, Ctrl-W closes it.

That's as good as a refresh as I've been able to find.

More information about the pdftex mailing list