Darren Freeman wrote:
On Thu, 2007-06-07 at 09:56 -0400, Richard Heck wrote:
kpdf stores zoom and such between sessions on my machine.
Actually I only tried PS so I should have said kghostview only.
Maybe keep the one viewer open, overwrite the file, and send it a signal
to revert? I would have thought that particular idea would be really
handy with anybody else working with TeX and constantly regenerating the
same file - maybe a command line switch to cause the viewer to watch for
changes (or accept SIGUSR1 etc.) and pop to the front at the same page
num, zoom setting, window location as before. Only launch a new viewer
if the old process doesn't exist any more.
This is already possible in LyX: It's what the "update" stuff on the
view menu does---generate the file (dvi, whatever) but NOT open the
viewer. The viewer then sees the changed file and reloads. Again, kpdf
and kdvi will both do this. And cua.bind has C-S-D for buffer-update dvi
already, too.
Confirmed for KPDF, although there is no key binding for it just as
there isn't one for PDF.
I think there may be no default binding in part because there's no
default choice for which PDF thingy to use. Still, there probably ought
to be a key binding. If you want to plow through cua.bind and propose
one....
I originally dropped generating DVI because it wouldn't print....
Now that I knew to look for KDVI I found it in the online SUSE
repository, meaning they left it off the discs. I bet that problem is
long gone and I should give it another shot. I remember now that I was
probably doing this 4 years ago but forgot :)
kdvi is very good, and you can print from it (it just calls dvips). I
tend to use dvi for previews and generate pdf only at the end. kdvi will
also do "reverse search", if you have the right packages installed, and
I think LyX is now set up to do that. Isn't it?
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto