[latex3-commits] [latex3/tagpdf] renamekeys: fix role command (2ce185b)

github at latex-project.org github at latex-project.org
Wed Feb 21 01:30:19 CET 2024


Repository : https://github.com/latex3/tagpdf
On branch  : renamekeys
Link       : https://github.com/latex3/tagpdf/commit/2ce185b8eed39c8d15def7820a9a721813a9ac92

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

commit 2ce185b8eed39c8d15def7820a9a721813a9ac92
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Feb 21 01:30:19 2024 +0100

    fix role command


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

2ce185b8eed39c8d15def7820a9a721813a9ac92
 tagpdf-roles.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tagpdf-roles.dtx b/tagpdf-roles.dtx
index 9c8044e..8be2bb6 100644
--- a/tagpdf-roles.dtx
+++ b/tagpdf-roles.dtx
@@ -586,10 +586,10 @@
     {
       \prop_if_exist:cTF {g_@@_role_NS_#2_prop}
        {      
-        \prop_get:cnNTF {g_@@_role_NS_#2_prop} {#1}\l_@@_tmpa_tl
+        \prop_get:cnNTF {g_@@_role_NS_#2_prop} {#1}\l_@@_get_tmpc_tl
           {
-           \tl_set:Ne #3 {\exp_last_unbraced:NV\use_i:nn   \l_@@_tmpa_tl}         
-           \tl_set:Ne #4 {\exp_last_unbraced:NV\use_ii:nn  \l_@@_tmpa_tl}
+           \tl_set:Ne #3 {\exp_last_unbraced:NV\use_i:nn   \l_@@_get_tmpc_tl}         
+           \tl_set:Ne #4 {\exp_last_unbraced:NV\use_ii:nn  \l_@@_get_tmpc_tl}
           } 
           {
            \msg_warning:nnn { tag } {role-unknown-tag} { #1 }
@@ -1327,9 +1327,9 @@
            \l_@@_role_role_namespace_tmpa_tl
        }
     }
-   ,tagset .choice:
-   ,tagset/latex .code:n = { \socket_assign_plug:nn { tag/struct/tag } {latex-tags} }
-   ,tagset/pdf   .code:n = { \socket_assign_plug:nn { tag/struct/tag } {pdf-tags} } 
+   ,role/tagset .choice:
+   ,role/tagset/latex .code:n = { \socket_assign_plug:nn { tag/struct/tag } {latex-tags} }
+   ,role/tagset/pdf   .code:n = { \socket_assign_plug:nn { tag/struct/tag } {pdf-tags} } 
 %    \end{macrocode}
 % deprecated names
 %    \begin{macrocode}





More information about the latex3-commits mailing list.