emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7033470 2/2: Use \footref when referencing a footnote label


From: Tassilo Horn
Subject: master 7033470 2/2: Use \footref when referencing a footnote label
Date: Fri, 18 Jun 2021 01:45:02 -0400 (EDT)

branch: master
commit 7033470adb07062b7d7bbb9499ae80aeb84819ef
Author: Arash Esbati <arash@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    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 a8ca780..96065ee 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]