Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

  1. Disables write protection when opening a PDF
  2. Auto-refreshes when a new PDF is generated
share|improve this question

3 Answers 3

up vote 8 down vote accepted

There's an Evince version for Windows.

share|improve this answer
    
Didn't seem to auto-refresh when I tried it, SumatraPDF worked great. –  ForbesLindesay May 28 '12 at 0:45
    
I am using version 2.32.0.145 of evince, it does auto refresh the files which are generated on my Linux machine but displayed under Windows via a samba share (on a portrait monitor at 1200x1920 pixels). –  Anthon Mar 26 '13 at 8:34
    
Autorefreshes for me: win7, network drive, extremly fast -> awesome –  Bernhard Kausler Feb 13 at 9:05

SumatraPDF is free, for Windows, and plays nicely with LaTeX. It will automatically refresh when the pdf is updated.

share|improve this answer
    
SumatraPDF works great! –  Danvil Jul 4 '12 at 11:24
    
SumatraPDF is good. but it doesn't reload opened file on NFS. Have to use Evince for that feature. –  Jokester Apr 4 '13 at 7:16

PDF-XChange Viewer has an option for this, too. Invoke from command line (cmd.exe):

pdfxcview /A "nolock=yes=OpenParameters" test.pdf

See similar question

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.