diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-11 19:52:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-11 19:52:19 +0000 |
commit | e86d22fd7e27d2b130b3265fd12994e6f5c92d25 (patch) | |
tree | 24a71fe2d0e2a88cba355a73b6e189783ebeaf13 /Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty | |
parent | e61a87f98a798358891c94904b47cfef50386581 (diff) |
pdfmanagement-testphase (11may22)
git-svn-id: svn://tug.org/texlive/trunk@63281 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 | 47 |
1 files changed, 8 insertions, 39 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 b653cc134b1..b600cb13267 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty @@ -19,10 +19,10 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-firstaid.dtx -\ProvidesExplPackage{pdfmanagement-firstaid}{2022-04-14}{0.95n} +\ProvidesExplPackage{pdfmanagement-firstaid}{2022-05-11}{0.95o} {LaTeX PDF management testphase bundle / firstaid-patches} -\clist_map_inline:nn {pgf,transparent,hyperxmp,pdflscape,xcolor,color,beamer,output} +\clist_map_inline:nn {pgf,transparent,hyperxmp,pdflscape,xcolor,color,beamer,output,colorspace} { \bool_new:c { g__pdfmanagement_firstaid_#1_bool } \bool_gset_true:c { g__pdfmanagement_firstaid_#1_bool } @@ -152,45 +152,14 @@ } {\RequirePackage{hyperxmp-patches-tmp-ltx}} } -\hook_gput_code:nnn {begindocument} {pdf} - { - \tl_if_exist:NT \spc@op - { - \def\spc@Pageresources#1{} - } - - } - -\hook_gput_code:nnn {begindocument/end} {pdf} - { - \tl_if_exist:NT \spc@op +\bool_if:NT \g__pdfmanagement_firstaid_colorspace_bool + { + \AddToHook { - \__pdf_backend_object_new:nn {__spc_extgstate_op_false}{dict} - \__pdf_backend_object_write:nn - {__spc_extgstate_op_false} - {/Type /ExtGState~/op~false~/OP~false} - \pdfmanagement_add:nnn - {Page/Resources/ExtGState} - {SPCko} - {\__pdf_backend_object_ref:n {__spc_extgstate_op_false}} - \__pdf_backend_object_new:nn {__spc_extgstate_op_true0}{dict} - \__pdf_backend_object_write:nn - {__spc_extgstate_op_true0} - {/Type /ExtGState~/op~true~/OP~true~/OPM~0}% - \pdfmanagement_add:nnn - {Page/Resources/ExtGState} - {SPCmz} - {\__pdf_backend_object_ref:n {__spc_extgstate_op_true0}} - \__pdf_backend_object_new:nn {__spc_extgstate_op_true1}{dict} - \__pdf_backend_object_write:nn - {__spc_extgstate_op_true1} - {/Type /ExtGState~/op~true~/OP~true~/OPM~1}% - \pdfmanagement_add:nnn - {Page/Resources/ExtGState} - {SPCop} - {\__pdf_backend_object_ref:n {__spc_extgstate_op_true1}} + package/colorspace/after } - } + {\RequirePackage{colorspace-patches-tmp-ltx}} + } %% %% %% End of file `pdfmanagement-firstaid.sty'. |