From 8f60c584b2c1e5e39516a1998602d1f79a720dfe Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 18 Mar 2021 21:12:52 +0000
Subject: pdfmanagement-testphase (18mar21) (branch)

git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58520 c570f23f-e606-0410-a88d-b1316a301751
---
 .../pdfmanagement-testphase/pdfmanagement-firstaid.dtx     | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx')

diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
index dc33bf093c1..54fb0ffa102 100644
--- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
+++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
@@ -51,7 +51,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95b, released 2021-03-07}
+% \date{Version 0.95c, released 2021-03-17}
 %
 % \maketitle
 % \begin{documentation}
@@ -67,7 +67,7 @@
 % |firstaidoff={name1,name2,...}|.
 %    \begin{macrocode}
 %<*package>
-\ProvidesExplPackage {pdfmanagement-firstaid} {2021-03-07} {0.95b}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2021-03-17}{0.95c}
   {LaTeX PDF management testphase bundle / firstaid-patches}
 
 %<@@=pdfmanagement>
@@ -204,7 +204,7 @@
     % the commands to add page resources
     \def\pgf@sys@addpdfresource@extgs@plain##1
       {
-        \exp_after:wN %for transparent which passes a command
+        %\exp_after:wN %for transparent which passes a command
           \@@_patch_pgfextgs:w ##1\q_stop
       }
     \def\pgf@sys@addpdfresource@patterns@plain##1
@@ -226,11 +226,13 @@
     \tl_set:Nn #2 {#4}
   }
 
+\cs_generate_variant:Nn \tl_trim_spaces:n{V}
+\cs_generate_variant:Nn \__pdf_backend_PageResources_gput:nnn {nex}
 \cs_new:Npn \@@_patch_pgfextgs:w  #1/#2<<#3>>#4\q_stop
   {
-    \exp_args:Nne
-      \__pdf_backend_PageResources_gput:nnn
-        {ExtGState}{\tl_trim_spaces:n{#2}}{<<#3>>}
+    \tl_set:Nx\l_tmpa_tl{#2}
+      \__pdf_backend_PageResources_gput:nex
+        {ExtGState}{\tl_trim_spaces:V\l_tmpa_tl}{<<#3 #4>>}
   }
 \cs_new:Npn \@@_patch_pgfpatterns:w  #1/#2\space#3\q_stop
   {
-- 
cgit v1.2.3

