[latex3-commits] [latex3/tagpdf] faster-ref: remove local property_new (da50c65)

github at latex-project.org github at latex-project.org
Wed Sep 11 19:37:38 CEST 2024


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

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

commit da50c658b1f15e1595fed78fd281935fff4a9fca
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Sep 11 19:37:38 2024 +0200

    remove local property_new


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

da50c658b1f15e1595fed78fd281935fff4a9fca
 tagpdf.dtx | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/tagpdf.dtx b/tagpdf.dtx
index 4538b0a..fbddd94 100644
--- a/tagpdf.dtx
+++ b/tagpdf.dtx
@@ -384,11 +384,7 @@
 % To ease transition to properties we setup internal definition. They can be replaced
 % by the property definitions once that is released.
 % %** do it!
-% \begin{macro}{\@@_property_new:nnnn,\@@_property_gset:nnnn,\@@_property_ref:nnn}
-% At first a command to define new properties
-%    \begin{macrocode}
-    \cs_new_eq:NN \@@_property_new:nnnn \property_new:nnnn
-%    \end{macrocode}
+% \begin{macro}{\@@_property_gset:nnnn,\@@_property_ref:nnn}
 % For the non-shipout code we need also the option to reset property
 %    \begin{macrocode}
     \cs_new_eq:NN \@@_property_gset:nnnn \property_gset:nnnn
@@ -439,21 +435,21 @@
 % With mc-chunks we store the absolute page number |tagabspage|,
 % the absolute id |tagmcabc|, and the id on the page |tagmcid|.
 %    \begin{macrocode}
-\@@_property_new:nnnn 
+\property_new:nnnn 
   { tagstruct } { now } 
   {1} { \int_use:N \c at g_@@_struct_abs_int }
-\@@_property_new:nnnn  { tagstructobj } { now }  {}
+\property_new:nnnn  { tagstructobj } { now }  {}
   {
      \pdf_object_ref_indexed:nn { @@/struct } { \c at g_@@_struct_abs_int }
   }
-\@@_property_new:nnnn  
+\property_new:nnnn  
   { tagabspage } { shipout } 
   {0} { \int_use:N \g_shipout_readonly_int }
-\@@_property_new:nnnn  { tagmcabs } { now }
+\property_new:nnnn  { tagmcabs } { now }
   {0} { \int_use:N \c at g_@@_MCID_abs_int }
 
 \flag_new:n { @@/mcid }     
-\@@_property_new:nnnn  {tagmcid } { shipout }
+\property_new:nnnn  {tagmcid } { shipout }
    {0} { \flag_height:n { @@/mcid } }
   
 %    \end{macrocode}





More information about the latex3-commits mailing list.