From 53097f747c5cc937ff7098f6b899d2edf275a984 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 8 Jan 2016 17:08:58 -0600 Subject: [PATCH 1/1] update org files --- emacs_el/configuration/don-configuration.org | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index e5e63a9..1a103e2 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -158,11 +158,26 @@ ("OM" "{") ("DL" "{") ("fixme" "{"))) - + (setq-default TeX-parse-self t) (setq-default TeX-auto-save t) (setq-default TeX-master nil) - + (eval-after-load + "latex" + '(TeX-add-style-hook + "cleveref" + (lambda () + (if (boundp 'reftex-ref-style-alist) + (add-to-list + 'reftex-ref-style-alist + '("Cleveref" "cleveref" + (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D))))) + (reftex-ref-style-activate "Cleveref") + (TeX-add-symbols + '("cref" TeX-arg-ref) + '("Cref" TeX-arg-ref) + '("cpageref" TeX-arg-ref) + '("Cpageref" TeX-arg-ref))))) ;; this doesn't seem to work; not currently sure why ; (setq font-latex-user-keyword-classes ; '(("my-warning-commands" -- 2.39.2