From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ferhun_caner@yahoo.com (Dr. F.C.Caner) Newsgroups: gmane.emacs.help Subject: Re: File variables in tex-site.el Date: 1 May 2003 03:00:30 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <65fef11f.0305010200.54e2d8f2@posting.google.com> References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051783311 27943 80.91.224.249 (1 May 2003 10:01:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 10:01:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 01 12:01:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BAsv-0007GX-00 for ; Thu, 01 May 2003 12:01:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BAsR-0006cE-02 for gnu-help-gnu-emacs@m.gmane.org; Thu, 01 May 2003 06:01:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 194.27.206.47 Original-X-Trace: posting.google.com 1051783230 28449 127.0.0.1 (1 May 2003 10:00:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 1 May 2003 10:00:30 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:112617 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9114 "Ulrich Dirr" wrote in message news:b8qko3$hsr$1@online.de... > > Just to recall: I want to invoke PDFeLaTeX and when compiling was > successful automatically invoke 'View PDF' without any key to be > pressed. And of course it would be a nice feature if Emacs could close > any PDF document in Acrobat(Reader) before compiling (because Acrobat > blocks the file) and changing to Acrobat if all above was successfully > done. Then work/compile-cycles would be really economic and could save > really much time especially on bigger projects when finetuning requires > many corrections (with recompiling), don't you think so? I am suffering from exactly the same thing, and I think it is time to solve this problem. I think launching the Acrobat Reader right after using LaTeX Pdf can be done from within Emacs. However, to close the document in the Acrobat Reader, I don't know if elisp can be used. I think, on the other hand, a small Windows program in C++ may be written, which Emacs can be instructed to call right before compiling the LaTeX file using LaTeX Pdf. Can it be coded in elisp? FCC