From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Close PDF-Viewer automatically before compiling new LaTeX Code Date: Tue, 12 Dec 2006 00:33:03 -0500 Message-ID: References: <4u5kjmF1645toU1@mid.dfncis.de> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165902041 14173 80.91.229.10 (12 Dec 2006 05:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 05:40:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 12 06:40:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gu0NX-0004k6-Ke for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 06:40:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gu0NW-0005gG-RF for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Dec 2006 00:40:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.umontreal.ca!news.umontreal.ca.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 11 Dec 2006 23:33:03 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:z7SPz6e/VSHMNHLkGvGHEIdYrjk= Original-Lines: 15 Original-NNTP-Posting-Host: 132.204.27.213 Original-X-Trace: sv3-C4YgCPf9YD78WSBSWWYqYFZ8RjLriIGyJoCw2/pPFA0x1vWQNMJH4lQ74BMofmSuKJExY/Abe8cBZRT!FOA3d9cguIwtdHIz5uirjgQ5zwKChoF7XaBh8QVn7Kq9EVBaYAHCw8cF1xPWdrEzFKKNGdH7lDKf!yeIvEnRqKA76bchSZQ== Original-X-Complaints-To: abuse@umontreal.ca X-DMCA-Complaints-To: abuse@umontreal.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:143848 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39450 Archived-At: > I am using (PDF)LaTeX with GNU Emacs 22.0.50.2 and AucTeX. > Is there any way to tell Emacs to close the current preview in Adobe Acrobat > Reader automatically before compiling a new preview? > This is to avoid any error messages like > "ERROR: I can't write on file `_region_.pdf'." > I find it annoying having to close the Acrobat window by hand. Just use a saner viewer. Try xpdf, for example. It won't reload automatically, but a quick tap on the R key will force it to reload the file. No need to close&reopen. And it's Free Software on top of it, so it's good for your karma, Stefan