You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; As described in https://github.com/jwiegley/use-package/issues/379;; and also as found in https://www.reddit.com/r/emacs/comments/7ux1qj/using_auctex_mode_to_sync_latex_documents_and/dto2z02/
(use-package tex-mode
:defert:ensure auctex
:init (progn
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq TeX-view-program-selection '((output-pdf "PDF Tools"))
TeX-source-correlate-start-server t)
(add-hook'LaTeX-mode-hook'visual-line-mode)
(add-hook'LaTeX-mode-hook'flyspell-mode)
(add-hook'LaTeX-mode-hook'turn-on-reftex)
(add-hook'TeX-after-compilation-finished-functions#'TeX-revert-document-buffer)
(setq reftex-plug-into-AUCTeX t)))