[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: correct protected (f2dcc5c)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Jul 15 15:03:11 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/f2dcc5cd94b51f5bd22d7371ef80ed3242f1335d

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

commit f2dcc5cd94b51f5bd22d7371ef80ed3242f1335d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jul 15 15:03:11 2020 +0200

    correct protected


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

f2dcc5cd94b51f5bd22d7371ef80ed3242f1335d
 l3pdftools.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3pdftools.dtx b/l3pdftools.dtx
index 9d9b536..70d164c 100644
--- a/l3pdftools.dtx
+++ b/l3pdftools.dtx
@@ -351,11 +351,11 @@
 
 \sys_if_engine_pdftex:TF
   {
-    \cs_new:cpn { @@_text_convert_string-hex:nN } #1 #2
+    \cs_new_protected:cpn { @@_text_convert_string-hex:nN } #1 #2
       {
          \str_set_convert:Nnnn #2 { #1 }{ utf8 } {utf16/hex}
       }
-    \cs_new:cpn { @@_text_convert_string-hex-print:nN } #1 #2
+    \cs_new_protected:cpn { @@_text_convert_string-hex-print:nN } #1 #2
       {
          \str_set_convert:Nnnn #2 { #1 }{ utf8 } {utf16/hex}
          \str_put_left:Nn #2  {<}
@@ -363,12 +363,12 @@
       }
   }
   {
-    \cs_new:cpn { @@_text_convert_string-hex:nN } #1 #2
+    \cs_new_protected:cpn { @@_text_convert_string-hex:nN } #1 #2
       {
         \str_set_convert:Nnnn #2 { #1 }{  } {utf16/hex}
       }
 
-    \cs_new:cpn { @@_text_convert_string-hex-print:nN } #1 #2
+    \cs_new_protected:cpn { @@_text_convert_string-hex-print:nN } #1 #2
       {
         \str_set_convert:Nnnn #2 { #1 }{  } {utf16/hex}
          \str_put_left:Nn #2  {<}





More information about the latex3-commits mailing list.