texlive[64931] Master/texmf-dist: pdfmanagement-testphase (4nov22)

commits+karl at tug.org commits+karl at tug.org
Fri Nov 4 20:58:53 CET 2022


Revision: 64931
          http://tug.org/svn/texlive?view=revision&revision=64931
Author:   karl
Date:     2022-11-04 20:58:53 +0100 (Fri, 04 Nov 2022)
Log Message:
-----------
pdfmanagement-testphase (4nov22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/output-patches-tmp-ltx.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf
    trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/output-patches-tmp-ltx.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
    trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/fontspec-luatex-tmp-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty
    trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/CHANGELOG.md	2022-11-04 19:58:53 UTC (rev 64931)
@@ -5,8 +5,23 @@
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
 
-## [2022-09-23]
+## [2022-11-03]
 
+### Added 
+ - ltdocinit: expl3 functions to retrieve values from the document properties.
+    
+### Changed
+ - removed firstaid for transparent as the package is now compatible.
+ - removed firstaid for pdflscape as the package is now compatible. 
+ - ltdocinit/firstaid: the output patches for header and footer 
+   are no longer loaded by default but must be loaded with the testphase key.
+ - removed firstaid for beamer as no longer needed
+ - ltdocinit: removed definition for \DocumentMetadata, it is now provided by latex-lab
+### Fixed
+ - faulty firstaid for doclicense
+ 
+## [2022-09-26]
+
 ### Added
  - XMP-Metadata are now created by code in l3pdfmeta. 
    More details can be found in l3pdfmeta. 

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/README.md	2022-11-04 19:58:53 UTC (rev 64931)
@@ -1,6 +1,6 @@
 # LaTeX PDF management testphase bundle
 
-Version: 0.95s, 2022-09-26
+Version: 0.95t, 2022-11-03
 
 This package is used during a test phase to load the new PDF management code
 of LaTeX.
@@ -19,8 +19,8 @@
 https://github.com/latex3/pdfresources
 
 ## Requirements 
-The package requires a LaTeX format 2020-10-01 or newer.
-It requires an L3 programming 2021-02-18 or later.
+The package requires a LaTeX format 2022-06-01 or newer.
+It requires an L3 programming 2022-08-30 or newer.
 
 ## Installation
 

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/hyperref-generic.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3backend-testphase.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfannot.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfdict.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-action.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-checkbox.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-choice.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-pushbutton.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-radiobutton.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield-textfield.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffield.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdffile.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmanagement.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfmeta.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdftools.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/l3pdfxform.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/ltdocinit.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/output-patches-tmp-ltx.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-firstaid.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pdfmanagement-testphase/pdfmanagement-testphase.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/hyperref-generic.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -82,7 +82,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -969,7 +969,7 @@
 %<@@=hyp>
 %    \end{macrocode}
 %    \begin{macrocode}
-\ProvidesFile{hgeneric-testphase.def}[2022-09-26 v0.95s %
+\ProvidesFile{hgeneric-testphase.def}[2022-11-03 v0.95t %
   generic Hyperref driver for the LaTeX PDF management testphase bundle]
 
 \RequirePackage{etoolbox} %why?

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3backend-testphase.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -45,7 +45,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 %
@@ -56,27 +56,27 @@
 %    \begin{macrocode}
 %<drivers>\ProvidesExplFile
 %<*dvipdfmx>
-  {l3backend-testphase-dvipdfmx.def}{2022-09-26}{}
+  {l3backend-testphase-dvipdfmx.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx}
 %</dvipdfmx>
 %<*dvips>
-  {l3backend-testphase-dvips.def}{2022-09-26}{}
+  {l3backend-testphase-dvips.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvips}
 %</dvips>
 %<*dvisvgm>
-  {l3backend-testphase-dvisvgm.def}{2022-09-26}{}
+  {l3backend-testphase-dvisvgm.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
 %</dvisvgm>
 %<*luatex>
-  {l3backend-testphase-luatex.def}{2022-09-26}{}
+  {l3backend-testphase-luatex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)}
 %</luatex>
 %<*pdftex>
-  {l3backend-testphase-pdftex.def}{2022-09-26}{}
+  {l3backend-testphase-pdftex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
 %</pdftex>
 %<*xdvipdfmx>
-  {l3backend-testphase-xetex.def}{2022-09-26}{}
+  {l3backend-testphase-xetex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
 %</xdvipdfmx>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -432,7 +432,7 @@
 %    \begin{macrocode}
 %<@@=pdfannot>
 %<*header>
-\ProvidesExplPackage{l3pdfannot}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdfannot}{2022-11-03}{0.95t}
   {PDF-annotations}
 \RequirePackage{l3pdfdict}
 %</header>

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfdict.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -208,7 +208,7 @@
 %    \begin{macrocode}
 %<@@=pdfdict>
 %<*header>
-\ProvidesExplPackage{l3pdfdict}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdfdict}{2022-11-03}{0.95t}
   {Tools for PDF dictionaries (LaTeX PDF management testphase bundle)}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-action.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-checkbox.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -64,7 +64,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-choice.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-pushbutton.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -55,7 +55,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-radiobutton.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -83,7 +83,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield-textfield.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffield.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -69,7 +69,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -973,7 +973,7 @@
 %<*package>
 %<@@=pdffield>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{l3pdffield-testphase}{2022-09-26}{0.95s}%
+\ProvidesExplPackage{l3pdffield-testphase}{2022-11-03}{0.95t}%
   {form fields}
 %    \end{macrocode}
 % \subsection{hyperref specific command}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdffile.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -396,7 +396,7 @@
 %
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage{l3pdffile}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdffile}{2022-11-03}{0.95t}
   {embedding and referencing files in PDF---LaTeX PDF management testphase bundle}
 \RequirePackage{l3pdftools}  %temporarly!!
 %</header>

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmanagement.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -57,7 +57,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -632,7 +632,7 @@
 %<@@=pdfmanagement>
 %<*header>
 %
-\ProvidesExplPackage{l3pdfmanagement}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdfmanagement}{2022-11-03}{0.95t}
   {Management of core PDF dictionaries (LaTeX PDF management testphase bundle)}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfmeta.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -59,28 +59,7 @@
 % for PDF standards in general.
 % The goal is to collect the requirements and to provide code to check and fulfill them.
 %
-% In future is will probably also contain
-% code to setup XMP-metadata.
-% Until then XMP-metadata can be added by one of two mutual incompatible packages:
-% \pkg{hyperxmp} and \pkg{pdfx}. Both
-% packages aren't yet compatible with the new PDF management,
-% but for \pkg{hyperxmp} some patches are provided, so the basic functions works.
 %
-% \begin{NOTE}{UF}
-% This module should not replace both packages.
-% Regarding XMP-metadata its goal
-% is to create a skeleton metadata stream, add some core default values
-% and to define interfaces that allows other packages
-% to add data to this metadata and so to extend them.
-% The problems to solve here are
-% \begin{itemize}
-% \item which tree structure is sensible
-% \item how to escape if needed the input (or which tools are needed to allow
-% the users to correctly escape their input)
-% \item how interface to input data should look
-% \end{itemize}
-% \end{NOTE}
-%
 % \subsection{Verifying requirements of PDF standards}
 %
 % Standards like pdf/A set requirements on a PDF: Some things have be in the PDF,
@@ -408,7 +387,23 @@
 % with for example the code needed for ZUGferd,
 % they will be added in a second step.
 %
+% \subsection{Debug option}
 %
+% The resulting XMP-packet can be written to an external file by activating a debug
+% option
+%
+% \begin{verbatim}
+% \DocumentMetadata{debug={xmp-export}}
+% %or
+% \DocumentMetadata{debug={xmp-export=true}}
+% %or
+% \DocumentMetadata{debug={xmp-export=filename}}
+% \end{verbatim}
+%
+% By default the data are written to \verb+\jobname.xmpi+, if a \texttt{filename} is
+% given, then \verb+filename.xmpi+ is used instead. \verb+xmp-export=false+ deactivates
+% the export.
+%
 % \subsection{Encoding and escaping}
 %
 % XMP-metadata are stored as UTF-8 in the PDF. This mean if you open a PDF in an editor
@@ -567,7 +562,7 @@
 %    \begin{macrocode}
 %<@@=pdfmeta>
 %<*header>
-\ProvidesExplPackage{l3pdfmeta}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdfmeta}{2022-11-03}{0.95t}
   {PDF-Standards---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}
@@ -1215,6 +1210,31 @@
    xmp  .bool_gset:N = \g_@@_xmp_bool
  }
 %    \end{macrocode}
