[latex3-commits] [git/LaTeX3-latex3-latex3] master: Set marker bool (380daaff1)

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/380daaff19c7b08fee11b8dc1b4a981277238db6

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

commit 380daaff19c7b08fee11b8dc1b4a981277238db6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 11 23:03:41 2021 +0000

    Set marker bool


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

380daaff19c7b08fee11b8dc1b4a981277238db6
 l3kernel/l3pdf.dtx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index e62bf633e..3443efd1c 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -314,11 +314,17 @@
      { \prg_return_false:}
   }
 \cs_new_protected:Npn \pdf_object_write:nn #1#2
-  { \@@_backend_object_write:nn {#1} {#2} }
+  {
+    \@@_backend_object_write:nn {#1} {#2}
+    \bool_gset_true:N \g_@@_init_bool
+  }
 \cs_generate_variant:Nn \pdf_object_write:nn { nx }
 \cs_new:Npn \pdf_object_ref:n #1 { \@@_backend_object_ref:n {#1} }
 \cs_new_protected:Npn \pdf_object_now:nn #1#2
-  { \@@_backend_object_now:nn {#1} {#2} }
+  {
+    \@@_backend_object_now:nn {#1} {#2}
+    \bool_gset_true:N \g_@@_init_bool
+  }
 \cs_generate_variant:Nn \pdf_object_now:nn { nx }
 \cs_new:Npn \pdf_object_last: { \@@_backend_object_last: }
 %    \end{macrocode}





More information about the latex3-commits mailing list.