[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, main: clean up comments (8bdac23)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Aug 24 10:19:47 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branches: develop,main
Link       : https://github.com/latex3/pdfresources/commit/8bdac232592bd83cdd2f3863a27c696f0e3e10d8

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

commit 8bdac232592bd83cdd2f3863a27c696f0e3e10d8
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Aug 24 10:19:47 2022 +0200

    clean up comments


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

8bdac232592bd83cdd2f3863a27c696f0e3e10d8
 l3backend-testphase.dtx | 31 +++----------------------------
 1 file changed, 3 insertions(+), 28 deletions(-)

diff --git a/l3backend-testphase.dtx b/l3backend-testphase.dtx
index 20c913e..591362d 100644
--- a/l3backend-testphase.dtx
+++ b/l3backend-testphase.dtx
@@ -83,7 +83,7 @@
 % \subsection{Crossreferences}
 % This uses the temporary l3ref-tmp.sty. It will
 % will be replaced by kernel code later.
-% It is only need to get a reference for the absolute page counter.
+% It is only needed to get a reference for the absolute page counter.
 % This uses the counter from the
 % new lthooks/ltshipout package.
 %    \begin{macrocode}
@@ -267,7 +267,7 @@
 % \begin{NOTE}{UF}
 %  path: Page
 %  !!!!!!!!!!!!!!!!!!!!!!
-%  This part of the code depends on zref/xref as it sets labels.
+%  This part of the code depends on l3ref-tmp as it sets labels.
 %  It also depends on code in l3pdfmanagement as the code uses the Core-dictionaries
 %  !!!!!!!!!!!!!!!!!!!!!!
 %
@@ -338,16 +338,9 @@
   {
     %we need to know the page the resource should be added too.
     \int_gincr:N\g_@@_backend_resourceid_int
-    %\zref at labelbylist {l3pdf\int_use:N\g_@@_backend_resourceid_int} {l3pdf}
-    %\ref_label:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
-     \@@_backend_ref_label:en { l3pdf\int_use:N\g_@@_backend_resourceid_int }{abspage}
+    \@@_backend_ref_label:en { l3pdf\int_use:N\g_@@_backend_resourceid_int }{abspage}
     \tl_set:Nx \l_@@_tmpa_tl
       {
-        %\zref at extractdefault
-%          {l3pdf\int_use:N\g_@@_backend_resourceid_int}
-%          {pdf at abspage}
-%          {0}
-%        \ref_value:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
         \@@_backend_ref_value:en {l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
       }
     \pdfdict_if_exist:nF { g_@@_Core/backend_Page\l_@@_tmpa_tl}
@@ -958,18 +951,9 @@
           { \@@_backend_object_ref:n { #2 } }
       }
       {
-        %\zref at labelbylist
-%          { l3pdf\int_use:N\g_@@_backend_resourceid_int }
-%          { l3pdf }
-%        \ref_label:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
         \@@_backend_ref_label:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
         \tl_set:Nx \l_@@_tmpa_tl
           {
-            %\zref at extractdefault
-%              { l3pdf\int_use:N\g_@@_backend_resourceid_int }
-%              {pdf at abspage}
-%              {0}
-            %\ref_value:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
             \@@_backend_ref_value:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
           }
         \pdfdict_if_exist:nF { g_@@_Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }
@@ -997,18 +981,9 @@
           { \@@_backend_object_last: }
       }
       {
-        %\zref at labelbylist
-%          { l3pdf\int_use:N\g_@@_backend_resourceid_int }
-%          { l3pdf }
-       %\ref_label:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
         \@@_backend_ref_label:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
         \tl_set:Nx \l_@@_tmpa_tl
           {
-            %\zref at extractdefault
-%              { l3pdf\int_use:N\g_@@_backend_resourceid_int }
-%              {pdf at abspage}
-%              {0}
-         %   \ref_value:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
             \@@_backend_ref_value:en{l3pdf\int_use:N\g_@@_backend_resourceid_int}{abspage}
           }
         \pdfdict_if_exist:nF { g_@@_Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }





More information about the latex3-commits mailing list.