From 6c90555ebb89f41cc4dfb6cf3ee6bfaa8107650e Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 4 Jun 2020 03:02:40 +0000
Subject: CTAN sync 202006040302

---
 macros/latex/contrib/l3backend/l3backend-pdf.dtx | 25 +++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

(limited to 'macros/latex/contrib/l3backend/l3backend-pdf.dtx')

diff --git a/macros/latex/contrib/l3backend/l3backend-pdf.dtx b/macros/latex/contrib/l3backend/l3backend-pdf.dtx
index 95d1cc6530..5382b4a92c 100644
--- a/macros/latex/contrib/l3backend/l3backend-pdf.dtx
+++ b/macros/latex/contrib/l3backend/l3backend-pdf.dtx
@@ -43,7 +43,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2020-05-05}
+% \date{Released 2020-06-03}
 %
 % \maketitle
 %
@@ -134,8 +134,9 @@
 % \begin{macro}{\@@_backend_object_write:nn, \@@_backend_object_write:nx}
 % \begin{macro}
 %   {
-%     \@@_backend_object_write_array:nn ,
-%     \@@_backend_object_write_dict:nn  ,
+%     \@@_backend_object_write_array:nn   ,
+%     \@@_backend_object_write_dict:nn    ,
+%     \@@_backend_object_write_fstream:nn ,
 %     \@@_backend_object_write_stream:nn
 %   }
 % \begin{macro}{\@@_backend_object_write_stream:nnn}
@@ -166,13 +167,28 @@
 \cs_new_protected:Npn \@@_backend_object_write_array:nn #1#2
   {
     \@@_backend_pdfmark:x
-      { #1 [ ~ \exp_not:n {#2} ~ ] ~ /PUTINTERVAL }
+      { #1 ~0~ [ ~ \exp_not:n {#2} ~ ] ~ /PUTINTERVAL }
   }
 \cs_new_protected:Npn \@@_backend_object_write_dict:nn #1#2
   {
     \@@_backend_pdfmark:x
       { #1 << \exp_not:n {#2} >> /PUT }
   }
+\cs_new_protected:Npn \@@_backend_object_write_fstream:nn #1#2
+  {
+    \exp_args:Nx
+      \@@_backend_object_write_fstream:nnn {#1} #2
+  }
+\cs_new_protected:Npn \@@_backend_object_write_fstream:nnn #1#2#3
+  {
+    \__kernel_backend_postscript:n
+      {
+        SDict ~ begin ~
+        mark ~ #1 ~ << #2 >> /PUT ~ pdfmark ~
+        mark ~ #1 ~ ( #3 )~ ( r )~ file ~ /PUT ~ pdfmark ~
+        end
+      }
+  }
 \cs_new_protected:Npn \@@_backend_object_write_stream:nn #1#2
   {
     \exp_args:Nx
@@ -182,7 +198,6 @@
   {
     \__kernel_backend_postscript:n
       {
-        [nobreak]
         mark ~ #1 ~ ( #3 ) /PUT ~ pdfmark ~
         mark ~ #1 ~ << #2 >> /PUT ~ pdfmark
       }
-- 
cgit v1.2.3

