Reputation: 20139
Is there a way Emacs can automatically refresh the buffer showing the dvi right after my LaTeX compilation? Thank you.
Upvotes: 12
Views: 4168
Reputation: 5944
The global auto revert is not always desirable, in fact I only use it for for the DocView to see the new output of pdflatex.
The following will allow auto revert for the DocView major mode
(add-hook 'doc-view-mode-hook 'auto-revert-mode)
Upvotes: 22
Reputation: 19747
Use interactive function:
auto-revert-mode
to enable reloading when the file changes.
Upvotes: 22