From 7033470adb07062b7d7bbb9499ae80aeb84819ef Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Thu, 17 Jun 2021 23:12:00 +0200 Subject: [PATCH] Use \footref when referencing a footnote label * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Use \footref as `reference-format' for \footnote macro. --- lisp/textmodes/reftex-vars.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index a8ca780b31f..96065ee69e1 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -121,7 +121,7 @@ (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)