]> git.eshelyaron.com Git - emacs.git/commitdiff
Use \footref when referencing a footnote label
authorArash Esbati <arash@gnu.org>
Thu, 17 Jun 2021 21:12:00 +0000 (23:12 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 18 Jun 2021 05:44:32 +0000 (07:44 +0200)
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Use
\footref as `reference-format' for \footnote macro.

lisp/textmodes/reftex-vars.el

index a8ca780b31f7e919dfb472c35c4a01e194bfe4b7..96065ee69e106627456b60976f4f6d271bf9a003 100644 (file)
        (regexp "tables?" "tab\\." "Tabellen?"))
       ("table*"    ?t nil nil caption)
 
-      ("\\footnote[]{}" ?n "fn:" "~\\ref{%s}" 2
+      ("\\footnote[]{}" ?n "fn:" "~\\footref{%s}" 2
        (regexp "footnotes?" "Fussnoten?"))
 
       ("any"       ?\  " "   "~\\ref{%s}" nil)