From 074dd971a3c3f202cecd485347100f8272840c84 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 23 May 2013 17:24:21 +0200 Subject: [PATCH] * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref macros. --- lisp/ChangeLog | 3 +++ lisp/textmodes/reftex-vars.el | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 25b87958aa5..7ad7c5e6d01 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-05-23 Rüdiger Sonderfeld + * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add + cleveref macros. + * lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files): Accept options for bibliography commands. diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 3792ab4cbde..ce23a48dec6 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -1000,7 +1000,9 @@ This is used to string together whole reference sets, like ("Fancyref" "fancyref" (("\\fref" ?f) ("\\Fref" ?F))) ("Hyperref" "hyperref" - (("\\autoref" ?a) ("\\autopageref" ?u)))) + (("\\autoref" ?a) ("\\autopageref" ?u))) + ("Cleveref" "cleveref" + (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D)))) "Alist of reference styles. Each element is a list of the style name, the name of the LaTeX package associated with the style or t for any package, and an -- 2.39.2