From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26159 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Closing PDF file at each run Date: Mon, 27 Feb 2006 10:48:07 +0100 Message-ID: <4402CAD7.7040708@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141033882 8962 80.91.229.2 (27 Feb 2006 09:51:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2006 09:51:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 27 10:51:15 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FDezK-0002Xd-55 for gctc-ntg-context-518@m.gmane.org; Mon, 27 Feb 2006 10:48:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4262D12772; Mon, 27 Feb 2006 10:48:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30509-06-8; Mon, 27 Feb 2006 10:48:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E4F4512792; Mon, 27 Feb 2006 10:48:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E64AE12792 for ; Mon, 27 Feb 2006 10:48:09 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30509-06-7 for ; Mon, 27 Feb 2006 10:48:08 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 6B0BF12772 for ; Mon, 27 Feb 2006 10:48:08 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 040991B43A for ; Mon, 27 Feb 2006 10:48:08 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04017-06 for ; Mon, 27 Feb 2006 10:48:07 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id B6249181FF for ; Mon, 27 Feb 2006 10:48:07 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26159 Archived-At: Hooman Javidnia wrote: > Hi, > > When compiling a file in SciTE using F7, if the file, is already open in > Adobe Acrobat, the compilation stops and asks for a new file name to write > the PDF file to. I think the normal behavior would be to automatically > close the current instance of the file in Acrobat and compile it again. > > Is there something wrong with my installation, or this is a bug? Automatic re-opening of the file only works if you start by opening the file from F7 (so that it is 'controlled' by texexec). This is a known limitation in the Reader --that cannot re-read a file on its own-- and windows --that uses a mandatory file locking mechanism--. Texexec uses a pair of programs by Fabrice Popineau to make Acrobat automatically close and reopen the document. But this only works if it can control the file opening and closing from the start. Cheers, Taco