diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-18 21:09:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-18 21:09:35 +0000 |
commit | 2440126072fff4cdd2f7c5e0b239504ff3504409 (patch) | |
tree | 9252e94fadb5bd53f93d3a6d66a03014d8070798 /Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty | |
parent | e3bb608996affa25ea9b80bab77ae993f76b9455 (diff) |
pdfmanagement-testphase (18mar21)
git-svn-id: svn://tug.org/texlive/trunk@58511 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.sty | 12 |
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 { |