-;; REFTEX (much enhanced management of cross-ref, labels, etc)
-;; http://www.strw.leidenuniv.nl/~dominik/Tools/reftex/
-(autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
-(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
-(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
-(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
-(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
-(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
-(add-hook 'LaTeX-mode-hook 'outline-minor-mode) ; with AUCTeX LaTeX mode
-(add-hook 'latex-mode-hook 'outline-minor-mode) ; with Emacs latex mode
-
-; use smart quotes by default instead of `` and ''
-; taken from http://kieranhealy.org/esk/kjhealy.html
-(setq TeX-open-quote "“")
-(setq TeX-close-quote "”")
-
-;; (TeX-add-style-hook
-;; "latex"
-;; (lambda ()
-;; (TeX-add-symbols
-;; '("DLA" 1))))
-;; (custom-set-variables
-;; '(font-latex-user-keyword-classes
-;; '(("fixme"
-;; ("DLA" "RZ")
-;; font-lock-function-name-face 2 (command 1 t))))
-;; )
-
-(require 'font-latex)
-(setq font-latex-match-reference-keywords
- '(
- ("fref" "{")
- ("Fref" "{")
- ("citep" "{")
- ("citet" "{")
- ("acs" "{")
- ("acsp" "{")
- ("ac" "{")
- ("acp" "{")
- ("acl" "{")
- ("aclp" "{")
- ("acsu" "{")
- ("aclu" "{")
- ("acused" "{")
-; ))
-; (setq font-latex-match-warning-keywords
-; '(
- ("DLA" "{")
- ("RZ" "{")
- ("OM" "{")
- ("DL" "{")
- ("fixme" "{")))
-
-(setq-default TeX-parse-self t)
-(setq-default TeX-auto-save t)
-(setq-default TeX-master nil)
-
-;; this doesn't seem to work; not currently sure why
-; (setq font-latex-user-keyword-classes
-; '(("my-warning-commands"
-; (("DLA" "{")
-; ("RZ" "{")
-; ("OM" "{")
-; ("DL" "{")
-; ("fixme" "{")
-; )
-; (:foreground "red" :weight bold :underline (:color foreground-color :style line)))
-; ))
-