1

I switched from Mac to Windows recently and would like to continue to use Emacs as my editor. On my macbook I could make the pdf file from my tex file from the command line and open the pdf while the pdf file was open. It would rewrite it and then reopen the new version of the pdf. In windows pdflatex stops running and says that it can't write to the pdf file when it is open. Is there a way around this? Is it the pdf viewer I'm using or is it a problem with how Latex works in windows.

Thanks!

  • Are you using Adobe Reader as a viewer, per chance? – Bernard Jul 14 '18 at 19:31
  • Probably a bit of both. I’d just close the external PDF viewer and use the internal one with the editor. – Ruixi Zhang Jul 14 '18 at 19:31
  • 1
    Have you tried Sumatra? – cmhughes Jul 14 '18 at 19:33
3

Try Sumatra PDF Reader (https://www.sumatrapdfreader.org/free-pdf-reader.html) It is a free pdf reader. It is not blocking write access for the opened pdfs and it automatically refreshes them.

Also, you can double click on a pdf file created with latex and it will "backtrack" to find the original tex file (to edit the latex code)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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