From d864e8caebcba2f91936cc58740cb02b069bcbb7 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 22 Jun 2016 11:18:26 -0400 Subject: Turn on reftex in auctex --- .emacs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.emacs') 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 -- cgit v1.2.3