[latex3-commits] [latex3/latex2e] UF-latex-lab-refadaption: correct command name syntax (76f09f97)

github at latex-project.org github at latex-project.org
Thu Sep 19 10:54:41 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : UF-latex-lab-refadaption
Link       : https://github.com/latex3/latex2e/commit/76f09f9747a78185340a8b6a88e342fd1e6989ac

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

commit 76f09f9747a78185340a8b6a88e342fd1e6989ac
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Sep 19 10:54:41 2024 +0200

    correct command name syntax


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

76f09f9747a78185340a8b6a88e342fd1e6989ac
 required/latex-lab/latex-lab-toc.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/required/latex-lab/latex-lab-toc.dtx b/required/latex-lab/latex-lab-toc.dtx
index 2a10ce27..0aa17879 100644
--- a/required/latex-lab/latex-lab-toc.dtx
+++ b/required/latex-lab/latex-lab-toc.dtx
@@ -143,21 +143,21 @@
 % Moved into tagpdf!
 % \end{variable}
 %
-% \begin{macro}{\g_@@_struct_ref_by_dest:}
+% \begin{macro}{\@@_struct_ref_by_dest:}
 %  This command is executed and update the Ref keys
 %  of the structures listed in |\g_@@_struct_ref_by_dest_prop|.
 %  It is currently only relevant for the |TOCI|. But other structures
 %  could need that later too.
 %  The command is executed in the |tagpdf/finish/before| hook.
 %    \begin{macrocode}
-\cs_new_protected:Npn \g_@@_struct_ref_by_dest:
+\cs_new_protected:Npn \@@_struct_ref_by_dest:
   {
     \prop_map_inline:Nn\g_@@_struct_ref_by_dest_prop
       {
         \tag_struct_gput:nnn {##1}{ref_dest}{##2}
       }
   }
-\hook_gput_code:nnn {tagpdf/finish/before}{tagpdf/struct/Ref}{\g_@@_struct_ref_by_dest:}
+\hook_gput_code:nnn {tagpdf/finish/before}{tagpdf/struct/Ref}{\@@_struct_ref_by_dest:}
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list.