+% XMP debugging option
+%    \begin{macrocode}
+\bool_new:N \g_@@_xmp_export_bool
+\str_new:N  \g_@@_xmp_export_str
+
+\keys_define:nn { document / metadata }
+  {
+    ,debug / xmp-export .choice:
+    ,debug / xmp-export / true .code:n=
+      {
+        \bool_gset_true:N \g_@@_xmp_export_bool
+        \str_gset_eq:NN \g_@@_xmp_export_str \c_sys_jobname_str
+      }
+    ,debug / xmp-export / false .code:n =
+      {
+        \bool_gset_false:N \g_@@_xmp_export_bool
+      }
+    ,debug / xmp-export /unknown .code:n =
+      {
+        \bool_gset_true:N \g_@@_xmp_export_bool
+        \str_gset:Nn \g_@@_xmp_export_str { #1 }
+      }
+    ,debug / xmp-export .default:n = true
+  }
+%    \end{macrocode}
 % \subsection{Messages}
 %    \begin{macrocode}
 \msg_new:nnn{pdfmeta}{namespace-defined}{The~xmlns~namespace~`#1`~is~already~declared}
@@ -1598,6 +1618,26 @@
 %    \end{macrocode}
 % \end{macro}
 % Some data are stored as unordered (Bag) or ordered lists (Seq) or (Alt).
+% The first variant are for simple text without language support:
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_xmp_add_packet_list_simple:nnnn #1 #2 #3 #4
+  %#1 prefix, #2 name,  #3 type (Seq/Bag/Alt) #4 a clist
+  {
+    \clist_if_empty:nF { #4 }
+      {
+        \@@_xmp_add_packet_open:nn {#1}{#2}
+         \@@_xmp_add_packet_open:nn {rdf}{#3}
+          \clist_map_inline:nn {#4}
+            {
+              \@@_xmp_add_packet_line:nnn
+               {rdf}{li}{##1}
+            }
+         \@@_xmp_add_packet_close:nn{rdf}{#3}
+        \@@_xmp_add_packet_close:nn {#1}{#2}
+     }
+   }
+\cs_generate_variant:Nn \@@_xmp_add_packet_list_simple:nnnn {nnnV,nnne}
+%    \end{macrocode}
 % Here we check also for the language.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_xmp_add_packet_list:nnnn #1 #2 #3 #4
@@ -2270,14 +2310,13 @@
 %    \end{macrocode}
 % pdftype/dc:type
 %    \begin{macrocode}
-    \tl_if_blank:eTF { \GetDocumentProperties{hyperref/pdftype} }
-       {
-         \@@_xmp_add_packet_list:nnne {dc}{type}{Bag}{Text}
-       }
-       {
-        \@@_xmp_add_packet_list:nnne {dc}{type}{Bag}
-          { { \GetDocumentProperties{hyperref/pdftype} }}
-       }
+  \pdfmanagement_get_documentproperties:nNTF { hyperref/pdftype } \l_@@_tmpa_tl
+    {
+      \@@_xmp_add_packet_list_simple:nnnV {dc}{type}{Bag}\l_@@_tmpa_tl
+    }
+    {
+      \@@_xmp_add_packet_list_simple:nnnn {dc}{type}{Bag}{Text}
+    }
 %    \end{macrocode}
 % pdfpublisher/dc:publisher
 %    \begin{macrocode}
@@ -2292,8 +2331,8 @@
 %    \end{macrocode}
 % lang/pdflang/dc:language
 %    \begin{macrocode}
-   \@@_xmp_add_packet_list:nnne {dc}{language}{Bag}
-     { \l_@@_xmp_doclang_tl }
+   \@@_xmp_add_packet_list_simple:nnnV
+     {dc}{language}{Bag}\l_@@_xmp_doclang_tl
 %    \end{macrocode}
 % pdfidentifier/dc:identifier
 %    \begin{macrocode}
@@ -2303,8 +2342,8 @@
 % pdfdate/dc:date
 %    \begin{macrocode}
    \@@_xmp_date_get:nNN {hyperref/pdfdate}\l_@@_tmpa_tl\l_@@_tmpa_seq
-    \@@_xmp_add_packet_list:nnne {dc}{date}{Seq}
-          {\@@_xmp_print_date:N\l_@@_tmpa_seq}
+    \@@_xmp_add_packet_list_simple:nnne
+     {dc}{date}{Seq}{\@@_xmp_print_date:N\l_@@_tmpa_seq}
 %    \end{macrocode}
 % The file format
 %    \begin{macrocode}
@@ -2515,6 +2554,12 @@
        \exp_args:No
        \__pdf_backend_metadata_stream:n {\g_@@_xmp_packet_tl}
         \pdfmanagement_add:nnx {Catalog} {Metadata}{\pdf_object_ref_last:}
+       \bool_if:NT \g_@@_xmp_export_bool
+        {
+          \iow_open:Nn\g_tmpa_iow{\g_@@_xmp_export_str.xmpi}
+          \exp_args:NNo\iow_now:Nn\g_tmpa_iow{\g_@@_xmp_packet_tl}
+          \iow_close:N\g_tmpa_iow
+        }
      }
   }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdftools.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -49,7 +49,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -211,7 +211,7 @@
 %
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplPackage{l3pdftools}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdftools}{2022-11-03}{0.95t}
   {candidate commands for l3pdf---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfxform.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -48,7 +48,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -132,7 +132,7 @@
 %    \begin{macrocode}
 %<@@=pdf>
 %<*header>
-\ProvidesExplPackage{l3pdfxform}{2022-09-26}{0.95s}
+\ProvidesExplPackage{l3pdfxform}{2022-11-03}{0.95t}
   {command to create xforms (beta)---LaTeX PDF management testphase bundle}
 %</header>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/ltdocinit.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -47,50 +47,16 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
 %
 % \section{\pkg{ltdocinit} documentation}
-% This small module defines \cs{DocumentMetadata} and the older alias
-% \cs{DeclareDocumentMetadata} and the related keys.
-% It also defines commands to store document properties in a global container.
+% This small module defined \cs{DocumentMetadata} but the definition  
+% has been moved to latex-lab. The documentation can be found in 
+% \texttt{documentmetadata-support-doc-.pdf}
 %
-% When the kernel will provide \cs{DocumentMetadata} directly
-% this module will slowly disappear.
-%
-% \subsection{\cs{DocumentMetadata}/\cs{DeclareDocumentMetadata}}
-%
-% \begin{function}{\DocumentMetadata,\DeclareDocumentMetadata}
-% \begin{syntax}
-%  \cs{DocumentMetadata}\Arg{key-value list}\\
-%  \cs{DeclareDocumentMetadata}\Arg{key-value list} (deprecated)
-% \end{syntax}
-% \end{function}
-%
-% Currently there is no dedicated location to declare settings concerning
-% a document as a whole. Settings are placed somewhere in the preamble or
-% with the class options or even with some package options.
-% For some settings this can be too late,
-% for example the pdf version can no longer be changed if a
-% package has used code which already opened the PDF.
-%
-% \cs{DocumentMetadata} as a new command
-% should unify such settings in one place.
-% It should be used before \cs{documentclass}.
-% \cs{DocumentMetadata} can be used more than once.
-%
-% With a \LaTeX{} 2022-06-01 or newer (currently provided as |latex-dev|) the command
-% is provided by the kernel and will load the pdfmanagement,
-% with older \LaTeX{} the pdfmanagement must be loaded
-% first manually with |\RequirePackage{pdfmanagement-testphase}|.
-%
-% The keys defined for \cs{DocumentMetadata}
-% currently allows to set the PDF version, to set the PDF \texttt{/Lang},
-% to uncompress a pdf, to set the language and to declare a few PDF standards
-% and to load some colorprofiles.
-%
 % \cs{DocumentMetadata} is also used to
 % activate the new PDF management code and it loads
 % a number of required files for the PDF management code.
@@ -98,37 +64,51 @@
 % which can't be detected automatically like |dvipdfmx|,
 % must be set in the first \cs{DocumentMetadata}.
 %
-% Currently the following keys are implemented
+% 
+% Here only a few newer keys are defined and the older \cs{DeclareDocumentMetadata}
+% is provided.
 %
-% \begin{description}
-%    \item[\texttt{backend}] Passes the backend name to expl3. This is
-%      needed only if the needed backend can't be automatically
-%      determined or if the workflow used requires a special backend.
+% The module also defines commands to store document properties in a global container.
 %
-%^^A    This will probably be extended to  pass the value also to
-%^^A      packages.
+% This module will slowly disappear.
 %
-%    \item[\texttt{pdfversion}] Sets the PDF version explicitly, e.g., \texttt{pdfversion=1.7}
-%    \item[\texttt{uncompress}] (no value) Forces an uncompressed pdf
-%      --- mainly for debugging purposes.
+% \subsection{\cs{DocumentMetadata}/\cs{DeclareDocumentMetadata}}
 %
-%    \item[\texttt{lang}] Explicitly sets the Lang entry in the Catalog,
-%     e.g., \texttt{lang=de-DE}. If not given the default value used is |en-US|.
+% \begin{function}{\DeclareDocumentMetadata}
+% \begin{syntax}
+%  \cs{DeclareDocumentMetadata}\Arg{key-value list} (deprecated)
+% \end{syntax}
+% This is an older alias for \cs{DocumentMetadata}
+% \end{function}
 %
+% Additionally to the keys described in \texttt{documentmetadata-support-doc-.pdf}
+% the following keys/values are implemented
+%
+% \begin{description}
+%
 %    \item[\texttt{pdfstandard}] Choice key to set the pdf standard.
-%      Currently |A-1b|, |A-2a|, |A-2b|, |A-2u|, |A-3a|, |A-3b|, |A-3u| and |A-4|
-%      are accepted as
-%      values. The casing is irrelevant, |a-1b| works too.
-%      The underlying code to ensure the requirements (as far as they
-%      can be ensured) is still incomplete, but a color profile is included and the
-%      \texttt{/OutputIntent} is set. The |u| variants for example do not force unicode,
-%      but they will pass the information to hyperref and hyperxmp. The |a| variants
+%    
+%      Starting with version 0.95s it is also possible to use the values
+%      |X-4|, |X-4p|, |X-5g|, |X-5n|, |X-5pg|, |X-6|, |X-6n|, |X-6p|, |UA-1| for
+%      a PDF/X and PDF/UA standard. These keys set \emph{only} the relevant
+%      XMP-metadata.
+%      
+%      Beside this |A-1b|, |A-2a|, |A-2b|, |A-2u|, |A-3a|, |A-3b|, |A-3u| and |A-4|
+%      are accepted as values for A-standards. The casing is irrelevant, |a-1b| works too.
+%      Note that using these
+%      key doesn't mean that the document actually follows the standard. \LaTeX{}
+%      can neither ensure nor check all requirements of a standard, and not everything
+%      it can do theoretically has already been implemented.
+%      For A-standard a color profile is included and the
+%      \texttt{/OutputIntent} is set and javascript action in hyperref are suppressed.
+%      The |u| variants do not force unicode,
+%      but they will pass the information to hyperref. The |a| variants
 %      do \emph{not} enforce (or even test) a tagged pdf yet.
 %      More information can be found in the documentation
 %      of \pkg{l3pdfmeta}.
 %
-%    \item[\texttt{colorprofiles}] This allows to load icc-colorprofiles. Details
-%       are described in the documentation of \pkg{l3pdfmeta}.
+%      |pdfstandard| can be used more than once to set overlapping standards, e.g:\\
+%      |pdfstandard=A-2b,pdfstandard=X-4,pdfstandard=UA-1|
 %
 %    \item[\texttt{xmp}] A boolean, if set to false no XMP metadata are added to the PDF.
 %    The default is true. Details are described in the documentation of \pkg{l3pdfmeta}.
@@ -135,19 +115,17 @@
 %
 %    \item[\texttt{testphase}] This key is used to load testphase code. The values it accepts
 %    and their effect will change over time, when testphase packages are added or
-%    removed or when the code is moved into the kernel.
+%    removed or when the code is moved into the kernel. New value here are
 %     \begin{description}
-%    \item[\texttt{phase-I}]
-%       This value loads code implementing the first phase of the project~\cite{blueprint}, i.e., it
-%       will load the tagpdf package. It will also activate tagging by issuing
-%       |\tagpdfsetup{activate,interwordspace}|. This phase
-%       is frozen.
-%    \item[\texttt{phase-II}]
-%       This is the current development phase.
-%       Currently it differs from \texttt{phase-I} only in one point: It will
-%       additionally activate tagging of paragraphs with
-%       |\tagpdfsetup{paratagging}|. In the upcoming months it will
-%       also enable automatic tagging of other basic document elements.
+%    \item[\texttt{new-or-1}] This patches a few commands related
+%    to the output routing. They are needed for the tagging
+%    of paragraphs, for the tagging of header and footer and 
+%    to allow the PDF management to insert code which avoids that
+%    links happening at page breaks spills into the header and footer. 
+%    This code is also loaded be the following values.
+%    \item[\texttt{new-or}] This loads more changes to the output routine required for the 
+%    tagging. It is not compatible with every class! The code is also loaded by the 
+%    \texttt{phase-II} value.
 %    \end{description}
 %    The |testphase| key can only be used in the first \cs{DocumentMetadata}.
 %
@@ -159,6 +137,7 @@
 %     \item[\texttt{log}]  with the values as described in the documentation \pkg{tagpdf},
 %     \item[\texttt{uncompress}] which does the same as |uncompress| as main key
 %     \item[\texttt{pdfmanagement}] a boolean which allows to deactivate the pdfmanagement.
+%     This should only be done for debugging! 
 %     \item[\texttt{firstaidoff}] This accepts a comma lists of keywords and disables the patches
 %       related to them. More information can be found in the documentation of
 %       \pkg{pdfmanagement-firstaid}.
@@ -184,9 +163,10 @@
 % using the container. The label |document| is reserved.
 % \end{function}
 %
-% \begin{function}{\GetDocumentProperties}
+% \begin{function}[updated=2022-10-09]{\GetDocumentProperties,\pdfmanagement_get_documentproperties:n}
 % \begin{syntax}
-%  \cs{GetDocumentProperties}\Arg{label/property}
+%  \cs{GetDocumentProperties}\Arg{label/property}\\
+%  \cs{pdfmanagement_get_documentproperties:n}\Arg{label/property}
 % \end{syntax}
 % Expands to the \meta{value} corresponding to \meta{label/property}
 % in the container. If \meta{label/property} is missing,
@@ -196,6 +176,22 @@
 % when appearing in an x-type argument expansion.
 % \end{function}
 %
+% \begin{function}[added=2022-10-09,TF]{\pdfmanagement_get_documentproperties:nN}
+% \begin{syntax}
+%  \cs{pdfmanagement_get_documentproperties:nNTF}\Arg{label/property} \meta{token list variable}\\
+%  ~~~~ \Arg{true code} \Arg{false code}
+% \end{syntax}
+%   If the \meta{label/property} is not present in the document properties
+%   container, leaves the \meta{false code} in the input stream.
+%   The value of the
+%   \meta{token list variable} is not defined in this case and should
+%   not be relied upon.  If the \meta{label/property} is present in the
+%   container, stores the corresponding \meta{value} in the
+%   \meta{token list variable} without removing it from the
+%   container, then leaves the \meta{true code} in the input
+%   stream.  The \meta{token list variable} is assigned locally.
+% \end{function}
+% 
 % \begin{function}{\ShowDocumentProperties}
 % \begin{syntax}
 %  \cs{ShowDocumentProperties}
@@ -219,7 +215,7 @@
 %    \begin{macrocode}
 %<@@=pdfmanagement>
 %<*header>
-\ProvidesExplPackage{ltdocinit}{2022-09-26}{0.95s}
+\ProvidesExplPackage{ltdocinit}{2022-11-03}{0.95t}
   {Initialize document metadata}
 %</header>
 %    \end{macrocode}
@@ -244,249 +240,28 @@
 %    \end{macrocode}
 % \end{variable}
 %    \begin{macrocode}
-\cs_if_free:NT \DocumentMetadata
+\keys_define:nn { document / metadata }
   {
-    \keys_define:nn { document / metadata }
+    ,testphase / new-or-1 .code:n =   
       {
-        backend .choices:nn =
-          { dvipdfmx , dvips , dvisvgm , luatex , pdftex , pdfmode , xdvipdfmx , xetex }
-          {
-            \sys_load_backend:n {#1}
-          },
-        backend .groups:n = { init } ,
-      }
-
-    \keys_define:nn { document / metadata }
-      {
-        ,pdfversion .code:n =
-          {
-            \pdf_version_gset:n { #1 }
-            \AddToDocumentProperties[document]{pdfversion}{#1}
-          }
-        ,uncompress .code:n =
-          {
-            \pdf_uncompress:
-          }
-        ,uncompress .value_forbidden:n = true
-        ,lang .code:n =
-          {
-            \pdfmanagement_add:nnn {Catalog} {Lang}{(#1)}
-            \AddToDocumentProperties[document]{lang}{#1}
-          }
-        %,xmpmeta .bool_gset:N = \g_pdfmeta_xmp_bool %see pdfmeta unused and undefined for now!
-        % this uses internal command from pdfmeta, it should probably move there ...
-        ,pdfstandard .code:n =
-          {
-            \exp_args:Nnx
-            \keys_set:nn {document / metadata} {_pdfstandard=\str_uppercase:n{#1}}
-          }
-        ,_pdfstandard .choices:nn =
-          {A-1B,A-2A,A-2B,A-2U,A-3A,A-3B,A-3U,A-4}
-          {
-            \prop_if_exist:cT { g__pdfmeta_standard_pdf/#1_prop }
-              {
-                \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/#1 _prop }
-              }
-            \AddToDocumentProperties [document]{pdfstandard}{#1}
-          }
-        ,_pdfstandard / unknown .code:n =
-          {
-            \msg_warning:nnn{pdf}{unknown-standard}{#1}
-          }
-        ,testphase .multichoice:
-        ,testphase / tagpdf .code:n =
-          {
-            \tl_gput_right:Nn\g_@@_testphase_tl
-              {
-                \file_if_exist_input:nF {tagpdf-latex-lab-testphase.ltx}
-                  {
-                    \RequirePackage{tagpdf}
-                    \AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
-                    \tagpdfsetup{activate,paratagging,interwordspace}
-                    \AddToDocumentProperties [document]{tagging}{active}
-                    \AddToDocumentProperties [document]{tagging/para}{active}
-                    \AddToDocumentProperties [document]{tagging/interwordspace}{active}
-                  }
-              }
-          }
-        ,testphase / unknown .code:n =
-          {
-            \tl_gput_right:Nn\g_@@_testphase_tl
+        \tl_gput_right:Nn\g_@@_testphase_tl
+           {
+             \file_if_exist_input:nF {new-or-1-latex-lab-testphase.ltx}
                {
-                 \AddToDocumentProperties [document]{testphase/#1}{loaded}
-                 \file_if_exist_input:nF {#1-latex-lab-testphase.ltx}
-                  {
-                     \msg_warning:nnn{document}{latex-lab-pkg-missing}{#1}
-                     \AddToDocumentProperties [document]{testphase/#1}{missing}
-                  }
+                \RequirePackage{output-patches-tmp-ltx}
                }
-          }
-        ,activate .multichoice:
-        ,activate / tagging .code:n =
-          {
-            \PackageWarning{pdfmanagement-testphase}
-             {The~activate~key~is~deprecated.\MessageBreak
-              Tagging~is~activated~with~'testphase=tagpdf'~directly}{}
-          }
-        ,debug .code:n =
-          {
-            \keys_set:nn { document / metadata / debug } {#1}
-          }
-        ,debug / para .code:n =
-          {
-            \AddToHook
-              {
-                package/tagpdf/after
-              }
-              {
-                 \tagpdfsetup{paratagging-show}
-              }
-          }
-        ,debug / log .code:n =
-          {
-            \AddToHook
-              {
-               package/tagpdf/after
-              }
-              {
-                 \tagpdfsetup{log=#1}
-              }
-          }
-        ,debug / uncompress .code:n =
-          {
-            \pdf_uncompress:
-          }
-        ,debug / pdfmanagement .bool_gset:N = \g_@@_active_bool
-        ,debug / firstaidoff .clist_gset:N = \g_@@_firstaidoff_clist
+           }    
       }
-   }
+  }
 %    \end{macrocode}
 %
-% \subsection{\cs{DocumentMetadata}/\cs{DeclareDocumentMetadata}}
-% At first we have to define the older alias \cs{DeclareDocumentMetadata} if
-% \cs{DocumentMetadata} is already defined in a newer LaTeX version. Here
-% we load the latex-lab support (if it hasn't been loaded
-% before) and redefine then \cs{DeclareDocumentMetadata}
-% to \cs{DocumentMetadata}
+% \subsection{\cs{DeclareDocumentMetadata}}
+% We define the older alias \cs{DeclareDocumentMetadata}
 %
+% \begin{macro}{\DeclareDocumentMetadata}
 %    \begin{macrocode}
-\cs_if_exist:NT \DocumentMetadata
-   {
-     \cs_new_protected:Npn \DeclareDocumentMetadata
-        {
-          \cs_if_free:NT \DocumentMetadata
-            {
-              \file_if_exist_input:nF {documentmetadata-support.ltx}%
-               {
-                 \@latex at error
-                   {No~support~files~for~\noexpand\DeclareDocumentMetadata~found}
-                   {
-                     Is~the~'LaTeX-lab'~bundle~installed?
-                     \MessageBreak
-                     Without~it,~the~declaration~is~ignored.
-                   }
-                \let\DeclareDocumentMetadata\@gobble
-               }
-            }
-          \RenewDocumentCommand \DeclareDocumentMetadata {}
-           { \DocumentMetadata }
-          \DocumentMetadata
-        }
-    }
+\NewCommandCopy\DeclareDocumentMetadata\DocumentMetadata
 %    \end{macrocode}
-% Now we provide a definition for \cs{DocumentMetadata} if it doesn't exist yet.
-%    \begin{macrocode}
-\cs_if_free:NT \DocumentMetadata
-  {
-%    \end{macrocode}
-% \cs{DocumentMetadata} should for now not be used after
-% \cs{documentclass} so we error in this case. It can be used more than once
-% but follow-up calls should not do the initialization code.
-%    \begin{macrocode}
-    \prop_gput:Nnn \g_msg_module_type_prop { document } { LaTeX }
-    \prop_gput:Nnn \g_msg_module_name_prop { document } { DocumentMetadata }
-    \msg_new:nnn
-      { document } { setup-after-documentclass }
-      {
-        \token_to_str:N \DocumentMetadata \c_space_tl
-        should~be~used~only~before~\token_to_str:N\documentclass
-      }
-    \msg_new:nnn
-      { document } { latex-lab-pkg-missing }
-      {
-        LaTeX-lab~package~'#1'~not~found.
-      }
-%    \end{macrocode}
-% \begin{macro}{\DocumentMetadata}
-%    \begin{macrocode}
-    \NewDocumentCommand\DocumentMetadata { m }
-      {
-        \cs_if_eq:NNTF \documentclass \@twoclasseserror
-          { \msg_error:nn { document }{ setup-after-documentclass } }
-          {
-%    \end{macrocode}
-% The wanted backend must be detected first, we read the init key and then
-% force the loading by loading expl3.
-% The backend can contains management commands, so the boolean should be set to true first.
-%    \begin{macrocode}
-            \bool_gset_true:N \g_@@_active_bool
-            \keys_set_groups:nnn { document / metadata} {init}{ #1 }
-        %if no backend has been loaded force it now:
-            \str_if_exist:NF \c_sys_backend_str
-              {
-                \sys_load_backend:n {}
-              }
-%    \end{macrocode}
-% Now we load the extra backend code
-%    \begin{macrocode}
-        \ExplSyntaxOn\makeatletter
-              \file_input:n {l3backend-testphase-\c_sys_backend_str.def}
-        \ExplSyntaxOff\makeatother
-%    \end{macrocode}
-% set the default language, process the rest of the keys,
-% and setup the generic driver
-%    \begin{macrocode}
-            \keys_set_filter:nnn  { document / metadata } { init } { lang=en-US, #1 }
-            \bool_if:NT \g_@@_active_bool
-              {
-                \PassOptionsToPackage{customdriver=hgeneric-testphase}{hyperref}
-              }
-%    \end{macrocode}
-% \cs{pdfmanagement_add:nnn} has collected values in this hook.
-%    \begin{macrocode}
-           \hook_use_once:n {pdfmanagement/add}
-%    \end{macrocode}
-% Redefine \cs{DocumentMetadata} so that it only process the keys.
-% We need to update the hyperref option if the active status changes.
-%    \begin{macrocode}
-           \RenewDocumentCommand\DocumentMetadata { m }
-              {
-                \keys_set_filter:nnn  { document / metadata } { init } { ##1 }
-                \bool_if:NTF \g_@@_active_bool
-                  {
-                    \str_remove_all:cn
-                      {opt at hyperref.sty}{customdriver=hgeneric-testphase}
-                    \PassOptionsToPackage
-                      {customdriver=hgeneric-testphase}{hyperref}
-                 }
-                 {
-                   \str_remove_all:cn
-                     {opt at hyperref.sty}{customdriver=hgeneric-testphase}
-                 }
-              }
-%    \end{macrocode}
-% Load more modules, the testphase code and the firstaid code.
-%    \begin{macrocode}
-            \g_@@_testphase_tl
-            \RequirePackage{pdfmanagement-firstaid}
-          }
-      }
-%    \end{macrocode}
-% At last we need to provide the older alias here too
-%    \begin{macrocode}
-    \NewDocumentCommand\DeclareDocumentMetadata{}{\DocumentMetadata}
-  }
-%    \end{macrocode}
 % \end{macro}
 %
 % \subsection{Container for document Properties}
@@ -517,6 +292,33 @@
   }
 %    \end{macrocode}
 % \end{macro}
+% For uses in modules (e.g. l3pdfmeta)
+% we provide an expl3 version without the xparse overhead:
+%
+% \begin{macro}[EXP]{\pdfmanagement_get_documentproperties:n}
+%    \begin{macrocode}
+\cs_new:Npn\pdfmanagement_get_documentproperties:n #1
+  {
+    \prop_item:Nn \g_@@_documentproperties_prop {#1}
+  }
+%    \end{macrocode}
+% \end{macro}
+% The following allows to retrieve the values with branching.
+% \begin{macro}[added=2022-10-09]{\pdfmanagement_get_documentproperties:nNTF}
+%    \begin{macrocode}
+\prg_new_protected_conditional:Npnn
+  \pdfmanagement_get_documentproperties:nN #1#2 { T , F , TF }
+    {
+     \prop_get:NnNTF \g_@@_documentproperties_prop  {#1} #2
+       {
+        \prg_return_true:
+       }
+       {
+        \prg_return_false:
+       }
+    }
+%    \end{macrocode}
+% \end{macro}
 % \begin{macro}{\ShowDocumentProperties}
 %    \begin{macrocode}
 \msg_new:nnn  { pdfmanagement } { show-properties }

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/output-patches-tmp-ltx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/output-patches-tmp-ltx.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/output-patches-tmp-ltx.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -52,7 +52,7 @@
 %
 %    \begin{macrocode}
 \ProvidesPackage{output-patches-tmp-ltx}
-        [2021-08-20 v0.95 Temporary patches of output commands]
+        [2022-10-29 v0.96 Temporary output patches for tagging and better link support]
 \RequirePackage{etoolbox}
 %    \end{macrocode}
 %
@@ -144,7 +144,7 @@
 %
 % \subsection{Interrupt hooks}
 % This requires the l3pdfannot module!
-% We add the code here an not in hyperref, as it should also work with links
+% We add the code here and not in hyperref, as it should also work with links
 % created directly with the l3pdfannot commands. The file is only
 % loaded by the pdfmanagement, so no need to test if the commands exist.
 %    \begin{macrocode}
@@ -157,9 +157,15 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\endinput
 %</package>
 %    \end{macrocode}
-%
+
+%    \begin{macrocode}
+%<*latex-lab>
+\ProvidesFile{new-or-1-latex-lab-testphase.ltx}
+        [2022-10-26 v0.8 Temporary output patches for tagging and better link support]
+\RequirePackage{latex-lab-testphase-new-or-1}
+%</latex-lab>
+%    \end{macrocode}
 % \Finale
 %

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-firstaid.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -63,7 +63,7 @@
 % |debug={firstaidoff={name1,name2,...},...}|.
 %    \begin{macrocode}
 %<*package>
-\ProvidesExplPackage{pdfmanagement-firstaid}{2022-09-26}{0.95s}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2022-11-03}{0.95t}
   {LaTeX PDF management testphase bundle / firstaid-patches}
 
 %<@@=pdfmanagement>
@@ -86,6 +86,9 @@
 \msg_new:nnn  { pdfmanagement } { firstaid-disabled }
               { The~loading~of~package~#1~is~disabled.\\
                 It~is~not~compatible~with~the~PDF~management. }
+\msg_new:nnn  { pdfmanagement } { firstaid-too-old }
+              { Package~#1~is~too~old~and~not~compatible.\\
+                Get~at~least~version~#2.}
 
 %    \end{macrocode}
 % \subsection{Fontspec}
@@ -124,24 +127,35 @@
    }
 %    \end{macrocode}
 % \subsection{Output routine}
-% This load as few patches for the LaTeX output routine commands. They add
-% hooks for the interruption of links and for paragraph tagging.
+% The patches for the LaTeX output routine commands for the tagging
+% of the header/footer, the suppressing of links
+% and the patch to multicol for the para tagging
+% by default, but must be requested with the key \texttt{testphase=new-or-1}.
+% But until latex-lab has been updated we must ensure that they are loaded with
+% the various phases.
 %    \begin{macrocode}
 \bool_if:NT \g_@@_firstaid_output_bool
   {
-    \RequirePackage{output-patches-tmp-ltx}
+%    \end{macrocode}
+% This catches also phase-II and tagpdf.
+%    \begin{macrocode}
+    \file_if_exist:nF {new-or-1-latex-lab-testphase.ltx}
+      { 
+        \AddToHook{package/latex-lab-testphase-new-or/after}
+          {\RequirePackage{output-patches-tmp-ltx}}
+%    \end{macrocode}
+% This is for phase-I
+%    \begin{macrocode}
+        \AddToHook{package/tagpdf/after}
+          {\RequirePackage{output-patches-tmp-ltx}}
+      }    
   }
 %    \end{macrocode}
 
 % \subsection{\pkg{beamer}}
-% \pkg{beamer} makes use of the now unsupported syntax |linkbordercolor={.5 .5 .5}|.
-% To avoid an error we define this color as a name.
-%    \begin{macrocode}
-\bool_if:NT \g_@@_firstaid_beamer_bool
-  {
-    \color_set:nnn{.5~.5~.5}{rgb}{0.5,0.5,0.5}
-  }
-%    \end{macrocode}
+% \pkg{beamer} made use of the now unsupported syntax |linkbordercolor={.5 .5 .5}|.
+% This has been changed so the patch has been removed.
+% 
 % \subsection{\pkg{color}}
 %
 %  \pkg{color} is not incompatible, but the new \pkg{hyperref} driver makes use of
@@ -296,19 +310,35 @@
 
 %    \end{macrocode}
 % \subsection{\pkg{transparent}}
-% We simply replace by the new version.
+% We check if the new version is used and issue a warning otherwise
 %    \begin{macrocode}
 \bool_if:NT \g_@@_firstaid_transparent_bool
  {
-   \declare at file@substitution{transparent.sty}{transparent-ltx.sty}
+  \AddToHook{package/transparent/after}
+    {
+     \@ifpackagelater{transparent}{2022-10-27}{}
+       {
+         \msg_warning:nnnn{pdfmanagement}{firstaid-too-old}
+         {transparent}
+         {1.5~from~2022-10-27}
+       }
+    }
  }
 %    \end{macrocode}
 % \subsection{\pkg{pdflscape}}
-% We simply replace by the new version.
+% We check if the new version is used and issue a warning otherwise
 %    \begin{macrocode}
 \bool_if:NT \g_@@_firstaid_pdflscape_bool
  {
-   \declare at file@substitution{pdflscape.sty}{pdflscape-ltx.sty}
+  \AddToHook{package/pdflscape/after}
+    {
+     \@ifpackagelater{pdflscape}{2022-10-27}{}
+       {
+         \msg_warning:nnnn{pdfmanagement}{firstaid-too-old}
+         {pdflscape}
+         {0.13~from~2022-10-27}
+       }
+    }
  }
 %    \end{macrocode}
 %
@@ -319,17 +349,17 @@
  {
    \disable at package@load{hyperxmp}{\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{hyperxmp}}
    \disable at package@load{pdfx}    {\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{pdfx}}
-   \AddToHook
-     {
-       file/doclicense.sty/after
-     }
-     {
-       \hypersetup
-         {
-           pdfcopyright  = {\doclicenseLongTextForHyperref},
-           pdflicenseurl = {\doclicenseURL},
-         }
-     }
+   \AddToHook{package/doclicense/after}
+    {
+      \AtBeginDocument
+        {
+          \hypersetup
+            {
+              pdfcopyright  = {\doclicenseLongTextForHyperref},
+              pdflicenseurl = {\doclicenseURL},
+            }
+        }
+    }
  }
 %</package>
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/source/latex/pdfmanagement-testphase/pdfmanagement-testphase.dtx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -47,7 +47,7 @@
 %    }^^A
 % }
 %
-% \date{Version 0.95s, released 2022-09-26}
+% \date{Version 0.95t, released 2022-11-03}
 %
 % \maketitle
 % \begin{documentation}
@@ -386,7 +386,7 @@
 %    \begin{macrocode}
 %<@@=pdf>
 %<*package>
-\ProvidesExplPackage{pdfmanagement-testphase}{2022-09-26}{0.95s}
+\ProvidesExplPackage{pdfmanagement-testphase}{2022-11-03}{0.95t}
   {LaTeX PDF management testphase bundle}
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 \IfFormatAtLeastTF{2020-10-01}{}{
@@ -414,7 +414,7 @@
 % to allow to set it in the document.
 %    \begin{macrocode}
 %<*header>
-\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-09-26}{0.95s}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-11-03}{0.95t}
   {PDF~management~code~(testphase)}
 %</header>
 %<*package>

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/color-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -24,7 +24,7 @@
 %% This file has the LPPL maintenance status "maintained".
 %%
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{color-ltx}[2022-09-26 v0.95s
+\ProvidesPackage{color-ltx}[2022-11-03 v0.95t
   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

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/colorspace-patches-tmp-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -19,7 +19,7 @@
 %
 % for those people who are interested.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2022-09-26}{0.95s}
+\ProvidesExplPackage{colorspace-patches-tmp-ltx}{2022-11-03}{0.95t}
   {temporay patches to for the colorspace package to test pdfresource management ... UF}
 
 % colorspace can define more models, that l3color can't yet handle.

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/fontspec-luatex-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/fontspec-luatex-tmp-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/fontspec-luatex-tmp-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -40,7 +40,7 @@
 
 \RequirePackage{xparse}
 \ProvidesExplPackage{fontspec-luatex-tmp-ltx}%
-  {2022/01/15}{2022-09-26}{0.95s}
+  {2022/01/15}{2022-11-03}{0.95t}
 
 %%^^A%%  fontspec-code-load.dtx -- part of FONTSPEC <wspr.io/fontspec>
 %%^^A%%  fontspec-code-vars.dtx -- part of FONTSPEC <wspr.io/fontspec>

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/hgeneric-testphase.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: hyperref-generic.dtx
 
-\ProvidesFile{hgeneric-testphase.def}[2022-09-26 v0.95s %
+\ProvidesFile{hgeneric-testphase.def}[2022-11-03 v0.95t %
   generic Hyperref driver for the LaTeX PDF management testphase bundle]
 
 \RequirePackage{etoolbox} %why?

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvipdfmx.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvipdfmx.def}{2022-09-26}{}
+  {l3backend-testphase-dvipdfmx.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvipdfmx}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvips.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvips.def}{2022-09-26}{}
+  {l3backend-testphase-dvips.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvips}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-dvisvgm.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-dvisvgm.def}{2022-09-26}{}
+  {l3backend-testphase-dvisvgm.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: dvisvgm}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-luatex.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-luatex.def}{2022-09-26}{}
+  {l3backend-testphase-luatex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (LuaTeX)}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-pdftex.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-pdftex.def}{2022-09-26}{}
+  {l3backend-testphase-pdftex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: PDF output (pdfTeX)}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3backend-testphase-xetex.def	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: l3backend-testphase.dtx
 \ProvidesExplFile
-  {l3backend-testphase-xetex.def}{2022-09-26}{}
+  {l3backend-testphase-xetex.def}{2022-11-03}{}
   {LaTeX~PDF~management~testphase~bundle~backend~support: XeTeX}
 \RequirePackage{l3ref-tmp}
 \cs_generate_variant:Nn \ref_label:nn {en}

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/l3pdffield-testphase.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -27,7 +27,7 @@
 %% File: l3pdffield.dtx
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{l3pdffield-testphase}{2022-09-26}{0.95s}%
+\ProvidesExplPackage{l3pdffield-testphase}{2022-11-03}{0.95t}%
   {form fields}
 \csname HyField at NeedAppearancesfalse\endcsname % suppress NeedAppearances
 \str_new:N \l__pdffield_tmpa_str

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -20,7 +20,7 @@
 %% 
 %% File: output-patches.dtx (C) Copyright 2020-2021 Frank Mittelbach
 \ProvidesPackage{output-patches-tmp-ltx}
-        [2021-08-20 v0.95 Temporary patches of output commands]
+        [2022-10-29 v0.96 Temporary output patches for tagging and better link support]
 \RequirePackage{etoolbox}
 \providecommand\@kernel at before@head{}
 \providecommand\@kernel at before@foot{}
@@ -68,6 +68,7 @@
 \def\@kernel at after@head {\pdfannot_link_on:}
 \def\@kernel at after@foot {\pdfannot_link_on:}
 \ExplSyntaxOff
+
 %% 
 %%
 %% End of file `output-patches-tmp-ltx.sty'.

Deleted: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdflscape-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -1,54 +0,0 @@
-%%
-%% This is file `pdflscape-ltx.sty',
-%%
-%% Copyright (C) 2021 The LaTeX Project
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.3c of this license or (at your option) any later
-%% version. This version of this license is in
-%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
-%% and the latest version of this license is in
-%%    https://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of
-%% LaTeX version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status "maintained".
-%%
-%% The Current Maintainers of this work are
-%% The LaTeX Project
-%%
-%%
-%% This work consists of the main source file pdflscape-ltx.sty
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesExplPackage{pdflscape-ltx}{2022-09-26}{0.95s}
- {Display of landscape pages in PDF - adaption of pdflscape to the PDFmanagement bundle (testphase)}
-
-\DeclareOption*{\PassOptionsToPackage\CurrentOption{graphics}}
-\ProcessOptions
-\RequirePackage{lscape}
-% this always turns in the same direction as pdflscape does too.
-% left and right would need
-% \pdfmanagement_add:nnn{ThisPage}{Rotate}{..}
-% on every page (e.g. in a shipout hook) and some option to control the wanted
-% orientation.
-
-\tl_new:N\g__pdflscape_saverotate_tl
-\hook_gput_code:nnn {env/landscape/begin}{pdflscape}
-  {
-    \pdfmanagement_get:nnN {Page}{Rotate}\l_tmpa_tl
-    \tl_gset_eq:NN\g__pdflscape_saverotate_tl\l_tmpa_tl
-    \clearpage
-    \pdfmanagement_add:nnn{Page}{Rotate}{90}
-  }
-\hook_gput_code:nnn {env/landscape/after}{pdflscape}
- {
-  \quark_if_no_value:NTF\g__pdflscape_saverotate_tl
-   {\pdfmanagement_remove:nn{Page}{Rotate}}
-   {\pdfmanagement_add:nnx{Page}{Rotate}{\g__pdflscape_saverotate_tl}}
- }
-
-\endinput
-%%
-%% End of file `pdflscape-ltx.sty'.

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-firstaid.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-firstaid.dtx
-\ProvidesExplPackage{pdfmanagement-firstaid}{2022-09-26}{0.95s}
+\ProvidesExplPackage{pdfmanagement-firstaid}{2022-11-03}{0.95t}
   {LaTeX PDF management testphase bundle / firstaid-patches}
 
 \clist_map_inline:nn {pgf,transparent,xmp,pdflscape,xcolor,color,beamer,output,colorspace,fontspec}
@@ -41,6 +41,9 @@
 \msg_new:nnn  { pdfmanagement } { firstaid-disabled }
               { The~loading~of~package~#1~is~disabled.\\
                 It~is~not~compatible~with~the~PDF~management. }
+\msg_new:nnn  { pdfmanagement } { firstaid-too-old }
+              { Package~#1~is~too~old~and~not~compatible.\\
+                Get~at~least~version~#2.}
 
 \sys_if_engine_luatex:T
    {
@@ -69,13 +72,15 @@
    }
 \bool_if:NT \g__pdfmanagement_firstaid_output_bool
   {
-    \RequirePackage{output-patches-tmp-ltx}
+    \file_if_exist:nF {new-or-1-latex-lab-testphase.ltx}
+      {
+        \AddToHook{package/latex-lab-testphase-new-or/after}
+          {\RequirePackage{output-patches-tmp-ltx}}
+        \AddToHook{package/tagpdf/after}
+          {\RequirePackage{output-patches-tmp-ltx}}
+      }
   }
 
-\bool_if:NT \g__pdfmanagement_firstaid_beamer_bool
-  {
-    \color_set:nnn{.5~.5~.5}{rgb}{0.5,0.5,0.5}
-  }
 \bool_if:NT \g__pdfmanagement_firstaid_color_bool
   {
     \declare at file@substitution{color.sty}{color-ltx.sty}
@@ -169,27 +174,43 @@
 
 \bool_if:NT \g__pdfmanagement_firstaid_transparent_bool
  {
-   \declare at file@substitution{transparent.sty}{transparent-ltx.sty}
+  \AddToHook{package/transparent/after}
+    {
+     \@ifpackagelater{transparent}{2022-10-27}{}
+       {
+         \msg_warning:nnnn{pdfmanagement}{firstaid-too-old}
+         {transparent}
+         {1.5~from~2022-10-27}
+       }
+    }
  }
 \bool_if:NT \g__pdfmanagement_firstaid_pdflscape_bool
  {
-   \declare at file@substitution{pdflscape.sty}{pdflscape-ltx.sty}
+  \AddToHook{package/pdflscape/after}
+    {
+     \@ifpackagelater{pdflscape}{2022-10-27}{}
+       {
+         \msg_warning:nnnn{pdfmanagement}{firstaid-too-old}
+         {pdflscape}
+         {0.13~from~2022-10-27}
+       }
+    }
  }
 \bool_if:NT \g__pdfmanagement_firstaid_xmp_bool
  {
    \disable at package@load{hyperxmp}{\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{hyperxmp}}
    \disable at package@load{pdfx}    {\msg_warning:nnn{pdfmanagement}{firstaid-disabled}{pdfx}}
-   \AddToHook
-     {
-       file/doclicense.sty/after
-     }
-     {
-       \hypersetup
-         {
-           pdfcopyright  = {\doclicenseLongTextForHyperref},
-           pdflicenseurl = {\doclicenseURL},
-         }
-     }
+   \AddToHook{package/doclicense/after}
+    {
+      \AtBeginDocument
+        {
+          \hypersetup
+            {
+              pdfcopyright  = {\doclicenseLongTextForHyperref},
+              pdflicenseurl = {\doclicenseURL},
+            }
+        }
+    }
  }
 \bool_if:NT \g__pdfmanagement_firstaid_colorspace_bool
  {

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx	2022-11-04 19:58:53 UTC (rev 64931)
@@ -27,7 +27,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-testphase.dtx
-\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-09-26}{0.95s}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2022-11-03}{0.95t}
   {PDF~management~code~(testphase)}
 %% File: l3pdfdict.dtx
 \cs_new:Npn \__pdfdict_get_type:n #1
@@ -995,202 +995,20 @@
 %% File: ltdocinit.dtx
 \clist_new:N \g__pdfmanagement_firstaidoff_clist
 \tl_new:N \g__pdfmanagement_testphase_tl
-\cs_if_free:NT \DocumentMetadata
+\keys_define:nn { document / metadata }
   {
-    \keys_define:nn { document / metadata }
+    ,testphase / new-or-1 .code:n =
       {
-        backend .choices:nn =
-          { dvipdfmx , dvips , dvisvgm , luatex , pdftex , pdfmode , xdvipdfmx , xetex }
-          {
-            \sys_load_backend:n {#1}
-          },
-        backend .groups:n = { init } ,
-      }
-
-    \keys_define:nn { document / metadata }
-      {
-        ,pdfversion .code:n =
-          {
-            \pdf_version_gset:n { #1 }
-            \AddToDocumentProperties[document]{pdfversion}{#1}
-          }
-        ,uncompress .code:n =
-          {
-            \pdf_uncompress:
-          }
-        ,uncompress .value_forbidden:n = true
-        ,lang .code:n =
-          {
-            \pdfmanagement_add:nnn {Catalog} {Lang}{(#1)}
-            \AddToDocumentProperties[document]{lang}{#1}
-          }
-        %,xmpmeta .bool_gset:N = \g_pdfmeta_xmp_bool %see pdfmeta unused and undefined for now!
-        % this uses internal command from pdfmeta, it should probably move there ...
-        ,pdfstandard .code:n =
-          {
-            \exp_args:Nnx
-            \keys_set:nn {document / metadata} {_pdfstandard=\str_uppercase:n{#1}}
-          }
-        ,_pdfstandard .choices:nn =
-          {A-1B,A-2A,A-2B,A-2U,A-3A,A-3B,A-3U,A-4}
-          {
-            \prop_if_exist:cT { g__pdfmeta_standard_pdf/#1_prop }
-              {
-                \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/#1 _prop }
-              }
-            \AddToDocumentProperties [document]{pdfstandard}{#1}
-          }
-        ,_pdfstandard / unknown .code:n =
-          {
-            \msg_warning:nnn{pdf}{unknown-standard}{#1}
-          }
-        ,testphase .multichoice:
-        ,testphase / tagpdf .code:n =
-          {
-            \tl_gput_right:Nn\g__pdfmanagement_testphase_tl
-              {
-                \file_if_exist_input:nF {tagpdf-latex-lab-testphase.ltx}
-                  {
-                    \RequirePackage{tagpdf}
-                    \AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
-                    \tagpdfsetup{activate,paratagging,interwordspace}
-                    \AddToDocumentProperties [document]{tagging}{active}
-                    \AddToDocumentProperties [document]{tagging/para}{active}
-                    \AddToDocumentProperties [document]{tagging/interwordspace}{active}
-                  }
-              }
-          }
-        ,testphase / unknown .code:n =
-          {
-            \tl_gput_right:Nn\g__pdfmanagement_testphase_tl
+        \tl_gput_right:Nn\g__pdfmanagement_testphase_tl
+           {
+             \file_if_exist_input:nF {new-or-1-latex-lab-testphase.ltx}
                {
-                 \AddToDocumentProperties [document]{testphase/#1}{loaded}
-                 \file_if_exist_input:nF {#1-latex-lab-testphase.ltx}
-                  {
-                     \msg_warning:nnn{document}{latex-lab-pkg-missing}{#1}
-                     \AddToDocumentProperties [document]{testphase/#1}{missing}
-                  }
+                \RequirePackage{output-patches-tmp-ltx}
                }
-          }
-        ,activate .multichoice:
-        ,activate / tagging .code:n =
-          {
-            \PackageWarning{pdfmanagement-testphase}
-             {The~activate~key~is~deprecated.\MessageBreak
-              Tagging~is~activated~with~'testphase=tagpdf'~directly}{}
-          }
-        ,debug .code:n =
-          {
-            \keys_set:nn { document / metadata / debug } {#1}
-          }
-        ,debug / para .code:n =
-          {
-            \AddToHook
-              {
-                package/tagpdf/after
-              }
-              {
-                 \tagpdfsetup{paratagging-show}
-              }
-          }
-        ,debug / log .code:n =
-          {
-            \AddToHook
-              {
-               package/tagpdf/after
-              }
-              {
-                 \tagpdfsetup{log=#1}
-              }
-          }
-        ,debug / uncompress .code:n =
-          {
-            \pdf_uncompress:
-          }
-        ,debug / pdfmanagement .bool_gset:N = \g__pdfmanagement_active_bool
-        ,debug / firstaidoff .clist_gset:N = \g__pdfmanagement_firstaidoff_clist
+           }
       }
-   }
-\cs_if_exist:NT \DocumentMetadata
-   {
-     \cs_new_protected:Npn \DeclareDocumentMetadata
-        {
-          \cs_if_free:NT \DocumentMetadata
-            {
-              \file_if_exist_input:nF {documentmetadata-support.ltx}%
-               {
-                 \@latex at error
-                   {No~support~files~for~\noexpand\DeclareDocumentMetadata~found}
-                   {
-                     Is~the~'LaTeX-lab'~bundle~installed?
-                     \MessageBreak
-                     Without~it,~the~declaration~is~ignored.
-                   }
-                \let\DeclareDocumentMetadata\@gobble
-               }
-            }
-          \RenewDocumentCommand \DeclareDocumentMetadata {}
-           { \DocumentMetadata }
-          \DocumentMetadata
-        }
-    }
-\cs_if_free:NT \DocumentMetadata
-  {
-    \prop_gput:Nnn \g_msg_module_type_prop { document } { LaTeX }
-    \prop_gput:Nnn \g_msg_module_name_prop { document } { DocumentMetadata }
-    \msg_new:nnn
-      { document } { setup-after-documentclass }
-      {
-        \token_to_str:N \DocumentMetadata \c_space_tl
-        should~be~used~only~before~\token_to_str:N\documentclass
-      }
-    \msg_new:nnn
-      { document } { latex-lab-pkg-missing }
-      {
-        LaTeX-lab~package~'#1'~not~found.
-      }
-    \NewDocumentCommand\DocumentMetadata { m }
-      {
-        \cs_if_eq:NNTF \documentclass \@twoclasseserror
-          { \msg_error:nn { document }{ setup-after-documentclass } }
-          {
-            \bool_gset_true:N \g__pdfmanagement_active_bool
-            \keys_set_groups:nnn { document / metadata} {init}{ #1 }
-        %if no backend has been loaded force it now:
-            \str_if_exist:NF \c_sys_backend_str
-              {
-                \sys_load_backend:n {}
-              }
-        \ExplSyntaxOn\makeatletter
-              \file_input:n {l3backend-testphase-\c_sys_backend_str.def}
-        \ExplSyntaxOff\makeatother
-            \keys_set_filter:nnn  { document / metadata } { init } { lang=en-US, #1 }
-            \bool_if:NT \g__pdfmanagement_active_bool
-              {
-                \PassOptionsToPackage{customdriver=hgeneric-testphase}{hyperref}
-              }
-           \hook_use_once:n {pdfmanagement/add}
-           \RenewDocumentCommand\DocumentMetadata { m }
-              {
-                \keys_set_filter:nnn  { document / metadata } { init } { ##1 }
-                \bool_if:NTF \g__pdfmanagement_active_bool
-                  {
-                    \str_remove_all:cn
-                      {opt at hyperref.sty}{customdriver=hgeneric-testphase}
-                    \PassOptionsToPackage
-                      {customdriver=hgeneric-testphase}{hyperref}
-                 }
-                 {
-                   \str_remove_all:cn
-                     {opt at hyperref.sty}{customdriver=hgeneric-testphase}
-                 }
-              }
-            \g__pdfmanagement_testphase_tl
-            \RequirePackage{pdfmanagement-firstaid}
-          }
-      }
-    \NewDocumentCommand\DeclareDocumentMetadata{}{\DocumentMetadata}
   }
+\NewCommandCopy\DeclareDocumentMetadata\DocumentMetadata
 \prop_new:N \g__pdfmanagement_documentproperties_prop %
 \NewDocumentCommand\AddToDocumentProperties{O{\@currname}mm}
   {
@@ -1205,6 +1023,21 @@
   {
     \prop_item:Nn \g__pdfmanagement_documentproperties_prop {#1}
   }
+\cs_new:Npn\pdfmanagement_get_documentproperties:n #1
+  {
+    \prop_item:Nn \g__pdfmanagement_documentproperties_prop {#1}
+  }
+\prg_new_protected_conditional:Npnn
+  \pdfmanagement_get_documentproperties:nN #1#2 { T , F , TF }
+    {
+     \prop_get:NnNTF \g__pdfmanagement_documentproperties_prop  {#1} #2
+       {
+        \prg_return_true:
+       }
+       {
+        \prg_return_false:
+       }
+    }
 \msg_new:nnn  { pdfmanagement } { show-properties }
   {
     The~following~document~properties~have~been~stored:
@@ -1897,6 +1730,28 @@
     {\AddToDocumentProperties [document]{pdfstandard-UA}{1}},
    xmp  .bool_gset:N = \g__pdfmeta_xmp_bool
  }
+\bool_new:N \g__pdfmeta_xmp_export_bool
+\str_new:N  \g__pdfmeta_xmp_export_str
+
+\keys_define:nn { document / metadata }
+  {
+    ,debug / xmp-export .choice:
+    ,debug / xmp-export / true .code:n=
+      {
+        \bool_gset_true:N \g__pdfmeta_xmp_export_bool
+        \str_gset_eq:NN \g__pdfmeta_xmp_export_str \c_sys_jobname_str
+      }
+    ,debug / xmp-export / false .code:n =
+      {
+        \bool_gset_false:N \g__pdfmeta_xmp_export_bool
+      }
+    ,debug / xmp-export /unknown .code:n =
+      {
+        \bool_gset_true:N \g__pdfmeta_xmp_export_bool
+        \str_gset:Nn \g__pdfmeta_xmp_export_str { #1 }
+      }
+    ,debug / xmp-export .default:n = true
+  }
 \msg_new:nnn{pdfmeta}{namespace-defined}{The~xmlns~namespace~`#1`~is~already~declared}
 \bool_lazy_or:nnTF
   { \sys_if_engine_luatex_p: }
@@ -2116,6 +1971,23 @@
      \__pdfmeta_xmp_add_packet_line:nnV {#1}{#2}\l__pdfmeta_tmpa_tl
    }
 \cs_generate_variant:Nn \__pdfmeta_xmp_add_packet_line_default:nnnn {nnee}
+\cs_new_protected:Npn \__pdfmeta_xmp_add_packet_list_simple:nnnn #1 #2 #3 #4
+  %#1 prefix, #2 name,  #3 type (Seq/Bag/Alt) #4 a clist
+  {
+    \clist_if_empty:nF { #4 }
+      {
+        \__pdfmeta_xmp_add_packet_open:nn {#1}{#2}
+         \__pdfmeta_xmp_add_packet_open:nn {rdf}{#3}
+          \clist_map_inline:nn {#4}
+            {
+              \__pdfmeta_xmp_add_packet_line:nnn
+               {rdf}{li}{##1}
+            }
+         \__pdfmeta_xmp_add_packet_close:nn{rdf}{#3}
+        \__pdfmeta_xmp_add_packet_close:nn {#1}{#2}
+     }
+   }
+\cs_generate_variant:Nn \__pdfmeta_xmp_add_packet_list_simple:nnnn {nnnV,nnne}
 \cs_new_protected:Npn \__pdfmeta_xmp_add_packet_list:nnnn #1 #2 #3 #4
   %#1 prefix, #2 name,  #3 type (Seq/Bag/Alt) #4 a clist
   {
@@ -2518,26 +2390,25 @@
        { \GetDocumentProperties{hyperref/pdfkeywords} }
     \int_compare:nNnT {0\pdfmeta_standard_item:n{level}}={1}
        { \pdfmanagement_remove:nn{Info}{Keywords} }
-    \tl_if_blank:eTF { \GetDocumentProperties{hyperref/pdftype} }
-       {
-         \__pdfmeta_xmp_add_packet_list:nnne {dc}{type}{Bag}{Text}
-       }
-       {
-        \__pdfmeta_xmp_add_packet_list:nnne {dc}{type}{Bag}
-          { { \GetDocumentProperties{hyperref/pdftype} }}
-       }
+  \pdfmanagement_get_documentproperties:nNTF { hyperref/pdftype } \l__pdfmeta_tmpa_tl
+    {
+      \__pdfmeta_xmp_add_packet_list_simple:nnnV {dc}{type}{Bag}\l__pdfmeta_tmpa_tl
+    }
+    {
+      \__pdfmeta_xmp_add_packet_list_simple:nnnn {dc}{type}{Bag}{Text}
+    }
    \__pdfmeta_xmp_add_packet_list:nnne {dc}{publisher}{Bag}
      { \GetDocumentProperties{hyperref/pdfpublisher} }
    \__pdfmeta_xmp_add_packet_list:nnne
     {dc}{description}{Alt}
     {\GetDocumentProperties{hyperref/pdfsubject}}
-   \__pdfmeta_xmp_add_packet_list:nnne {dc}{language}{Bag}
-     { \l__pdfmeta_xmp_doclang_tl }
+   \__pdfmeta_xmp_add_packet_list_simple:nnnV
+     {dc}{language}{Bag}\l__pdfmeta_xmp_doclang_tl
    \__pdfmeta_xmp_add_packet_line:nne{dc}{identifier}
      { \GetDocumentProperties{hyperref/pdfidentifier} }
    \__pdfmeta_xmp_date_get:nNN {hyperref/pdfdate}\l__pdfmeta_tmpa_tl\l__pdfmeta_tmpa_seq
-    \__pdfmeta_xmp_add_packet_list:nnne {dc}{date}{Seq}
-          {\__pdfmeta_xmp_print_date:N\l__pdfmeta_tmpa_seq}
+    \__pdfmeta_xmp_add_packet_list_simple:nnne
+     {dc}{date}{Seq}{\__pdfmeta_xmp_print_date:N\l__pdfmeta_tmpa_seq}
    \__pdfmeta_xmp_add_packet_line:nnn{dc}{format}{application/pdf}
     \__pdfmeta_xmp_add_packet_line_default:nnee
      {dc}{source}
@@ -2667,6 +2538,12 @@
        \exp_args:No
        \__pdf_backend_metadata_stream:n {\g__pdfmeta_xmp_packet_tl}
         \pdfmanagement_add:nnx {Catalog} {Metadata}{\pdf_object_ref_last:}
+       \bool_if:NT \g__pdfmeta_xmp_export_bool
+        {
+          \iow_open:Nn\g_tmpa_iow{\g__pdfmeta_xmp_export_str.xmpi}
+          \exp_args:NNo\iow_now:Nn\g_tmpa_iow{\g__pdfmeta_xmp_packet_tl}
+          \iow_close:N\g_tmpa_iow
+        }
      }
   }
 

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-testphase.dtx
-\ProvidesExplPackage{pdfmanagement-testphase}{2022-09-26}{0.95s}
+\ProvidesExplPackage{pdfmanagement-testphase}{2022-11-03}{0.95t}
   {LaTeX PDF management testphase bundle}
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 \IfFormatAtLeastTF{2020-10-01}{}{

Deleted: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/transparent-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -1,26 +0,0 @@
-%%
-%% This is file `transparent-ltx.sty',
-%% a replacement for transparent sty from Heiko Oberdiek
-%%
-\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{transparent-ltx}{2022-09-26}{0.95s}
-  {Transparency with color stacks (replacement for transparent.sty from Heiko Oberdiek)}%
-
-\RequirePackage{l3opacity}
-
-\NewDocumentCommand{\transparent} { m }
-      {
-       \opacity_select:n{\fp_eval:n{ min(max(0,#1),1) } }
-      }
-
-\NewDocumentCommand{\texttransparent}{m m}
-  {
-   \mode_leave_vertical:
-   \group_begin:
-     \transparent{#1}
-     #2
-   \group_end:
-  }
-
-
-\endinput

Modified: trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty	2022-11-04 19:58:07 UTC (rev 64930)
+++ trunk/Master/texmf-dist/tex/latex/pdfmanagement-testphase/xcolor-patches-tmp-ltx.sty	2022-11-04 19:58:53 UTC (rev 64931)
@@ -1,6 +1,6 @@
 %% LaTeX2e file `xcolor-patches.sty'
 %%
-\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-09-26 v0.95s patch xcolor for l3color]
+\ProvidesPackage{xcolor-patches-tmp-ltx}[2022-11-03 v0.95t patch xcolor for l3color]
 \@ifundefined{color_set:nn}{\RequirePackage{l3color}}{}
 
 \ExplSyntaxOn



More information about the tex-live-commits mailing list.