[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: add pdfmanagement version 0.96c (b0dc404d)
github at latex-project.org
github at latex-project.org
Sat Nov 18 00:31:54 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : latex-lab/uf-review-05
Link : https://github.com/latex3/latex2e/commit/b0dc404d4d7233262b4e5a621d9272fac672d354
>---------------------------------------------------------------
commit b0dc404d4d7233262b4e5a621d9272fac672d354
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Nov 18 00:31:54 2023 +0100
add pdfmanagement version 0.96c
>---------------------------------------------------------------
b0dc404d4d7233262b4e5a621d9272fac672d354
.../latex/pdfmanagement-testphase/color-ltx.sty | 2 +-
.../colorspace-patches-tmp-ltx.sty | 2 +-
.../pdfmanagement-testphase/hgeneric-testphase.def | 29 +++++++++++-----------
.../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 | 23 +++++------------
.../pdfmanagement-testphase.sty | 2 +-
.../xcolor-patches-tmp-ltx.sty | 2 +-
14 files changed, 34 insertions(+), 44 deletions(-)
diff --git a/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty b/texmf/tex/latex/pdfmanagement-testphase/color-ltx.sty
index ac0a4e5f..6b86bc4c 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}[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 at codes{%
\catcode`\noexpand\^^A\the\catcode`\^^A\relax
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 8e03acf1..c6f18687 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}{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/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def b/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
index a51ad39e..58d59f60 100644
--- a/texmf/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
+++ b/texmf/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 at ReturnAfterFi#1\fi{\fi#1}
\ExplSyntaxOn
\file_input:n {hyperref-colorschemes.def}
\ExplSyntaxOff
@@ -2411,9 +2412,8 @@
\prop_new:N \g__hyp_AcroForm_CoFields_prop
\prop_new:N \g__hyp_AcroForm_Fields_prop
-\let\HyField at afields\ltx at empty
-\let\HyField at cofields\ltx at empty
-%% UF test for old pdftex removed
+\let\HyField at afields\@empty
+\let\HyField at cofields\@empty
\def\HyField at AfterAuxOpen{\Hy at AtBeginDocument}%
\def\HyField at AuxAddToFields#1
@@ -2445,7 +2445,7 @@
{
\pdfannot_box_ref_last:
}
- \ifx\Fld at calculate@code\ltx at empty
+ \ifx\Fld at calculate@code\@empty
\else
\begingroup
\Hy at safe@activestrue
@@ -2532,22 +2532,23 @@
}
}
\ExplSyntaxOff
-\let\@endForm\ltx at empty
-\let\HyAnn at AbsPageLabel\ltx at empty
-\let\Fld at pageobjref\ltx at empty
+\let\@endForm\@empty
+\let\HyAnn at AbsPageLabel\@empty
+\let\Fld at pageobjref\@empty
\ExplSyntaxOn
\newcount\HyAnn at Count
-\HyAnn at Count=\ltx at zero
+\HyAnn at Count=\z@
\def\HyAnn at AbsPageLabel
{
- \global\advance\HyAnn at Count by\ltx at one
+ \global\advance\HyAnn at Count by\@ne
%\zref at labelbyprops{HyAnn@\the\HyAnn at Count}{abspage}%
%\zref at labelbylist {HyAnn@\the\HyAnn at Count} {l3pdf}
%\zref at refused{HyAnn@\the\HyAnn at Count}%
\__hyp_property_record:ee {HyAnn@\the\HyAnn at Count}{abspage}
\property_ref_undefined_warn:ee {HyAnn@\the\HyAnn at Count}{abspage}
}%
+\prg_generate_conditional_variant:Nnn \property_if_recorded:nn {ee} {T}
\def\Fld at pageobjref
{
\property_if_recorded:eeT {HyAnn@\the\HyAnn at Count}{abspage}
@@ -2565,7 +2566,7 @@
%% check if options are missing.
\def\@TextField[#1]#2{% parameters, label
\def\Fld at name{#2}%
- \let\Fld at default\ltx at empty
+ \let\Fld at default\@empty
\let\Fld at value\@empty
\def\Fld at width{\DefaultWidthofText}%
\def\Fld at height{%
@@ -3019,7 +3020,7 @@
\else
\expandafter
\Hy at pstringdef\csname Hy at esc@\string#2\endcsname{#2}% probably string-hex
- \ltx at ReturnAfterFi{%
+ \Hy at ReturnAfterFi{%
\Hy__hypescapeform#3\@nil
}%
\fi
@@ -3469,7 +3470,7 @@
\endgroup
\H at old@schapter{#1}%
}
-\ltx at IfUndefined{@chapter}{}{%
+\@ifundefined{@chapter}{}{%
\let\Hy at org@chapter\@chapter
\def\@chapter{%
\def\Hy at next{%
@@ -3479,7 +3480,7 @@
}%
}%
\ifnum\c at secnumdepth>\m at ne
- \ltx at IfUndefined{if at mainmatter}%
+ \@ifundefined{if at mainmatter}%
\iftrue{\csname if at mainmatter\endcsname}%
\let\Hy at next\relax
\fi
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def
index 3898095e..8cf0f6fa 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}{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 }
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def
index 7710a258..435bcfbd 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}{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 }
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def
index 4a3ca8e4..0a2a4784 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}{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
{
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def
index 2b2888e3..13b00642 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}{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
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
index cb4ff240..77e53bb2 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}{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
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def b/texmf/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
index 02a1ab2f..ff3d9ad8 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}{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 }
diff --git a/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty b/texmf/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
index feab2871..e9292fec 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}{2023-11-05}{0.96b}%
+\ProvidesExplPackage{l3pdffield-testphase}{2023-11-17}{0.96c}%
{form fields}
\csname HyField at 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/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
index b32eac92..4121a88a 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}{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/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
index 8654dbe2..00c59f51 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}{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/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty b/texmf/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty
index 9e1470f9..76775214 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}{2023-11-05}{0.96b}
+\ProvidesExplPackage{pdfmanagement-testphase}{2023-11-17}{0.96c}
{LaTeX PDF management testphase bundle}
\providecommand\IfFormatAtLeastTF{\@ifl at 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 597c4669..98d5aaf4 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}[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
More information about the latex3-commits
mailing list.