docview in emacs: refreshing dvi content automatically
Is there a way Ema开发者_运维技巧cs can automatically refresh the buffer showing the dvi right after my LaTeX compilation? Thank you.
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)
Use interactive function:
auto-revert-mode
to enable reloading when the file changes.
精彩评论