[latex3-commits] [git/LaTeX3-latex3-latex3] setpdfpagesize-alt: Mumble (773e50054)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Sep 27 22:10:35 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : setpdfpagesize-alt
Link       : https://github.com/latex3/latex3/commit/773e50054a393f81aaa25cc0f9243f500973d7f4

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

commit 773e50054a393f81aaa25cc0f9243f500973d7f4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jun 22 14:28:51 2022 +0100

    Mumble


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

773e50054a393f81aaa25cc0f9243f500973d7f4
 l3kernel/l3pdf.dtx | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 72a226168..9df4434b1 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -502,17 +502,14 @@
   {
     \tl_gput_right:Nn \@kernel at before@begindocument
       {
-        \tl_gput_right:Nn \@kernel at before@begindocument
+        \cs_if_exist:NT \IfDocumentMetadataTF
           {
-            \cs_if_exist:NT \IfDocumentMetadataTF
+            \IfDocumentMetadataTF
               {
-                \IfDocumentMetadataTF
-                  {
-                    \@@_backend_pagesize_set:nn
-                      \paperwidth \paperheight
-                  }
-                  { }
+                \@@_backend_pagesize_set:nn
+                  \paperwidth \paperheight
               }
+              { }
           }
       }
   }





More information about the latex3-commits mailing list.