[latex3-commits] [git/LaTeX3-latex3-latex3] setpdfpagesize-alt: Mumble (5c2de6114)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jun 22 15:28:51 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : setpdfpagesize-alt
Link       : https://github.com/latex3/latex3/commit/5c2de6114dc4e10424ccae2684ef2d93ea8c4b47

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

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

    Mumble


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

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

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 3251c3b71..e7fd65467 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -460,17 +460,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.