[texhax] Better pdf reader?

Lars Madsen daleif at imf.au.dk
Mon May 8 00:39:21 CEST 2006


Oleg Katsitadze :

> On Sun, May 07, 2006 at 12:31:46AM +0100, Steve Schwartz wrote:
>> With acrobat reader, the best you can do is Ctrl-w (to close the
>> document but leave the reader open) followed by Alt-f (to pull down the
>> File menu) then 1 (to open the most recent file). This isn't nearly as
>> good as the xpdf solution, because it will reopen to page 1 and default
>> magnification, but is better than quitting the reader and restarting it.
>
> Still not as good as xpdf's `reload' function, but a little
> more convenient than opening the recent file:  you can do
> Ctrl-w followed by Alt-left.  This goes back in history,
> opening the document you've just closed, on the same page
> and with the same magnification (and even on the same
> position on that page).
>

xpdf can even do better

start it by using

xpdf -remote key file.pdf &

then compile your document using something like


pdflatex file.tex && xpdf -remote key -reload

then xpdf automatic reloads whenever pdflatex is done.

I even have a hacked version of latexmk that can do this automatically.




/daleif

``You cannot help men permanently by doing for them
what they could and should do for themselves. ''
  -- Abraham Lincoln


More information about the texhax mailing list