summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
diff options
context:
space:
mode:
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.sty28
1 files changed, 8 insertions, 20 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 8a3ecfcfdda..bf2e8557eba 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}{2023-02-20}{0.95w}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2023-03-09}{0.95x}
{LaTeX PDF management testphase bundle / firstaid-patches}
\clist_map_inline:nn
@@ -49,28 +49,16 @@
\sys_if_engine_luatex:T
{
- \lua_now:n
- {
- if~not~luaotfload.set_transparent_colorstack~
- then~
- tex.print("\\bool_gset_false:N\\g__pdfmanagement_firstaid_fontspec_bool")~
- end
- }
\bool_if:NT \g__pdfmanagement_firstaid_fontspec_bool
{
- \msg_info:nnn{pdfmanagement}{firstaid}{fontspec}
- \file_if_exist:nT { luaotfload-l3color-tmp.lua }
- {
- \lua_load_module:n { luaotfload-l3color-tmp.lua }
- }
-
- \declare@file@substitution{fontspec-luatex.sty}{fontspec-luatex-tmp-ltx.sty}
- \AddToHook{package/fontspec/after}
+ \@ifpackagelater{fontspec}{2023-03-10}
{
- \str_if_eq:vnF{ver@fontspec.sty}{2022/01/15~v2.8a~Font~selection~for~XeLaTeX~and~LuaLaTeX}
- {\msg_warn:nnn{pdfmanagement}{firstaid-changed}{fontspec}}
- }
- }
+ \__fontspec_keys_define_code:nnn {fontspec} {Color}
+ {
+ \tl_set:Nn \l__fontspec_hexcol_tl {#1}
+ }
+ }{}
+ }
}
\bool_if:NT \g__pdfmanagement_firstaid_output_bool
{