From 79e9e48f9496fe82b7e76b2b318d24e9aab1ca8a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 28 Mar 2024 03:01:34 +0000 Subject: CTAN sync 202403280301 --- .../latex-lab/documentmetadata-support.dtx | 54 +++++++++++++++++----- 1 file changed, 43 insertions(+), 11 deletions(-) (limited to 'macros/latex-dev/required/latex-lab/documentmetadata-support.dtx') diff --git a/macros/latex-dev/required/latex-lab/documentmetadata-support.dtx b/macros/latex-dev/required/latex-lab/documentmetadata-support.dtx index 6bc7e232a1..54483ec4c9 100644 --- a/macros/latex-dev/required/latex-lab/documentmetadata-support.dtx +++ b/macros/latex-dev/required/latex-lab/documentmetadata-support.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % %% File: documentmetadata-support.dtx -% Copyright (C) 2021-2023 The LaTeX Project +% Copyright (C) 2021-2024 The LaTeX Project % % It may be distributed and/or modified under the conditions of the % LaTeX Project Public License (LPPL), either version 1.3c of this @@ -18,8 +18,8 @@ % for those people who are interested or want to report an issue. % % \begin{macrocode} -\def\documentmetadatasupportversion{1.0f} -\def\documentmetadatasupportdate{2023-09-01} +\def\documentmetadatasupportversion{1.0h} +\def\documentmetadatasupportdate{2024-03-26} % \end{macrocode} % % @@ -125,7 +125,8 @@ % e.g., \texttt{lang=de-DE}. If not given the default value used is |en-US|. % % \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 +% Currently |A-1b|, |A-2a|, |A-2b|, |A-2u|, |A-3a|, |A-3b|, |A-3u|, |A-4|, |A-4E| +% and |A-4F| are accepted as % values. The casing is irrelevant, |a-1b| works too. % Note that using these % key doesn't mean that the document actually follows the standard. \LaTeX{} @@ -171,12 +172,12 @@ % \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 +% |\tagpdfsetup{activate,activate/spaces}|. This phase % is frozen. % \item[\texttt{phase-II}] % 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 +% |\tagpdfsetup{para/tagging}|. In the upcoming months it will % also enable automatic tagging of other basic document elements. % \item[\texttt{phase-III}] % This is the current development phase. @@ -188,7 +189,7 @@ % and it supports only a limited number of add-on packages. % \end{description} % -% The various testphase modules can also be loaded individually (and least in theory, +% The various testphase modules can also be loaded individually (at least in theory, % there can be hidden dependencies). If loaded like this, the tagpdf package is not % loaded and tagging is not activated! The list of modules will change over time. % \begin{description} @@ -222,6 +223,13 @@ % \item[\texttt{text}] This module adds tagging support to the \LaTeX{} logo and % to the \cs{emph} command. % This code is also loaded by the \texttt{phase-III} key. +% \item[\texttt{marginpar}] This module adds tagging support to the \cs{marginpar} +% command. This code is also loaded by the \texttt{phase-III} key. +% \item[\texttt{title}] This module add tagging support to the \cs{maketitle} +% command if a standard class is used. It also enhances the \cs{title} +% and \cs{author} commands to fill the XMP-metadata and set the window title. +% It is not compatible with packages and classes which redefine these commands +% too. The module is currently not loaded by any \texttt{phase} key. % \item[\texttt{math}] This adapts math for tagging. This is only a prototype. % The module is currently not loaded by any \texttt{phase} key. % \item[\texttt{table}] This provides basic tagging for @@ -414,7 +422,7 @@ % this uses internal command from pdfmeta, it should probably move there ... ,pdfstandard .code:n = { - \exp_args:Nnx + \exp_args:Nne \keys_set:nn {document / metadata} {_pdfstandard=\str_uppercase:n{#1}} } ,_pdfstandard .choices:nn = @@ -426,6 +434,30 @@ } \AddToDocumentProperties [document]{pdfstandard}{#1} } + ,_pdfstandard / A-4F .code:n = + { + \prop_if_exist:cTF { g__pdfmeta_standard_pdf/A-4F_prop } + { + \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/A-4F_prop } + } + { + \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/A-4_prop } + \prop_gput:Nnn \g__pdfmeta_standard_prop{conformance}{F} + } + \AddToDocumentProperties [document]{pdfstandard}{A-4F} + } + ,_pdfstandard / A-4E .code:n = + { + \prop_if_exist:cTF { g__pdfmeta_standard_pdf/A-4E_prop } + { + \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/A-4E_prop } + } + { + \prop_gset_eq:Nc \g__pdfmeta_standard_prop { g__pdfmeta_standard_pdf/A-4_prop } + \prop_gput:Nnn \g__pdfmeta_standard_prop{conformance}{E} + } + \AddToDocumentProperties [document]{pdfstandard}{A-4E} + } ,_pdfstandard / unknown .code:n = { \msg_warning:nnn{pdf}{unknown-standard}{#1} @@ -439,7 +471,7 @@ { \RequirePackage{tagpdf} \AddToDocumentProperties [document]{testphase/tagpdf}{loaded} - \tagpdfsetup{activate,paratagging,interwordspace} + \tagpdfsetup{activate,para/tagging,activate/spaces} \AddToDocumentProperties [document]{tagging}{active} \AddToDocumentProperties [document]{tagging/para}{active} \AddToDocumentProperties [document]{tagging/interwordspace}{active} @@ -476,7 +508,7 @@ package/tagpdf/after } { - \tagpdfsetup{paratagging-show} + \tagpdfsetup{debug/show=para} } } ,debug / log .code:n = @@ -486,7 +518,7 @@ package/tagpdf/after } { - \tagpdfsetup{log=#1} + \tagpdfsetup{debug/log=#1} } } ,debug / tagpdf .code:n = -- cgit v1.2.3