diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-29 03:00:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-29 03:00:41 +0000 |
commit | 2df1fd0d0099108f6d3d3e58dce35a3d2e185d4f (patch) | |
tree | f7e5765a88db1ee36ffdbebfbc2ea73336a1fb86 /macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty | |
parent | aef84c3078da1ba1bad9754ea0555ac9bc1c0aac (diff) |
CTAN sync 202201290300
Diffstat (limited to 'macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty')
-rw-r--r-- | macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty b/macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty index 5ff2ef0997..c131c9a922 100644 --- a/macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty +++ b/macros/latex/contrib/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty @@ -1,6 +1,6 @@ %% LaTeX2e file `xcolor-patches.sty' %% -\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-01-13 v0.95j patch xcolor for l3color] +\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-01-28 v0.95k patch xcolor for l3color] \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{} \ExplSyntaxOn @@ -43,10 +43,13 @@ \cs_generate_variant:Nn \__pdfmanagement_firstaid_xcolor_set:nnnn {nonn} \cs_set_eq:NN \@expl@xcolor@set@@nonn \__pdfmanagement_firstaid_xcolor_set:nonn \cs_generate_variant:Nn \color_set:nn {ne} +\tl_new:N\l__pdfmanagement_firstaid_tmpa_tl +% the color name should be sanitized to avoid problems with e.g. french making ! active \cs_new_protected:Npn \@expl@xcolor@set@@ne #1 #2 { - \exp_args:Nx \__color_if_defined:nT {#2} - { \color_set:ne {#1}{#2} } + \XC@edef\l__pdfmanagement_firstaid_tmpa_tl{#2} + \exp_args:NV \__color_if_defined:nT \l__pdfmanagement_firstaid_tmpa_tl + { \color_set:ne {#1}{\l__pdfmanagement_firstaid_tmpa_tl} } } \ExplSyntaxOff %\pretocmd{\XC@col@rlet} {\@expl@color@set@@ne{#2}{#4}}{}{\fail} |