[latex3-commits] [latex3/tagpdf] faster-ref: simplify (e14765b)

github at latex-project.org github at latex-project.org
Mon Sep 9 16:20:05 CEST 2024


Repository : https://github.com/latex3/tagpdf
On branch  : faster-ref
Link       : https://github.com/latex3/tagpdf/commit/e14765be9effb2f1ec3130a3985e1a55da198abb

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

commit e14765be9effb2f1ec3130a3985e1a55da198abb
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Sep 9 16:20:05 2024 +0200

    simplify


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

e14765be9effb2f1ec3130a3985e1a55da198abb
 tagpdf-struct.dtx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx
index 1705f69..8ebd61c 100644
--- a/tagpdf-struct.dtx
+++ b/tagpdf-struct.dtx
@@ -938,11 +938,10 @@
 %    \begin{macrocode}
 \cs_new_protected:Nn\@@_struct_format_Ref:nnN
   {
-    \tl_put_right:Nn #3 { \c_space_tl/#1~[ } %]
+    \tl_put_right:Nn #3 { /#1~[ } %]
     \clist_map_inline:nn{ #2 }
      {
-       ##1 \l_@@_Ref_tmpa_tl
-       \tl_put_right:No #3 {\c_space_tl\l_@@_Ref_tmpa_tl}  
+       ##1 #3
      }
     \tl_put_right:Nn #3 
      { %[
@@ -1273,7 +1272,7 @@
       {
         \tl_put_right:Ne#2
           {
-            \tag_struct_object_ref:e{ \l_@@_tmpb_tl }
+            \c_space_tl\tag_struct_object_ref:e{ \l_@@_tmpb_tl }
           }
       }    
       {





More information about the latex3-commits mailing list.