unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 2/3] RefReX: Basic cleveref support.
@ 2013-05-15 18:10 Rüdiger Sonderfeld
  2013-05-23 15:24 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Rüdiger Sonderfeld @ 2013-05-15 18:10 UTC (permalink / raw)
  To: auctex-devel; +Cc: emacs-devel

Adds support for \cref/\cpageref and uppercase variants.  Support for
ref ranges (\crefrange) requires further changes in RefTeX.

http://www.ctan.org/pkg/cleveref

* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref
  macros.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
---
 lisp/textmodes/reftex-vars.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 3792ab4..ce23a48 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
-- 
1.8.2.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-23 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 18:10 [PATCH 2/3] RefReX: Basic cleveref support Rüdiger Sonderfeld
2013-05-23 15:24 ` Tassilo Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).