[latex3-commits] [latex3/latex2e] develop: make label unique (37160c37)

github at latex-project.org github at latex-project.org
Sun Oct 29 21:26:52 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/37160c378ef1f114d828b386bb323ed50cbfa5ae

>---------------------------------------------------------------

commit 37160c378ef1f114d828b386bb323ed50cbfa5ae
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Sep 16 23:17:30 2023 +0200

    make label unique


>---------------------------------------------------------------

37160c378ef1f114d828b386bb323ed50cbfa5ae
 required/latex-lab/latex-lab-footnotes.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/required/latex-lab/latex-lab-footnotes.dtx b/required/latex-lab/latex-lab-footnotes.dtx
index 2c2045bc..2cbb3b94 100644
--- a/required/latex-lab/latex-lab-footnotes.dtx
+++ b/required/latex-lab/latex-lab-footnotes.dtx
@@ -1727,7 +1727,7 @@
  {
    \cs_set_protected:Npn \@@_label_hook:e #1
     {
-      \property_record:xx {#1} {fnote/struct}
+      \property_record:xx {@@/#1} {fnote/struct}
     }
  }
 %    \end{macrocode}
@@ -1853,13 +1853,13 @@
          {
            \exp_not:N\fnote_gput_refs:ee
             { \tag_get:n{struct_num} }
-            { \property_ref:ee{ \l_@@_currentlabel_tl } {fnote/struct} }
+            { \property_ref:ee{ @@/\l_@@_currentlabel_tl } {fnote/struct} }
          }
 %    \end{macrocode}
 %    in this case we set the name of the linktarget in the note
 %    to the structure number of the text mark.
 %    \begin{macrocode}
-        \tl_set:Nx \l_@@_linktarget_tl {footnote*.\property_ref:ee {\l_@@_currentlabel_tl} {fnote/struct}}
+        \tl_set:Nx \l_@@_linktarget_tl {footnote*.\property_ref:ee {@@/\l_@@_currentlabel_tl} {fnote/struct}}
       }
 %    \end{macrocode}
 % And now the actual content





More information about the latex3-commits mailing list.