diff options
55 files changed, 215 insertions, 579 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md index 972c49380dc..c3bc86cfc02 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md @@ -5,6 +5,15 @@ first release 0.95a, 2021-02-23 will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), this project uses date-based 'snapshot' version identifiers. +## [2023-11-17] +Version: 2023-11-17, 0.96c + + - remove dependency to ltxcmds in the hyperref driver + - correct a local/global assigment + - remove l3ref-tmp.sty + - l3pdffile.dtx: change mimetype of xml to application/xml + + ## [2023-11-05] Version: 2023-11-05, 0.96b diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md index 35361e0a495..94a0136f3d9 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md @@ -1,6 +1,6 @@ # LaTeX PDF management testphase bundle -Version: 0.96b, 2023-11-05 +Version: 0.96c, 2023-11-17 This package is used during a test phase to load the new PDF management code of LaTeX. @@ -19,8 +19,8 @@ Bug reports and feedback are welcome and should be made at https://github.com/latex3/pdfresources ## Requirements -The package requires a LaTeX format 2022-06-01 or newer. -It requires an L3 programming 2022-08-30 or newer. +The package requires a current LaTeX format +and L3 programming layer. ## Installation diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf Binary files differindex 4b4d37a989e..9318d060f93 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf Binary files differindex 233f89550fb..3c292b8dfa0 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf Binary files differindex 4871acbc4b8..8db999acd8d 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf Binary files differindex 5c0de310c31..c488bc77bfa 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf Binary files differindex 11934af61cf..1ad47b14fbf 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf Binary files differindex 3ebc6e7caa1..e0f6b1fc9a2 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf Binary files differindex 3bf4f3e9336..80cb55d643c 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf Binary files differindex afb6ed1e8e5..c9b9cd1aef3 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf Binary files differindex 8a7962663be..b66ff7f3cb0 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf Binary files differindex 38c9534fdaa..3d40a66eeec 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf Binary files differindex 0f29cb95976..e4171c07e00 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf Binary files differindex 4b75eb1797b..cc338aff79f 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf Binary files differindex c43e204e232..9ddc2d15a74 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf Binary files differindex 060a1e23263..ccbfc2789eb 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf Binary files differindex 8e72e27da0c..6711cd498c2 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf Binary files differindex ea4ecb57a55..b013fc980d6 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf Binary files differindex 4c2d341ee6a..d8c5ab0934e 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf Binary files differindex e6911957d3c..5b95298b426 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf diff --git a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf Binary files differindex db319ff855b..041de89f5ec 100644 --- a/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf +++ b/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx index 47b957c2ece..c03d57a7fc4 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx @@ -82,7 +82,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -913,8 +913,8 @@ %^^A %% %^^A %% References (ref) %^^A %% *\@@_property_record:nn -%^^A %% *\@@_property_if_recorded:nn -%^^A %% *\@@_property_ref_undefined_warn:nn, +%^^A %% *\property_if_recorded:nn +%^^A %% *\property_ref_undefined_warn:nn, %^^A %% % helps to display key list messages %^^A %% \@@_clist_display:n %^^A %% @@ -956,11 +956,15 @@ %<@@=hyp> % \end{macrocode} % \begin{macrocode} -\ProvidesFile{hgeneric-testphase.def}[2023-11-05 v0.96b % +\ProvidesFile{hgeneric-testphase.def}[2023-11-17 v0.96c % generic Hyperref driver for the LaTeX PDF management testphase bundle] \RequirePackage{etoolbox} %why? % \end{macrocode} +% Temporary command definition, can be remove when hyperref is update too. +% \begin{macrocode} +\long\def\Hy@ReturnAfterFi#1\fi{\fi#1} +% \end{macrocode} % \begin{macrocode} \ExplSyntaxOn \file_input:n {hyperref-colorschemes.def} @@ -1535,85 +1539,28 @@ % \end{macrocode} % % \section{Reference and label commands} -% The code uses in older LaTeX the l3ref-tmp package which -% must have been loaded as pdfmanagement is a requirement. -% In newer LaTeX it uses the in-built property module. +% This uses the in-built property module. % % \begin{macro} % { % \@@_property_record:nn, -% \@@_property_if_recorded:nn, -% \@@_property_ref_undefined_warn:nn, -% \@@_property_ref:nn % } % \begin{macrocode} % -\cs_if_exist:NTF \property_new:nnnn - { -% \end{macrocode} -% At first a label command which adds the space commands from LaTeX: -% \begin{macrocode} - \cs_new_protected:Npn \@@_property_record:nn #1 #2 %label/attributes - { - \@bsphack - \property_record:nn{#1}{#2} - \@esphack - } -% \end{macrocode} -% This provides a conditional which tests if a label/property combination is known -% \begin{macrocode} - \prg_new_eq_conditional:NNn - \@@_property_if_recorded:nn \property_if_recorded:nn { T } -% \end{macrocode} -% This checks if the label/property is known and issues a warning if not. -% It then also triggers the standard rerun message. -% \begin{macrocode} - \cs_new_eq:NN \@@_property_ref_undefined_warn:nn \property_ref_undefined_warn:nn -% \end{macrocode} -% -% \begin{macrocode} - \cs_new_eq:NN \@@_property_ref:nn \property_ref:nn - } % \end{macrocode} -% and now the same with the older l3ref-tmp. -% This can go once LaTeX has been released. +% A label command which adds the space commands from LaTeX: % \begin{macrocode} - { - \cs_new_protected:Npn \@@_property_record:nn #1 #2 %label/attributes - { - \@bsphack - \ref_label:nn{#1}{#2} - \@esphack - } - - \prg_new_eq_conditional:NNn \@@_property_if_recorded:nn \ref_if_exist:nn { T } - - \cs_new_protected:Npn \@@_property_ref_undefined_warn:nn #1 #2 %label/attribute - { - \@@_property_if_recorded:nnF {#1}{#2} - { - \protect\G@refundefinedtrue - \@latex@warning - { - Reference~'\tl_to_str:n {#1}'~with~attribute~'\tl_to_str:n {#2}'~ - on~page~\thepage~\space undefined - } - } - } - - \cs_new:Npn \@@_property_ref:nn #1 #2 - { - \ref_value:nn{#1}{#2} - } - } +\cs_new_protected:Npn \@@_property_record:nn #1 #2 %label/attributes + { + \@bsphack + \property_record:nn{#1}{#2} + \@esphack + } % \end{macrocode} -% At last we generate a few variants. We use ee-variants as they already exist +% we generate a few variants. We use ee-variants as they already exist % in the module and once this is there it can go here. % \begin{macrocode} \cs_generate_variant:Nn \@@_property_record:nn {ee} -\prg_generate_conditional_variant:Nnn \@@_property_if_recorded:nn {ee} { T } -\cs_generate_variant:Nn \@@_property_ref_undefined_warn:nn {ee} -\cs_generate_variant:Nn \@@_property_ref:nn {ee} % \end{macrocode} % \end{macro} % \section{Variables} @@ -4248,11 +4195,8 @@ \prop_new:N \g_@@_AcroForm_CoFields_prop \prop_new:N \g_@@_AcroForm_Fields_prop -\let\HyField@afields\ltx@empty -\let\HyField@cofields\ltx@empty -%% UF test for old pdftex removed -%\let\HyField@AuxAddToFields\ltx@gobble -%\let\HyField@AuxAddToCoFields\ltx@gobbletwo +\let\HyField@afields\@empty +\let\HyField@cofields\@empty \def\HyField@AfterAuxOpen{\Hy@AtBeginDocument}% % the value doesn't matter, but with a prop we avoid duplicates and it is @@ -4288,7 +4232,7 @@ { \pdfannot_box_ref_last: } - \ifx\Fld@calculate@code\ltx@empty + \ifx\Fld@calculate@code\@empty \else \begingroup \Hy@safe@activestrue @@ -4375,29 +4319,30 @@ } } \ExplSyntaxOff -\let\@endForm\ltx@empty -\let\HyAnn@AbsPageLabel\ltx@empty -\let\Fld@pageobjref\ltx@empty +\let\@endForm\@empty +\let\HyAnn@AbsPageLabel\@empty +\let\Fld@pageobjref\@empty \ExplSyntaxOn \newcount\HyAnn@Count -\HyAnn@Count=\ltx@zero +\HyAnn@Count=\z@ \def\HyAnn@AbsPageLabel { - \global\advance\HyAnn@Count by\ltx@one + \global\advance\HyAnn@Count by\@ne %\zref@labelbyprops{HyAnn@\the\HyAnn@Count}{abspage}% %\zref@labelbylist {HyAnn@\the\HyAnn@Count} {l3pdf} %\zref@refused{HyAnn@\the\HyAnn@Count}% \@@_property_record:ee {HyAnn@\the\HyAnn@Count}{abspage} - \@@_property_ref_undefined_warn:ee {HyAnn@\the\HyAnn@Count}{abspage} + \property_ref_undefined_warn:ee {HyAnn@\the\HyAnn@Count}{abspage} }% +\prg_generate_conditional_variant:Nnn \property_if_recorded:nn {ee} {T} \def\Fld@pageobjref { - \@@_property_if_recorded:eeT {HyAnn@\the\HyAnn@Count}{abspage} + \property_if_recorded:eeT {HyAnn@\the\HyAnn@Count}{abspage} { /P~\pdf_pageobject_ref:e { - \@@_property_ref:ee{HyAnn@\the\HyAnn@Count}{abspage} + \property_ref:ee{HyAnn@\the\HyAnn@Count}{abspage} } } } @@ -4408,7 +4353,7 @@ %% check if options are missing. \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% - \let\Fld@default\ltx@empty + \let\Fld@default\@empty \let\Fld@value\@empty \def\Fld@width{\DefaultWidthofText}% \def\Fld@height{% @@ -4864,7 +4809,7 @@ \else \expandafter \Hy@pstringdef\csname Hy@esc@\string#2\endcsname{#2}% probably string-hex - \ltx@ReturnAfterFi{% + \Hy@ReturnAfterFi{% \Hy@@escapeform#3\@nil }% \fi @@ -5334,7 +5279,7 @@ \endgroup \H@old@schapter{#1}% } -\ltx@IfUndefined{@chapter}{}{% +\@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter \def\@chapter{% \def\Hy@next{% @@ -5344,7 +5289,7 @@ }% }% \ifnum\c@secnumdepth>\m@ne - \ltx@IfUndefined{if@mainmatter}% + \@ifundefined{if@mainmatter}% \iftrue{\csname if@mainmatter\endcsname}% \let\Hy@next\relax \fi diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx index 4d557d276b5..37e47d5c91b 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx @@ -45,7 +45,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % @@ -56,27 +56,27 @@ % \begin{macrocode} %<drivers>\ProvidesExplFile %<*dvipdfmx> - {l3backend-testphase-dvipdfmx.def}{2023-11-05}{} + {l3backend-testphase-dvipdfmx.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx} %</dvipdfmx> %<*dvips> - {l3backend-testphase-dvips.def}{2023-11-05}{} + {l3backend-testphase-dvips.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvips} %</dvips> %<*dvisvgm> - {l3backend-testphase-dvisvgm.def}{2023-11-05}{} + {l3backend-testphase-dvisvgm.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm} %</dvisvgm> %<*luatex> - {l3backend-testphase-luatex.def}{2023-11-05}{} + {l3backend-testphase-luatex.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)} %</luatex> %<*pdftex> - {l3backend-testphase-pdftex.def}{2023-11-05}{} + {l3backend-testphase-pdftex.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)} %</pdftex> %<*xdvipdfmx> - {l3backend-testphase-xetex.def}{2023-11-05}{} + {l3backend-testphase-xetex.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX} %</xdvipdfmx> % \end{macrocode} @@ -167,48 +167,22 @@ % \end{macro} % \subsection{Crossreferences} -% This uses the temporary l3ref-tmp.sty. It will -% will be replaced by kernel code later. -% It is only needed to get a reference for the absolute page counter. -% This uses the counter from the new lthooks/ltshipout package. +% Commands to get a reference for the absolute page counter. % \begin{macrocode} %<*drivers> % \end{macrocode} -% l3ref-tmp is loaded until all files in latex-lab and tagpdf has been -% cleared: % \begin{macrocode} -\RequirePackage{l3ref-tmp} -% \end{macrocode} -% -% \begin{macrocode} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \@@_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \@@_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \@@_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \@@_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \@@_backend_record_abspage:n #1 - %% \@@_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \@@_backend_ref_abspage:n #1 - %% \@@_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \@@_backend_record_abspage:n {e} \cs_generate_variant:Nn \@@_backend_ref_abspage:n {e} %</drivers> diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx index 73b309615c4..4c0942ad727 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -432,7 +432,7 @@ % \begin{macrocode} %<@@=pdfannot> %<*header> -\ProvidesExplPackage{l3pdfannot}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdfannot}{2023-11-17}{0.96c} {PDF-annotations} \RequirePackage{l3pdfdict} %</header> diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx index 88f6f1bd1cf..abb1d339364 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -208,7 +208,7 @@ % \begin{macrocode} %<@@=pdfdict> %<*header> -\ProvidesExplPackage{l3pdfdict}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdfdict}{2023-11-17}{0.96c} {Tools for PDF dictionaries (LaTeX PDF management testphase bundle)} %</header> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx index 3948784b336..b4d535bfc2f 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx index cb16c8f00d4..dfbf0c3af31 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx @@ -64,7 +64,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx index 23d142d0895..c94891b7331 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx index 38f3b91b125..fb7b913a76f 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx @@ -55,7 +55,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx index 3c82cdde974..e9519906506 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx @@ -83,7 +83,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx index df091d3e602..7922c659a75 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx index 9261078e98d..59275311f49 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx @@ -69,7 +69,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -972,7 +972,7 @@ %<*package> %<@@=pdffield> \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{l3pdffield-testphase}{2023-11-05}{0.96b}% +\ProvidesExplPackage{l3pdffield-testphase}{2023-11-17}{0.96c}% {form fields} % \end{macrocode} % \subsection{hyperref specific command} @@ -1230,7 +1230,7 @@ { \prop_if_empty:NF \g_@@_CO_sortkeys_prop { - \seq_sort:Nn \g_@@_CO_sortkeys_seq + \seq_gsort:Nn \g_@@_CO_sortkeys_seq { \str_compare:eNeTF { \prop_item:Nn \g_@@_CO_sortkeys_prop {#1} } diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx index 08ec26e76f6..5a11d41e7ee 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -398,7 +398,7 @@ % % \begin{macrocode} %<*header> -\ProvidesExplPackage{l3pdffile}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdffile}{2023-11-17}{0.96c} {embedding and referencing files in PDF---LaTeX PDF management testphase bundle} \RequirePackage{l3pdftools} %temporarly!! %</header> @@ -481,7 +481,7 @@ ,.tex = application/x-tex %not in iana.org list but probably better ,.txt = text/plain ,.sty = text/plain - ,.xml = text/xml + ,.xml = application/xml } % \end{macrocode} % \begin{variable} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx index cdedd54040e..88704f2e51c 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx @@ -57,7 +57,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -632,7 +632,7 @@ %<@@=pdfmanagement> %<*header> % -\ProvidesExplPackage{l3pdfmanagement}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdfmanagement}{2023-11-17}{0.96c} {Management of core PDF dictionaries (LaTeX PDF management testphase bundle)} %</header> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx index 0a55e2b9d77..6d6b19b2deb 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -566,7 +566,7 @@ % \begin{macrocode} %<@@=pdfmeta> %<*header> -\ProvidesExplPackage{l3pdfmeta}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdfmeta}{2023-11-17}{0.96c} {PDF-Standards---LaTeX PDF management testphase bundle} %</header> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx index ce9958a9bb0..c6efc127f39 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx @@ -49,7 +49,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -231,7 +231,7 @@ % % \begin{macrocode} %<*header> -\ProvidesExplPackage{l3pdftools}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdftools}{2023-11-17}{0.96c} {candidate commands for l3pdf---LaTeX PDF management testphase bundle} %</header> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx index bb25497b41b..0f3196cb0a7 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -132,7 +132,7 @@ % \begin{macrocode} %<@@=pdf> %<*header> -\ProvidesExplPackage{l3pdfxform}{2023-11-05}{0.96b} +\ProvidesExplPackage{l3pdfxform}{2023-11-17}{0.96c} {command to create xforms (beta)---LaTeX PDF management testphase bundle} %</header> % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx index 6501ef67150..332012c4dc2 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -220,48 +220,34 @@ % \begin{macrocode} %<@@=pdfmanagement> %<*header> -\ProvidesExplPackage{ltdocinit}{2023-11-05}{0.96b} +\ProvidesExplPackage{ltdocinit}{2023-11-17}{0.96c} {Initialize document metadata} %</header> % \end{macrocode} -% \cs{DocumentMetadata} will be defined by the kernel in short time. -% So we define it and the keys here only if it is not already defined. -% \subsection{The keys for \cs{DocumentMetadata}} -% We define the keys first so that we can test if \cs{DocumentMetadata} -% exist (testing for the format date would be nice but would fail for the current -% latex-dev). -% \begin{variable}{\g_@@_firstaidoff_clist} -% A list to store the firstaid code which should be disabled % \begin{macrocode} %<*package> -\clist_new:N \g_@@_firstaidoff_clist % \end{macrocode} +% \subsection{Variables} +% This variable definitions can be remove once latex-lab has been updated to +% provide them too. +% \begin{variable}{\g_@@_firstaidoff_clist} +% A list to store the firstaid code which should be disabled +% \begin{macrocode} +\clist_if_exist:NF \g_@@_firstaidoff_clist + { \clist_new:N \g_@@_firstaidoff_clist } +% \end{macrocode} % \end{variable} % \begin{variable}{\g_@@_testphase_tl} % a tl to store the testphase loading code so that we can load them at % the end of the command. % \begin{macrocode} -\tl_new:N \g_@@_testphase_tl +\tl_if_exist:NF \g_@@_testphase_tl + { \tl_new:N \g_@@_testphase_tl } % \end{macrocode} % \end{variable} -% \begin{macrocode} -\keys_define:nn { document / metadata } - { - ,testphase / new-or-1 .code:n = - { - \tl_gput_right:Nn\g_@@_testphase_tl - { - \file_if_exist_input:nF {new-or-1-latex-lab-testphase.ltx} - { - \RequirePackage{output-patches-tmp-ltx} - } - } - } - } -% \end{macrocode} -% % \subsection{\cs{DeclareDocumentMetadata}} -% We define the older alias \cs{DeclareDocumentMetadata} +% \cs{DocumentMetadata} is defined by the kernel. +% We only define the older alias \cs{DeclareDocumentMetadata} % % \begin{macro}{\DeclareDocumentMetadata} % \begin{macrocode} diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx index 3835be9ef2b..6154ccf3e34 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -63,7 +63,7 @@ % |debug={firstaidoff={name1,name2,...},...}|. % \begin{macrocode} %<*package> -\ProvidesExplPackage{pdfmanagement-firstaid}{2023-11-05}{0.96b} +\ProvidesExplPackage{pdfmanagement-firstaid}{2023-11-17}{0.96c} {LaTeX PDF management testphase bundle / firstaid-patches} %<@@=pdfmanagement> diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx index bb6140dd31e..a685374c524 100644 --- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx +++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.96b, released 2023-11-05} +% \date{Version 0.96c, released 2023-11-17} % % \maketitle % \begin{documentation} @@ -232,9 +232,11 @@ % \cs{pdfmanagement_if_active:TF} can be used, see the documentation of \pkg{l3pdfmanagement}. % % \section{Requirements} -% The new PDF management requires a \LaTeX{} format from 2020/10/01 or later -% and an L3 programming layer of 2021-02-18 or later. -% It currently depends on the experimental packages \pkg{l3ref-tmp} and \pkg{l3bitset}. +% The new PDF management is developed parallel to the \LaTeX{} format +% and should be updated together with the format. It +% requires currently a \LaTeX{} format from 2023/11/01 or later +% and an L3 programming layer of 2023-11-01 or later. +% It currently depends on the experimental package and \pkg{l3bitset}. % In some places, e.g. when writing strings to the pdf it assumes that % the file is utf8 encoded -- ascii will naturally work too, but legacy 8bit encodings are % not supported. @@ -395,7 +397,7 @@ % \begin{macrocode} %<@@=pdf> %<*package> -\ProvidesExplPackage{pdfmanagement-testphase}{2023-11-05}{0.96b} +\ProvidesExplPackage{pdfmanagement-testphase}{2023-11-17}{0.96c} {LaTeX PDF management testphase bundle} \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020-10-01}{}{ @@ -423,7 +425,7 @@ % to allow to set it in the document. % \begin{macrocode} %<*header> -\ProvidesExplFile{pdfmanagement-testphase.ltx}{2023-11-05}{0.96b} +\ProvidesExplFile{pdfmanagement-testphase.ltx}{2023-11-17}{0.96c} {PDF~management~code~(testphase)} % \end{macrocode} % We define a boolean for the new delayed shipout. This is temporary. At some diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty index ac0a4e5f86f..6b86bc4c172 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty +++ b/Master/texmf-dist/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}[2023-11-05 v0.96b +\ProvidesPackage{color-ltx}[2023-11-17 v0.96c 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 diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty index 8e03acf1120..c6f186877a6 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty +++ b/Master/texmf-dist/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}{2023-11-05}{0.96b} +\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2023-11-17}{0.96c} {temporay patches to for the colorspace package to test pdfresource management ... UF} % colorspace can define more models, that l3color can't yet handle. diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def index a9e7d4c380e..58d59f604ef 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def @@ -19,10 +19,11 @@ %% and all files in that bundle must be distributed together. %% %% File: hyperref-generic.dtx -\ProvidesFile{hgeneric-testphase.def}[2023-11-05 v0.96b % +\ProvidesFile{hgeneric-testphase.def}[2023-11-17 v0.96c % generic Hyperref driver for the LaTeX PDF management testphase bundle] \RequirePackage{etoolbox} %why? +\long\def\Hy@ReturnAfterFi#1\fi{\fi#1} \ExplSyntaxOn \file_input:n {hyperref-colorschemes.def} \ExplSyntaxOff @@ -454,51 +455,13 @@ { \PassOptionsToPackage{draft}{bookmark} } -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__hyp_property_record:nn #1 #2 %label/attributes - { - \@bsphack - \property_record:nn{#1}{#2} - \@esphack - } - \prg_new_eq_conditional:NNn - \__hyp_property_if_recorded:nn \property_if_recorded:nn { T } - \cs_new_eq:NN \__hyp_property_ref_undefined_warn:nn \property_ref_undefined_warn:nn - \cs_new_eq:NN \__hyp_property_ref:nn \property_ref:nn - } - { - \cs_new_protected:Npn \__hyp_property_record:nn #1 #2 %label/attributes - { - \@bsphack - \ref_label:nn{#1}{#2} - \@esphack - } - - \prg_new_eq_conditional:NNn \__hyp_property_if_recorded:nn \ref_if_exist:nn { T } - - \cs_new_protected:Npn \__hyp_property_ref_undefined_warn:nn #1 #2 %label/attribute - { - \__hyp_property_if_recorded:nnF {#1}{#2} - { - \protect\G@refundefinedtrue - \@latex@warning - { - Reference~'\tl_to_str:n {#1}'~with~attribute~'\tl_to_str:n {#2}'~ - on~page~\thepage~\space undefined - } - } - } - - \cs_new:Npn \__hyp_property_ref:nn #1 #2 - { - \ref_value:nn{#1}{#2} - } - } +\cs_new_protected:Npn \__hyp_property_record:nn #1 #2 %label/attributes + { + \@bsphack + \property_record:nn{#1}{#2} + \@esphack + } \cs_generate_variant:Nn \__hyp_property_record:nn {ee} -\prg_generate_conditional_variant:Nnn \__hyp_property_if_recorded:nn {ee} { T } -\cs_generate_variant:Nn \__hyp_property_ref_undefined_warn:nn {ee} -\cs_generate_variant:Nn \__hyp_property_ref:nn {ee} \box_new:N \l__hyp_tmpa_box \tl_new:N \l__hyp_tmpa_tl \seq_new:N \l__hyp_tmpa_seq @@ -2449,9 +2412,8 @@ \prop_new:N \g__hyp_AcroForm_CoFields_prop \prop_new:N \g__hyp_AcroForm_Fields_prop -\let\HyField@afields\ltx@empty -\let\HyField@cofields\ltx@empty -%% UF test for old pdftex removed +\let\HyField@afields\@empty +\let\HyField@cofields\@empty \def\HyField@AfterAuxOpen{\Hy@AtBeginDocument}% \def\HyField@AuxAddToFields#1 @@ -2483,7 +2445,7 @@ { \pdfannot_box_ref_last: } - \ifx\Fld@calculate@code\ltx@empty + \ifx\Fld@calculate@code\@empty \else \begingroup \Hy@safe@activestrue @@ -2570,29 +2532,30 @@ } } \ExplSyntaxOff -\let\@endForm\ltx@empty -\let\HyAnn@AbsPageLabel\ltx@empty -\let\Fld@pageobjref\ltx@empty +\let\@endForm\@empty +\let\HyAnn@AbsPageLabel\@empty +\let\Fld@pageobjref\@empty \ExplSyntaxOn \newcount\HyAnn@Count -\HyAnn@Count=\ltx@zero +\HyAnn@Count=\z@ \def\HyAnn@AbsPageLabel { - \global\advance\HyAnn@Count by\ltx@one + \global\advance\HyAnn@Count by\@ne %\zref@labelbyprops{HyAnn@\the\HyAnn@Count}{abspage}% %\zref@labelbylist {HyAnn@\the\HyAnn@Count} {l3pdf} %\zref@refused{HyAnn@\the\HyAnn@Count}% \__hyp_property_record:ee {HyAnn@\the\HyAnn@Count}{abspage} - \__hyp_property_ref_undefined_warn:ee {HyAnn@\the\HyAnn@Count}{abspage} + \property_ref_undefined_warn:ee {HyAnn@\the\HyAnn@Count}{abspage} }% +\prg_generate_conditional_variant:Nnn \property_if_recorded:nn {ee} {T} \def\Fld@pageobjref { - \__hyp_property_if_recorded:eeT {HyAnn@\the\HyAnn@Count}{abspage} + \property_if_recorded:eeT {HyAnn@\the\HyAnn@Count}{abspage} { /P~\pdf_pageobject_ref:e { - \__hyp_property_ref:ee{HyAnn@\the\HyAnn@Count}{abspage} + \property_ref:ee{HyAnn@\the\HyAnn@Count}{abspage} } } } @@ -2603,7 +2566,7 @@ %% check if options are missing. \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% - \let\Fld@default\ltx@empty + \let\Fld@default\@empty \let\Fld@value\@empty \def\Fld@width{\DefaultWidthofText}% \def\Fld@height{% @@ -3057,7 +3020,7 @@ \else \expandafter \Hy@pstringdef\csname Hy@esc@\string#2\endcsname{#2}% probably string-hex - \ltx@ReturnAfterFi{% + \Hy@ReturnAfterFi{% \Hy__hypescapeform#3\@nil }% \fi @@ -3507,7 +3470,7 @@ \endgroup \H@old@schapter{#1}% } -\ltx@IfUndefined{@chapter}{}{% +\@ifundefined{@chapter}{}{% \let\Hy@org@chapter\@chapter \def\@chapter{% \def\Hy@next{% @@ -3517,7 +3480,7 @@ }% }% \ifnum\c@secnumdepth>\m@ne - \ltx@IfUndefined{if@mainmatter}% + \@ifundefined{if@mainmatter}% \iftrue{\csname if@mainmatter\endcsname}% \let\Hy@next\relax \fi diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def index 37bca32a03e..8cf0f6fa6a7 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvipdfmx.def}{2023-11-05}{} + {l3backend-testphase-dvipdfmx.def}{2023-11-17}{} {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 } @@ -30,35 +30,17 @@ { \tex_special:D~shipout { #1} } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \__kernel_backend_literal:n { dvipdfmx:config~C~ 0x0010 } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def index 3778a6d8a13..435bcfbd146 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvips.def}{2023-11-05}{} + {l3backend-testphase-dvips.def}{2023-11-17}{} {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 } @@ -30,35 +30,17 @@ { \tex_special:D~shipout { #1} } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \prop_new:N \g__pdf_tmpa_prop diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def index ab7012c1577..0a2a47841ed 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-dvisvgm.def}{2023-11-05}{} + {l3backend-testphase-dvisvgm.def}{2023-11-17}{} {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm} \bool_if:NT \l__pdfmanagement_delayed_shipout_bool { @@ -28,35 +28,17 @@ { \tex_special:D~shipout { #1} } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \prop_new:N \g__pdf_tmpa_prop diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def index 75d50bb2d9d..13b00642c16 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-luatex.def}{2023-11-05}{} + {l3backend-testphase-luatex.def}{2023-11-17}{} {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 @@ -39,35 +39,17 @@ } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \prop_new:N \g__pdf_tmpa_prop diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def index 15ff542a3a5..77e53bb2307 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-pdftex.def}{2023-11-05}{} + {l3backend-testphase-pdftex.def}{2023-11-17}{} {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 @@ -39,35 +39,17 @@ } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \prop_new:N \g__pdf_tmpa_prop diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def index 7bf6539dc83..ff3d9ad81d1 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def @@ -20,7 +20,7 @@ %% %% File: l3backend-testphase.dtx \ProvidesExplFile - {l3backend-testphase-xetex.def}{2023-11-05}{} + {l3backend-testphase-xetex.def}{2023-11-17}{} {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 } @@ -30,35 +30,17 @@ { \tex_special:D~shipout { #1} } } -\RequirePackage{l3ref-tmp} -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - { - \@bsphack - \property_record:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - { - \property_ref:nn{#1}{abspage} - } +\cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 + { + \@bsphack + \property_record:nn{#1}{abspage} + \@esphack + } +\cs_new:Npn \__pdf_backend_ref_abspage:n #1 + { + \property_ref:nn{#1}{abspage} + } - } - { - \cs_new_protected:Npn \__pdf_backend_record_abspage:n #1 - %% \__pdf_backend_ref_label:nn #1 #2 - { - \@bsphack - \ref_label:nn{#1}{abspage} - \@esphack - } - \cs_new:Npn \__pdf_backend_ref_abspage:n #1 - %% \__pdf_backend_ref_value:nn #1 #2 - { - \ref_value:nn{#1}{abspage} - } - } \cs_generate_variant:Nn \__pdf_backend_record_abspage:n {e} \cs_generate_variant:Nn \__pdf_backend_ref_abspage:n {e} \__kernel_backend_literal:n { dvipdfmx:config~C~ 0x0010 } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty index feab2871ee7..e9292fec3d9 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty @@ -27,7 +27,7 @@ %% File: l3pdffield.dtx \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{l3pdffield-testphase}{2023-11-05}{0.96b}% +\ProvidesExplPackage{l3pdffield-testphase}{2023-11-17}{0.96c}% {form fields} \csname HyField@NeedAppearancesfalse\endcsname % suppress NeedAppearances \str_new:N \l__pdffield_tmpa_str @@ -228,7 +228,7 @@ { \prop_if_empty:NF \g__pdffield_CO_sortkeys_prop { - \seq_sort:Nn \g__pdffield_CO_sortkeys_seq + \seq_gsort:Nn \g__pdffield_CO_sortkeys_seq { \str_compare:eNeTF { \prop_item:Nn \g__pdffield_CO_sortkeys_prop {#1} } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3ref-tmp.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3ref-tmp.sty deleted file mode 100644 index f5d2a8ba3a8..00000000000 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3ref-tmp.sty +++ /dev/null @@ -1,124 +0,0 @@ -%% This is file `l3ref-tmp.sty', -%% -%% Copyright (C) 2020-2021 The LaTeX Project -%% -%% It may be distributed and/or modified under the conditions of -%% the LaTeX Project Public License (LPPL), either version 1.3c of -%% this license or (at your option) any later version. The latest -%% version of this license is in the file: -%% -%% http://www.latex-project.org/lppl.txt -%% -%% This file is a tmp file in place of a future kernel module -%% and subject to change without notice. -%% -\ProvidesExplPackage{l3ref-tmp}{2021-06-23}{} - {L3 Experimental cross-referencing} -\cs_new_protected:Npn \ref_attribute_gset:nnnn #1#2#3#4 - { - \exp_args:Nx \__ref_attribute_gset:nnnn { \tl_to_str:n {#1} } - {#2} {#3} {#4} - } -\cs_new_protected:Npn \__ref_attribute_gset:nnnn #1#2#3#4 - { - \cs_gset:cpn { __ref_attribute_ #1 : } {#4} - \tl_gclear_new:c { g__ref_default_ #1 _tl } - \tl_gset:cn { g__ref_default_ #1 _tl } {#2} - \bool_if_exist:cF { g__ref_shipout_ #1 _tl } - { \bool_new:c { g__ref_shipout_ #1 _tl } } - \str_case:nnF {#3} - { - { now } { { \bool_gset_false:c { g__ref_shipout_ #1 _tl } } } - { shipout } - { \bool_gset_true:c { g__ref_shipout_ #1 _tl } } - } - { \msg_error:nnnn { ref } { unknown-setpoint } {#1} {#3} } - } -\cs_new_protected:Npn \ref_label:nN #1#2 - { \ref_label:nV {#1} #2 } -\cs_new_protected:Npn \ref_label:nn #1#2 - { \exp_args:Nx \__ref_label:nn { \tl_to_str:n {#1} } {#2} } -\cs_generate_variant:Nn \ref_label:nn { nV } -\cs_new_protected:Npn \__ref_label:nn #1#2 - { - \legacy_if:nT { @filesw } - { - \iow_shipout_x:Nx \@auxout - { - \token_to_str:N \newlabeldata - {#1} - { \clist_map_function:nN {#2} \__ref_label_attribute:n } - } - } - } -\cs_new:Npn \__ref_label_attribute:n #1 - { \exp_args:Ne \__ref_label_attribute_aux:n { \tl_to_str:n {#1} } } -\cs_new:Npn \__ref_label_attribute_aux:n #1 - { - \cs_if_exist:cTF { __ref_attribute_ #1 : } - { - {#1} - { - \bool_if:cTF { g__ref_shipout_ #1 _tl } - { \exp_not:c } - { \use:c } - { __ref_attribute_ #1 : } - } - } - { \msg_expandable_error:nnn { ref } { attribute-not-defined } {#1} } - } -\cs_new:Npn \ref_value:nn #1#2 - { - \exp_args:Nee \__ref_value:nn { \tl_to_str:n {#1} } { \tl_to_str:n {#2} } - } -\cs_new:Npn \__ref_value:nn #1#2 - { - \tl_if_exist:cTF { g__ref_label_ #1 _ #2 _tl } - { \tl_use:c { g__ref_label_ #1 _ #2 _tl } } - { - \tl_if_exist:cTF { g__ref_default_ #2 _tl } - { \tl_use:c { g__ref_default_ #2 _tl } } - { \exp_not:n { \textbf { ?? } } } - } - } -\prg_new_conditional:Npnn \ref_if_exist:nn #1#2 { p , T , F, TF } % #1 label #2 attribute - { - \tl_if_exist:cTF { g__ref_label_ \tl_to_str:n {#1} _ \tl_to_str:n {#2} _tl } - { - \prg_return_true: - } - { - \prg_return_false: - } - } -\cs_new_protected:Npn \newlabeldata #1#2 - { - \__ref_data:nnn {#1} #2 { \q_recursion_tail } { ? } \q_recursion_stop - } -\cs_new_protected:Npn \__ref_data:nnn #1#2#3 - { - \quark_if_recursion_tail_stop:n {#2} - \tl_gclear_new:c { g__ref_label_ \tl_to_str:n {#1} _ \tl_to_str:n {#2} _tl } - \tl_gset:cn { g__ref_label_ \tl_to_str:n {#1} _ \tl_to_str:n {#2} _tl } {#3} - \__ref_data:nnn {#1} - } -\ref_attribute_gset:nnnn { abspage } { 0 } { shipout } - { \int_use:N \g_shipout_readonly_int } -\ref_attribute_gset:nnnn { page } { 0 } { shipout } { \thepage } -\clist_new:N \g_ref_main_clist -\clist_gput_right:Nn \g_ref_main_clist { page } -\msg_new:nnnn { ref } { attribute-not-defined } - { Attribute~'#1'~not~defined. } - { - LaTeX~has~been~asked~to~use~attribute~'#1',~but~this~ - name~has~not~been~defined. - } -\msg_new:nnnn { ref } { unknown-setpoint } - { Unknown~keyword~'#3'~for~setting~attribute~'#1'. } - { - LaTeX~has~been~asked~to~set~the~attribute~'#1',~but~the~keyword~ - '#3'~is~not~one~of~the~two~known~values:~'now'~or~'shipout'. - } -%% -%% -%% End of file `l3ref.sty'. 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 b32eac928c5..4121a88af3e 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-11-05}{0.96b} +\ProvidesExplPackage{pdfmanagement-firstaid}{2023-11-17}{0.96c} {LaTeX PDF management testphase bundle / firstaid-patches} \clist_map_inline:nn diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx index 8654dbe2f2c..00c59f51e7a 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx +++ b/Master/texmf-dist/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}{2023-11-05}{0.96b} +\ProvidesExplFile{pdfmanagement-testphase.ltx}{2023-11-17}{0.96c} {PDF~management~code~(testphase)} \bool_new:N\l__pdfmanagement_delayed_shipout_bool \msg_new:nnn {pdfmanagement}{delayed-shipout} @@ -1034,21 +1034,10 @@ } \pdfdict_new:n { g__pdf_Core/Xform/Resources/Properties} %% File: ltdocinit.dtx -\clist_new:N \g__pdfmanagement_firstaidoff_clist -\tl_new:N \g__pdfmanagement_testphase_tl -\keys_define:nn { document / metadata } - { - ,testphase / new-or-1 .code:n = - { - \tl_gput_right:Nn\g__pdfmanagement_testphase_tl - { - \file_if_exist_input:nF {new-or-1-latex-lab-testphase.ltx} - { - \RequirePackage{output-patches-tmp-ltx} - } - } - } - } +\clist_if_exist:NF \g__pdfmanagement_firstaidoff_clist + { \clist_new:N \g__pdfmanagement_firstaidoff_clist } +\tl_if_exist:NF \g__pdfmanagement_testphase_tl + { \tl_new:N \g__pdfmanagement_testphase_tl } \NewCommandCopy\DeclareDocumentMetadata\DocumentMetadata \prop_new:N \g__pdfmanagement_documentproperties_prop % \NewDocumentCommand\AddToDocumentProperties{O{\@currname}mm} @@ -2841,7 +2830,7 @@ ,.tex = application/x-tex %not in iana.org list but probably better ,.txt = text/plain ,.sty = text/plain - ,.xml = text/xml + ,.xml = application/xml } \str_new:N \l_pdffile_source_name_str \pdfdict_new:n { l_pdffile } diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty index 9e1470f9ccf..76775214b77 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty +++ b/Master/texmf-dist/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}{2023-11-05}{0.96b} +\ProvidesExplPackage{pdfmanagement-testphase}{2023-11-17}{0.96c} {LaTeX PDF management testphase bundle} \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020-10-01}{}{ diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty index 597c4669a2b..98d5aaf4e91 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty +++ b/Master/texmf-dist/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}[2023-11-05 v0.96b patch xcolor for l3color] +\ProvidesPackage{xcolor-patches-tmp-ltx}[2023-11-17 v0.96c patch xcolor for l3color] \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{} \ExplSyntaxOn |