[latex3-commits] [git/LaTeX3-latex3-latex3] master: Move 'PDF initialised' code to kernel-level hook (b3f4ca06f)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 18 13:20:41 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/b3f4ca06f9d7ce3c7d895a6153df194c5cfb406e

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

commit b3f4ca06f9d7ce3c7d895a6153df194c5cfb406e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 11 19:12:29 2021 +0000

    Move 'PDF initialised' code to kernel-level hook
    
    I wonder about this one or the one used to load the
    backend: that could be right but it's technically internal
    to the sys module.


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

b3f4ca06f9d7ce3c7d895a6153df194c5cfb406e
 l3kernel/l3pdf.dtx               | 4 ++--
 l3kernel/testfiles/m3peek001.tlg | 2 +-
 l3kernel/testfiles/m3peek002.tlg | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 63e2ab9d9..e62bf633e 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -271,9 +271,9 @@
   { \str_if_eq_p:Vn \fmtname { LaTeX2e } }
   { \tl_if_exist_p:N \@expl at finalise@setup@@@@ }
   {
-    \tl_put_right:Nn \@expl at finalise@setup@@@@
+    \tl_gput_right:Nn \@expl at finalise@setup@@@@
       {
-        \AtBeginDocument
+        \tl_gput_right:Nn \@kernel at after@begindocument
           { \bool_gset_true:N \g_@@_init_bool }
       }
   }
diff --git a/l3kernel/testfiles/m3peek001.tlg b/l3kernel/testfiles/m3peek001.tlg
index f7bf7f172..b3b44f405 100644
--- a/l3kernel/testfiles/m3peek001.tlg
+++ b/l3kernel/testfiles/m3peek001.tlg
@@ -6,7 +6,7 @@ TEST 1: peek after
 ============================================================
 the letter l
 the letter g
-begin-group character {
+the character [
 the letter g
 ============================================================
 ============================================================
diff --git a/l3kernel/testfiles/m3peek002.tlg b/l3kernel/testfiles/m3peek002.tlg
index 48aaab89f..a553260a8 100644
--- a/l3kernel/testfiles/m3peek002.tlg
+++ b/l3kernel/testfiles/m3peek002.tlg
@@ -14,7 +14,7 @@ l. ...  }
 l. ...  }
 \outer macro:->
 \long\outer macro:->
-begin-group character {
+the character [
 \long\outer macro:->
 ============================================================
 ============================================================





More information about the latex3-commits mailing list.