GeneralOverwrite open PDF

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
rjabdel
Posts: 2
Joined: Tue Sep 13, 2011 11:32 pm

Overwrite open PDF

Post by rjabdel »

Hello everyone,

I am a somewhat seasoned LaTeX user. I work on a Windows XP machine with the MiKTeX distribution and prefer TeXnicCenter, working with the option LaTeX => PDF.

My question is this. In the past, I would build and preview a file, look at the PDF, go back to my TeX file to edit, and press Ctrl + Shift + F5 to build and preview again while the PDF was open. The new PDF would appear with no problem. Now a couple of weeks ago I downloaded MiKTeX and TeXnicCenter on a new computer (also a Windows XP machine), and when I try to build and preview while the old PDF is open, I get 3 errors, all of which pertain to the fact that the first PDF was open. Does anyone know what is going on?

Thanks,


New to the forum

P.S. I am attaching the .log file with the error, in case that helps.
Attachments
Math 402 PCC Fall 2011 Exam 1.log
(20 KiB) Downloaded 357 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Re: Overwrite open PDF

Post by justdeath »

It depends on which PDF viewer you are using.

Adobe Reader and Foxit Reader lock the opened files. You should close them when recompiling the document and then open the file again.

You can also use Sumatra PDF or Evince Document Viewer, they refresh the document automatically when changes are detected.

Nikolay
rjabdel
Posts: 2
Joined: Tue Sep 13, 2011 11:32 pm

Re: Overwrite open PDF

Post by rjabdel »

Thank you, but on my old laptop I use Adobe Reader, and the PDF files overwrite with no trouble while open. Is it some kind of bug in some new version of LaTeX?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Overwrite open PDF

Post by Stefan Kottwitz »

Which version of Adobe Reader do you use on your old laptop, and which one on your new computer? I guess an older version of the Adobe Reader doesn't have this problem. You could install this version, if you insist on using the Adobe Reader.

Stefan
LaTeX.org admin
Post Reply