Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Force Preview to reload a document' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Force Preview to reload a document
Authored by: vocaro on Jan 05, '06 08:37:37PM

Am I barking up the wrong tree when I suggest "File > Revert" does exactly what y'all want? It reloads the file, thus showing any changes since the last load.

Interesting; I always thought Revert simply reverted changes. I never realized it reloaded the document. However, my script is still useful for two reasons:

  1. A script can be called from the command line, which is useful for LaTeX users like myself who rely on fine-tuned Makefiles for their workflow.
  2. The Revert command resets Preview to the first page of the document, which is very annoying when you're working on, say, page 17 and suddenly you're looking at page 1 and have to jump back. On the other hand, closing and re-opening the document, which is what my script does, keeps Preview on the same page of the document.


[ Reply to This | # ]