[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: patch should use the public function (cdbce8d)
Ulrike Fischer
fischer at troubleshooting-tex.de
Thu Mar 18 21:53:19 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/cdbce8df2afe84a3c833fa77f6981f7dedb986e6
>---------------------------------------------------------------
commit cdbce8df2afe84a3c833fa77f6981f7dedb986e6
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Thu Mar 18 21:53:19 2021 +0100
patch should use the public function
>---------------------------------------------------------------
cdbce8df2afe84a3c833fa77f6981f7dedb986e6
pdfmanagement-firstaid.dtx | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index 54fb0ff..e27fa23 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -227,24 +227,22 @@
}
\cs_generate_variant:Nn \tl_trim_spaces:n{V}
-\cs_generate_variant:Nn \__pdf_backend_PageResources_gput:nnn {nex}
+\cs_generate_variant:Nn \pdfmanagement_add:nnn {nex}
\cs_new:Npn \@@_patch_pgfextgs:w #1/#2<<#3>>#4\q_stop
{
\tl_set:Nx\l_tmpa_tl{#2}
- \__pdf_backend_PageResources_gput:nex
- {ExtGState}{\tl_trim_spaces:V\l_tmpa_tl}{<<#3 #4>>}
+ \pdfmanagement_add:nex
+ {Page/Resources/ExtGState}{\tl_trim_spaces:V\l_tmpa_tl}{<<#3 #4>>}
}
\cs_new:Npn \@@_patch_pgfpatterns:w #1/#2\space#3\q_stop
{
- \exp_args:Nnxx
- \__pdf_backend_PageResources_gput:nnn
- {Pattern}{\tl_trim_spaces:n{#2}}{#3}
+ \pdfmanagement_add:nex
+ {Page/Resources/Pattern}{\tl_trim_spaces:n{#2}}{#3}
}
\cs_new:Npn \@@_patch_pgfcolorspaces:w #1/#2[#3]#4\q_stop
{
- \exp_args:Nne
- \__pdf_backend_PageResources_gput:nnn
- {ColorSpace}{\tl_trim_spaces:n{#2}}{[#3]}
+ \pdfmanagement_add:nex
+ {Page/Resources/ColorSpace}{\tl_trim_spaces:n{#2}}{[#3]}
}
% \end{macrocode}
More information about the latex3-commits
mailing list.