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?

5
  • 2
    Windows is not Linux. Windows opens files exclusively by default, on Linux the default is different (both OSes support both modes, by the way). Sep 12, 2013 at 10:11
  • 2
    and it will depend on the other program that has it open, looks like adobe reader keeps the lock as long as it is opened Sep 12, 2013 at 10:15
  • Is there an easy way to control how programs open files (in both OSes)?
    – sfat
    Sep 12, 2013 at 10:23
  • @JoachimSauer: There are PDF viewers that don't lock PDFs, e.g. Sumatra. Sep 12, 2013 at 21:34
  • 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
    Sep 13, 2013 at 8:19

2 Answers 2

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.
1
  • 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
    Oct 23, 2013 at 9:15
2

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

1
  • This is exactly what I was looking for. Thank you very much.
    – Faridzs
    Sep 7, 2019 at 15:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .