diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-27 03:02:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-27 03:02:45 +0000 |
commit | 358efc294299fa1b336a63da305121fb8b71447b (patch) | |
tree | 0c0b70e0c71feb835e4645799d4d9b4eba1fdd3a /macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty | |
parent | 3416c5679e9cfa1ebba2296ecf401319a9f1cfe6 (diff) |
CTAN sync 202209270302
Diffstat (limited to 'macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty')
-rw-r--r-- | macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty b/macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty index 666d4d028b..d1757e814c 100644 --- a/macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty +++ b/macros/latex/contrib/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty @@ -19,41 +19,48 @@ % % for those people who are interested. \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2022-08-24}{0.95r} +\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2022-09-26}{0.95s} {temporay patches to for the colorspace package to test pdfresource management ... UF} +% colorspace can define more models, that l3color can't yet handle. +\cs_set_protected:Npn \expl@color@set@@nnn #1#2#3 + { + \cs_if_exist:cT { __color_parse_model_ #2 :w } + { \color_set:nnn{#1}{#2}{#3} } + } + + \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 { - \pdf_object_new:nn {__spc_extgstate_op_false}{dict} - \pdf_object_write:nn - {__spc_extgstate_op_false} + \pdf_object_new:n {__spc_extgstate_op_false} + \pdf_object_write:nnn + {__spc_extgstate_op_false}{dict} {/Type /ExtGState~/op~false~/OP~false} \pdfmanagement_add:nnn {Page/Resources/ExtGState} {SPCko} {\pdf_object_ref:n {__spc_extgstate_op_false}} - \pdf_object_new:nn {__spc_extgstate_op_true0}{dict} - \pdf_object_write:nn - {__spc_extgstate_op_true0} + \pdf_object_new:n {__spc_extgstate_op_true0} + \pdf_object_write:nnn + {__spc_extgstate_op_true0}{dict} {/Type /ExtGState~/op~true~/OP~true~/OPM~0}% \pdfmanagement_add:nnn {Page/Resources/ExtGState} {SPCmz} {\pdf_object_ref:n {__spc_extgstate_op_true0}} - \pdf_object_new:nn {__spc_extgstate_op_true1}{dict} - \pdf_object_write:nn - {__spc_extgstate_op_true1} + \pdf_object_new:n {__spc_extgstate_op_true1} + \pdf_object_write:nnn + {__spc_extgstate_op_true1}{dict} {/Type /ExtGState~/op~true~/OP~true~/OPM~1}% \pdfmanagement_add:nnn {Page/Resources/ExtGState} |