I'm writing a LaTeX document and am using the command line to compile the LaTeX code into a PDF document. In Linux I would just open the PDF with Evince PDF Viewer, and whenever I recompiled the LaTeX code, the PDF would refresh after a couple of seconds.
I'm now trying to do the same thing in Windows. The trouble is, whenever I have the PDF open in Adobe Reader or Foxit Reader, it doesn't even allow me to write to the PDF file. I get this error in the command line when I run pdflatex test.tex
:
! I can't write on file `test.pdf'.
Is there a PDF viewer for Windows that does the following?
- Disables write protection when opening a PDF
- Auto-refreshes when a new PDF is generated