[latex3-commits] [latex3/latex3] main, object-tracking: Code indenting (a32300d60)

github at latex-project.org github at latex-project.org
Tue Mar 26 18:27:43 CET 2024


Repository : https://github.com/latex3/latex3
On branches: main,object-tracking
Link       : https://github.com/latex3/latex3/commit/a32300d602908dc6115f9d709c686db841593cd7

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

commit a32300d602908dc6115f9d709c686db841593cd7
Author: Joseph Wright <joseph at texdev.net>
Date:   Tue Mar 26 17:27:43 2024 +0000

    Code indenting


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

a32300d602908dc6115f9d709c686db841593cd7
 l3backend/l3backend-pdf.dtx | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 0a16a79f9..044bf48ba 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -972,8 +972,8 @@
     \tex_pdfobj:D
 %</pdftex>
       reserveobjnum ~
-      \int_const:cn
-        { c_@@_object_ \tl_to_str:n {#1} _int }
+    \int_const:cn
+      { c_@@_object_ \tl_to_str:n {#1} _int }
 %<*luatex>
         { \tex_pdffeedback:D lastobj }
 %</luatex>
@@ -1002,27 +1002,27 @@
     \tex_immediate:D \tex_pdfobj:D
 %</pdftex>
       useobjnum ~
-      \int_use:c
-        { c_@@_object_ \tl_to_str:n {#1} _int }
-      \@@_backend_object_write:nn {#2} {#3}
+        \int_use:c
+          { c_@@_object_ \tl_to_str:n {#1} _int }
+    \@@_backend_object_write:nn {#2} {#3}
   }
 \cs_new:Npn \@@_backend_object_write:nn #1#2
   {
-      \str_case:nn {#1}
-        {
-          { array } { { [ ~ \exp_not:n {#2} ~ ] } }
-          { dict }  { { << ~ \exp_not:n {#2} ~ >> } }
-          { fstream }
-            {
-              stream ~ attr ~ { \@@_exp_not_i:nn #2 } ~
-                file ~ { \@@_exp_not_ii:nn #2 }
-            }
-          { stream }
-            {
-              stream ~ attr ~ { \@@_exp_not_i:nn #2 } ~
-                { \@@_exp_not_ii:nn #2 }
-            }
-        }
+    \str_case:nn {#1}
+      {
+        { array } { { [ ~ \exp_not:n {#2} ~ ] } }
+        { dict }  { { << ~ \exp_not:n {#2} ~ >> } }
+        { fstream }
+          {
+            stream ~ attr ~ { \@@_exp_not_i:nn #2 } ~
+              file ~ { \@@_exp_not_ii:nn #2 }
+          }
+        { stream }
+          {
+            stream ~ attr ~ { \@@_exp_not_i:nn #2 } ~
+              { \@@_exp_not_ii:nn #2 }
+          }
+      }
   }
 \cs_generate_variant:Nn \@@_backend_object_write:nnn { nne }
 \cs_new:Npn \@@_exp_not_i:nn #1#2 { \exp_not:n {#1} }





More information about the latex3-commits mailing list.