added auto revert for latex compile

This commit is contained in:
ndwarshuis 2019-04-09 16:48:42 -04:00
parent 3f9e07c010
commit 13d955ceb4
1 changed files with 4 additions and 1 deletions

View File

@ -743,7 +743,10 @@ Install auctex through emacs as this is OS independent and more automatic. Note
(LaTeX-mode . flyspell-mode)
(LaTeX-mode . fci-mode)
;; sync tex buffer positions to output pdf
(LaTeX-mode . TeX-source-correlate-mode)))
(LaTeX-mode . TeX-source-correlate-mode))
:config
(setq TeX-after-compilation-finished-functions
'(TeX-revert-document-buffer)))
#+END_SRC
**** external viewers
AUCTeX can launch external viewers to show compiled documents.