Write to pdf file while having it opened in Acrobat Reader in Windows 7

6

I'm using Texlipse as my default Latex editor. When I use Ubuntu I can leave the pdf file I'm creating opened in Evince and it just updates as soon as I save the Latex document in Texlipse and build the pdf. Unfortunately this is not possible in Windows 7. When I leave the pdf file opened in Adobe Reader I get the error message

Problems encountered while deleting resources. Could not delete 'C:\foobar.pdf'

Is there a way to bypass this problem or is Windows blocking access to opened files by default? Why is it working on Ubunut then?

sfat

Posted 2013-09-12T10:07:55.377

Reputation: 181

2Windows is not Linux. Windows opens files exclusively by default, on Linux the default is different (both OSes support both modes, by the way). – Joachim Sauer – 2013-09-12T10:11:34.240

2and it will depend on the other program that has it open, looks like adobe reader keeps the lock as long as it is opened – ratchet freak – 2013-09-12T10:15:46.943

Is there an easy way to control how programs open files (in both OSes)? – None – 2013-09-12T10:23:08.593

@JoachimSauer: There are PDF viewers that don't lock PDFs, e.g. Sumatra. – Reinstate Monica - M. Schröder – 2013-09-12T21:34:55.350

Thanks, Martin Schröder. Sumatra works like a charm and is also a lot faster than Adobe Reader! I think your comment would be a good answer for my question. – sfat – 2013-09-13T08:19:58.873

Answers

2

As @MartinSchröder suggested, the PDF viewer Sumatra is the most simple solution for previewing PDFs while working with Texlipse in Windows.

sfat

Posted 2013-09-12T10:07:55.377

Reputation: 181

This is exactly what I was looking for. Thank you very much. – Faridzs – 2019-09-07T15:13:42.793

2

I had the same problem with latex. I know two possible solutions:

  1. You can use older Adobe Reader - versions like 5 or 6 didn't have this problem so they were good for latex. I used it in the past together with WinEdt editor.
  2. You can use TexLive 2013 with its built-in latex editor and pdf viewer. They are simple but work like a charm.

Al Kepp

Posted 2013-09-12T10:07:55.377

Reputation: 322

Using Adobe Reader 5 or 6 is a good suggestion, but they lack functionality that modern PDF viewers provide. Besides, these version impose security issues. Migrating to TexLive is a possible option but I use Eclipse for many other languages (Java, Python, PHP) and I'd rather stay with it. – sfat – 2013-10-23T09:15:49.260