3 ms·
I loved Xpdf, it was part of my weird "tex->pdf REPL", which was just % xpdf -remote work output.pdf & [1] % inotifywait --monitor ... | \ while re
by philsnow 3y ago
I loved Xpdf, it was part of my weird "tex->pdf REPL", which was just
% xpdf -remote work output.pdf &
[1]
% inotifywait --monitor ... | \
while read; do \
make && xpdf -remote work -reload
done
At the time, xpdf was the only PDF reader that wouldn't eagerly try to re-read the PDF file the instant it noticed a change. ps2pdf / latexpdf etc don't write the file atomically, so other PDF readers would display garbage (and then not re-display after latexpdf was finished) and usually lose the page that I was looking at.
With xpdf I could do xpdf -reload after my build finished, and it would retain my place (as long as I hadn't `\if 0`ed the place I was looking at out of existence).