[Tex/LaTex] Can pdflatex create the pdf file while a previous version is being viewed with Adobe Reader

adobecompilingviewers

Within Cygwin I use vim to write my .tex file, then compile with pdflatex.
I then view the .pdf file with Adobe Reader (outside Cygwin that is, I just double-click the .pdf file from within a windows 'explorer' window).

If I then edit my .tex file and recompile with pdflatex I have to first close the file in Reader, otherwise pdflatex complains that the file is being used and will note write the updated .pdf file.

On my Mac at home (using the in-built PDF viewer 'Previwer') I do not need to close the .pdf I am viewing — and furthermore the viewer will recognize that I have updated the .pdf and show me the new version. All quite nice really.

I would like to have similar behaviour on my work Cygwin system. Any ideas how I could do that?

Some technical details:

  • using Cygwin v 1.7.15 (from cygcheck) or CYGWIN_NT-6.1-WOW64 (from
    uname)
  • using Adobe Reader X version 10.1.6

Many thanks.

Best Answer

The behaviour you are seeing is caused by the fact that Adobe Reader locks the file while it is open. Use a better PDF viewer, or use an integrated solution (with viewer) like TeXWorks, TeXStudio or TeXMaker.

Aparently there seems to be no way to make Adobe Reader behave like a nice application...