diff options
author | Ryan Kavanagh <rak@debian.org> | 2016-06-22 11:18:26 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2016-06-22 11:18:26 -0400 |
commit | d864e8caebcba2f91936cc58740cb02b069bcbb7 (patch) | |
tree | e7afc6f87ebc8520d9620e79196b64d47a75e8b3 /.emacs | |
parent | Set default dictionary in emacs (diff) |
Turn on reftex in auctex
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -21,6 +21,8 @@ (use-package tex ; TeX editing/processing :ensure auctex :defer t + :init + (add-hook 'LaTeX-mode-hook 'turn-on-reftex) :config (progn (setq TeX-parse-self t ; Parse documents to provide completion @@ -30,7 +32,9 @@ TeX-clean-confirm nil ;; Provide forward and inverse search with SyncTeX TeX-source-correlate-mode t - TeX-source-correlate-method 'synctex))) + TeX-source-correlate-method 'synctex + ;; use reftex to get ToC: C-c = to explore structure of TeX doc + reftex-plug-into-AUCTeX t))) (use-package auto-complete :ensure t @@ -45,7 +49,6 @@ (use-package auto-indent-mode :ensure t) - (use-package dictem :load-path "~/.emacs.d/dictem/") (use-package dtrt-indent |