]> git.eshelyaron.com Git - emacs.git/commitdiff
Support new LaTeX kernel macro \footref
authorArash Esbati <arash@gnu.org>
Thu, 17 Jun 2021 20:59:32 +0000 (22:59 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 18 Jun 2021 05:44:14 +0000 (07:44 +0200)
* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add
entry for \footref macro which is part of LaTeX kernel 2021-06-01.

lisp/textmodes/reftex-vars.el

index 0d6bfb5d8604afc56b1c2263a06414db9c871155..a8ca780b31f7e919dfb472c35c4a01e194bfe4b7 100644 (file)
@@ -1059,7 +1059,7 @@ This is used to string together whole reference sets, like
 
 (defcustom reftex-ref-style-alist
   '(("Default" t
-     (("\\ref" ?\C-m) ("\\Ref" ?R) ("\\pageref" ?p)))
+     (("\\ref" ?\C-m) ("\\Ref" ?R) ("\\footref" ?n) ("\\pageref" ?p)))
     ("Varioref" "varioref"
      (("\\vref" ?v) ("\\Vref" ?V) ("\\vpageref" ?g)))
     ("Fancyref" "fancyref"
@@ -1079,7 +1079,7 @@ the macro type is being prompted for.  (See also
 `reftex-ref-macro-prompt'.)  The keys, represented as characters,
 have to be unique."
   :group 'reftex-referencing-labels
-  :version "27.1"
+  :version "28.1"
   :type '(alist :key-type (string :tag "Style name")
                :value-type (group (choice :tag "Package"
                                           (const :tag "Any package" t)