[latex3-commits] [git/LaTeX3-latex3-latex3] pdf: Set marker bool (018446815)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Feb 12 00:03:41 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : pdf
Link       : https://github.com/latex3/latex3/commit/01844681579d8203bcb0bd42804a4db4bb148f88

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

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

    Set marker bool


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

01844681579d8203bcb0bd42804a4db4bb148f88
 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.