aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2016-06-22 11:18:26 -0400
committerRyan Kavanagh <rak@debian.org>2016-06-22 11:18:26 -0400
commitd864e8caebcba2f91936cc58740cb02b069bcbb7 (patch)
treee7afc6f87ebc8520d9620e79196b64d47a75e8b3
parentSet default dictionary in emacs (diff)
Turn on reftex in auctex
Diffstat (limited to '')
-rw-r--r--.emacs7
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 7d454aa..301f062 100644
--- a/.emacs
+++ b/.emacs
@@ -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