TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I love AUCTeX, and use it on an Ubuntu machine all the time. Right now, however, I am stuck with a Windows machine and would like some help getting around a problem. Whenever I try to compile my .tex file with C-c C-c and the file is also open in the viewer, I get the error that "I can't write on abc.pdf".

Of course, I can close the viewer every time I want to compile, but I hope that someone knows how to get around this.

share|improve this question
up vote 3 down vote accepted

If your PDF-viewer is the Adobe Reader (as it often is on Windozs), the Windozs version locks the PDF-file when it is open. Change the viewer to f.ex. Sumatra PDF.

share|improve this answer

Your Answer


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.