summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-18 21:12:52 +0000
committerKarl Berry <karl@freefriends.org>2021-03-18 21:12:52 +0000
commit8f60c584b2c1e5e39516a1998602d1f79a720dfe (patch)
tree5dc5c053c3ac8f79fe33cadf9c2eb2c8521de9ce /Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
parentebebd4e205544738045ebd45e68d94696e79637e (diff)
pdfmanagement-testphase (18mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58520 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
index 382d32ad61e..0bd7d33a23b 100644
--- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
+++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
@@ -19,7 +19,7 @@
%% and all files in that bundle must be distributed together.
%%
%% File: pdfmanagement-firstaid.dtx
-\ProvidesExplPackage {pdfmanagement-firstaid} {2021-03-07} {0.95b}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2021-03-17}{0.95c}
{LaTeX PDF management testphase bundle / firstaid-patches}
\clist_map_inline:nn {pgf,transparent,hyperxmp,pdflscape,xcolor,color,beamer}
@@ -91,7 +91,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
\__pdfmanagement_patch_pgfextgs:w ##1\q_stop
}
\def\pgf@sys@addpdfresource@patterns@plain##1
@@ -110,11 +110,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 \__pdfmanagement_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 \__pdfmanagement_patch_pgfpatterns:w #1/#2\space#3\q_stop
{