[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot have two processes for latex document
From: |
Oleg Katsitadze |
Subject: |
Re: cannot have two processes for latex document |
Date: |
Thu, 16 Aug 2007 00:30:40 +0300 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
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