From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleg Katsitadze Newsgroups: gmane.emacs.help Subject: Re: cannot have two processes for latex document Date: Thu, 16 Aug 2007 00:30:40 +0300 Message-ID: <20070815213040.GA24881@thor> References: <46C365E5.9050607@telenet.be> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187248307 16436 80.91.229.12 (16 Aug 2007 07:11:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2007 07:11:47 +0000 (UTC) Cc: emacs list To: Alain Muls Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 16 09:11:43 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILZW7-0006Aq-Ky for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2007 09:11:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILZW6-0006W4-Q5 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2007 03:11:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILQS9-0000bG-Ko for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 17:30:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILQS7-0000ar-It for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 17:30:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILQS7-0000an-FW for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 17:30:55 -0400 Original-Received: from mu-out-0910.google.com ([209.85.134.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILQS7-000064-3b for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 17:30:55 -0400 Original-Received: by mu-out-0910.google.com with SMTP id g7so47309muf for ; Wed, 15 Aug 2007 14:30:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=A4YeYTWEVHoeEZAgNX2LtExl+YKAsQAQy13Pk+BVyKW0+tnSmr7HsIQRFP2RMeDzFV8F31DI27VrbyXOIEEuYn3Tz7d1X2sMVbQxyokiUxo+LaQPtttktSsZKSfBLSdWmab7nBVC2GtLYVz6FUjWtywccQ4SO+qyeBlWXGpfthc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=WnN0DUUjtHRcCOpXQTJhYhWfsAeEaghbpcwKQoxC+jn5Lz+v01CuqlniXS5bGf0L0KZig98Zi1Mwsruo/jnLBhY1vQYguq70TkLtcHH8k7CeM19YJc4LoJJiX1AJZ/jyJF4po1gXjrEqL8U7lm4Vs2GpR+dvQyQstbN9qOdrlA4= Original-Received: by 10.86.23.17 with SMTP id 17mr488588fgw.1187213453180; Wed, 15 Aug 2007 14:30:53 -0700 (PDT) Original-Received: from localhost ( [195.110.7.101]) by mx.google.com with ESMTPS id k29sm151521fkk.2007.08.15.14.30.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2007 14:30:52 -0700 (PDT) Mail-Followup-To: Alain Muls , emacs list Content-Disposition: inline In-Reply-To: <46C365E5.9050607@telenet.be> User-Agent: Mutt/1.5.16 (2007-06-11) X-Detected-Kernel: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 16 Aug 2007 03:11:25 -0400 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:46596 Archived-At: On Wed, Aug 15, 2007 at 10:45:25PM +0200, Alain Muls wrote: > I edit/compile latex documents in Emacs. I would like to add a command to > view the pdf output using kpdf. I can run the command kpdf file.pdf, but > when I change something in the editor and want to recompile, I have to > close kpdf. I would like to change this so that kpdf can remain open. I don't know about kpdf, but you can do this (and more) with xpdf. Start xpdf like this: $ xpdf -remote key file.pdf Then compile your file like this: $ pdflatex file.tex && xpdf -remote key -raise -reload You don't even need to press M-TAB (or whatever you use to switch windows)! HTH, Oleg