From 135b0377031cfbb95ae9c83ec4d3023193b4b572 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Tue, 1 Oct 2024 12:47:32 +0200 Subject: [PATCH] update pdfmanagement to version 0.96m (#1480) --- .../pdfmanagement-testphase/color-ltx.sty | 4 +-- .../colorspace-patches-tmp-ltx.sty | 2 +- .../hgeneric-testphase.def | 28 +++++++++++-------- .../l3backend-testphase-dvipdfmx.def | 2 +- .../l3backend-testphase-dvips.def | 2 +- .../l3backend-testphase-dvisvgm.def | 2 +- .../l3backend-testphase-luatex.def | 2 +- .../l3backend-testphase-pdftex.def | 2 +- .../l3backend-testphase-xetex.def | 2 +- .../l3pdffield-testphase.sty | 4 ++- .../pdfmanagement-firstaid.sty | 2 +- .../pdfmanagement-testphase.ltx | 2 +- .../pdfmanagement-testphase.sty | 2 +- .../xcolor-patches-tmp-ltx.sty | 2 +- 14 files changed, 32 insertions(+), 26 deletions(-) diff --git a/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty b/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty index 6a13e4e3e..a8ced5210 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty +++ b/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty @@ -24,7 +24,7 @@ %% This file has the LPPL maintenance status "maintained". %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{color-ltx}[2024-09-13 v0.96l +\ProvidesPackage{color-ltx}[2024-09-29 v0.96m Standard LaTeX Color (patched for l3color, part of pdfmanagement-testphase, original version 2022/01/06 v1.3d) (DPC)] \edef\Gin@codes{% \catcode`\noexpand\^^A\the\catcode`\^^A\relax @@ -186,7 +186,7 @@ \InputIfFileExists{mathcolor.ltx}{}{} \def\color@setgroup{\begingroup\set@color} \let\color@begingroup\begingroup -\def\color@endgroup{\endgraf\endgroup} +\def\color@endgroup{\endgraf\@endpefalse\endgroup} \def\color@hbox{\hbox\bgroup\color@begingroup} \def\color@vbox{\vbox\bgroup\color@begingroup} \def\color@endbox{\color@endgroup\egroup} diff --git a/texmf/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty b/texmf/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty index 5078b8568..8a7c2a1b3 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty +++ b/texmf/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty @@ -19,7 +19,7 @@ % % for those people who are interested. \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-09-13}{0.96l} +\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2024-09-29}{0.96m} {temporary patches for the colorspace package to test pdfresource management ... UF} diff --git a/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def b/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def index 1f103b2fd..54cff3f59 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def +++ b/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: hyperref-generic.dtx -\ProvidesFile{hgeneric-testphase.def}[2024-09-13 v0.96l % +\ProvidesFile{hgeneric-testphase.def}[2024-09-29 v0.96m % generic Hyperref driver for the LaTeX PDF management testphase bundle] \RequirePackage{etoolbox} %why? @@ -399,7 +399,7 @@ %\tl_set:cn {@#1}{#2} \AddToDocumentProperties[hyperref]{#1}{#2} } -\cs_generate_variant:Nn \__hyp_store_metadata:nn {en,ne,ee} +\cs_generate_variant:Nn \__hyp_store_metadata:nn {en,ne,ee,no,eo} \hook_new:n{hyp/link/cite} \keys_define:nn { hyp } { @@ -471,6 +471,7 @@ \cs_generate_variant:Nn \__hyp_property_record:nn {ee} \box_new:N \l__hyp_tmpa_box \tl_new:N \l__hyp_tmpa_tl +\tl_new:N \l__hyp_tmpb_tl \seq_new:N \l__hyp_tmpa_seq \int_new:N \l__hyp_tmpa_int \str_new:N \l__hyp_tmpa_str @@ -600,6 +601,7 @@ { \__hyp_text_pdfstring:noN { #1 }{ \l__hyp_text_enc_info_print_tl } #2 } +\cs_generate_variant:Nn \__hyp_text_pdfstring_info:nN {eN,oN} \cs_new_protected:Npn\__hyp_PageLabels_gpush: { \pdfmanagement_add:nne {Catalog} {PageLabels}{<>} @@ -2213,13 +2215,16 @@ } \regex_new:N\l__hyp_optlang_regex \regex_set:Nn\l__hyp_optlang_regex {\A\[([A-Za-z\-]+)\](.*)} +\cs_generate_variant:Nn\clist_item:nn{on} \cs_new_protected:Npn \__hyp_setup_info_key:nn #1 #2 { \keys_define:nn { hyp } { pdf#1 .code:n = { - \tl_if_blank:nTF {##1} + \tl_set:Ne\l__hyp_tmpa_tl {\text_expand:n{##1}} + \__hyp_store_metadata:no {pdf#1}{\l__hyp_tmpa_tl} + \tl_if_empty:NTF \l__hyp_tmpa_tl { \str_case:nnF { #1 } { @@ -2239,45 +2244,44 @@ } } { - \tl_set:Ne\l__hyp_tmpa_tl {\clist_item:nn{##1}{1}} + \tl_set:Ne\l__hyp_tmpb_tl {\clist_item:on{\l__hyp_tmpa_tl}{1}} \exp_args:NNV - \regex_extract_once:NnN \l__hyp_optlang_regex \l__hyp_tmpa_tl\l__hyp_tmpa_seq + \regex_extract_once:NnN \l__hyp_optlang_regex \l__hyp_tmpb_tl\l__hyp_tmpa_seq \seq_if_empty:NTF\l__hyp_tmpa_seq { - \__hyp_text_pdfstring_info:nN {##1}\l__hyp_tmpa_str + \__hyp_text_pdfstring_info:oN {\l__hyp_tmpa_tl}\l__hyp_tmpa_str } { - \exp_args:Ne - \__hyp_text_pdfstring_info:nN {\seq_item:Nn \l__hyp_tmpa_seq{3}}\l__hyp_tmpa_str + \__hyp_text_pdfstring_info:eN {\seq_item:Nn \l__hyp_tmpa_seq{3}}\l__hyp_tmpa_str } \str_if_eq:VnF\l__hyp_tmpa_str{} { \pdfmanagement_add:nne {Info}{#2}{\l__hyp_tmpa_str} } } - \__hyp_store_metadata:nn {pdf#1}{##1} } } \keys_define:nn { hyp / info } { #2 .code:n = { + \tl_set:Ne\l__hyp_tmpa_tl {\text_expand:n{##1}} + \__hyp_store_metadata:eo {pdf\str_lowercase:n{#1}}{\l__hyp_tmpa_tl} \tl_if_blank:nTF {##1} { \pdfmanagement_remove:nn {Info}{#2} } { - \__hyp_text_pdfstring_info:nN {##1}\l__hyp_tmpa_str + \__hyp_text_pdfstring_info:oN {\l__hyp_tmpa_tl}\l__hyp_tmpa_str \str_if_eq:VnF\l__hyp_tmpa_str{} { \pdfmanagement_add:nne {Info}{#2}{\l__hyp_tmpa_str} } } - \exp_args:Ne \__hyp_store_metadata:nn {pdf\str_lowercase:n{#1}}{##1} } ,unknown .code:n = { - \__hyp_text_pdfstring_info:nN {##1}\l__hyp_tmpa_str + \__hyp_text_pdfstring_info:eN {##1}\l__hyp_tmpa_str \str_if_eq:VnF\l__hyp_tmpa_str{} { \exp_args:Nno diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def index bfb2a63a9..66e2654e3 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvipdfmx.def}{2024-09-13}{} + {l3backend-testphase-dvipdfmx.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx} \cs_generate_variant:Nn \__kernel_backend_literal:n { e } \cs_generate_variant:Nn \__pdf_backend:n { e } diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def index e13315c01..20af21ab2 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvips.def}{2024-09-13}{} + {l3backend-testphase-dvips.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvips} \cs_generate_variant:Nn \__kernel_backend_postscript:n { e } \cs_generate_variant:Nn \__pdf_backend_pdfmark:n { e } diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def index def40db84..3be79d711 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvisvgm.def}{2024-09-13}{} + {l3backend-testphase-dvisvgm.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm} \bool_if:NT \l__pdfmanagement_delayed_shipout_bool { diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def index ac7fe6cad..39c0e7e47 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-luatex.def}{2024-09-13}{} + {l3backend-testphase-luatex.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)} \cs_generate_variant:Nn \__kernel_backend_literal_page:n { e } \bool_if:NT \l__pdfmanagement_delayed_shipout_bool diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def index 9b3930f19..754692557 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-pdftex.def}{2024-09-13}{} + {l3backend-testphase-pdftex.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)} \cs_generate_variant:Nn \__kernel_backend_literal_page:n { e } \bool_if:NT \l__pdfmanagement_delayed_shipout_bool diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def index 776aefe60..c29a76a19 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def +++ b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-xetex.def}{2024-09-13}{} + {l3backend-testphase-xetex.def}{2024-09-29}{} {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX} \cs_generate_variant:Nn \__kernel_backend_literal:n { e } \cs_generate_variant:Nn \__pdf_backend:n { e } diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty b/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty index b50689658..6c37dc8c2 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty +++ b/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty @@ -27,7 +27,7 @@ %% File: l3pdffield.dtx \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{l3pdffield-testphase}{2024-09-13}{0.96l}% +\ProvidesExplPackage{l3pdffield-testphase}{2024-09-29}{0.96m}% {form fields} \csname HyField@NeedAppearancesfalse\endcsname % suppress NeedAppearances \str_new:N \l__pdffield_tmpa_str @@ -1762,6 +1762,8 @@ %% File: l3pdfpdffield-choice.dtx + + \RequirePackage{l3draw} \seq_new:N \l__pdffield_choice_values_seq \seq_new:N \l__pdffield_choice_defaultvalues_seq diff --git a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty index 7ad662108..afa15df49 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty +++ b/texmf/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}{2024-09-13}{0.96l} +\ProvidesExplPackage{pdfmanagement-firstaid}{2024-09-29}{0.96m} {LaTeX PDF management testphase bundle / firstaid-patches} \clist_map_inline:nn diff --git a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx index 60d22fd0a..8d3622910 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx +++ b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx @@ -27,7 +27,7 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-testphase.dtx -\ProvidesExplFile{pdfmanagement-testphase.ltx}{2024-09-13}{0.96l} +\ProvidesExplFile{pdfmanagement-testphase.ltx}{2024-09-29}{0.96m} {PDF~management~code~(testphase)} \bool_new:N\l__pdfmanagement_delayed_shipout_bool \msg_new:nnn {pdfmanagement}{delayed-shipout} diff --git a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty index 6ac5b4299..f78f2e9fc 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty +++ b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: pdfmanagement-testphase.dtx -\ProvidesExplPackage{pdfmanagement-testphase}{2024-09-13}{0.96l} +\ProvidesExplPackage{pdfmanagement-testphase}{2024-09-29}{0.96m} {LaTeX PDF management testphase bundle} \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020-10-01}{}{ diff --git a/texmf/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty b/texmf/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty index 51316ead6..a429ca975 100644 --- a/texmf/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty +++ b/texmf/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty @@ -1,6 +1,6 @@ %% LaTeX2e file `xcolor-patches-tmp-ltx.sty' %% -\ProvidesPackage{xcolor-patches-tmp-ltx}[2024-09-13 v0.96l patch xcolor for l3color] +\ProvidesPackage{xcolor-patches-tmp-ltx}[2024-09-29 v0.96m patch xcolor for l3color] \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{} \ExplSyntaxOn