[latex3-commits] [latex3/latex2e] a4standard: add support for a-4f and a4-e (75579696)
github at latex-project.org
github at latex-project.org
Tue Mar 26 19:10:41 CET 2024
Repository : https://github.com/latex3/latex2e
On branch : a4standard
Link : https://github.com/latex3/latex2e/commit/75579696aa15d287398e6f2843f662f1c68617b9
>---------------------------------------------------------------
commit 75579696aa15d287398e6f2843f662f1c68617b9
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Mar 26 19:10:41 2024 +0100
add support for a-4f and a4-e
>---------------------------------------------------------------
75579696aa15d287398e6f2843f662f1c68617b9
required/latex-lab/changes.txt | 3 +++
required/latex-lab/documentmetadata-support.dtx | 33 ++++++++++++++++++++++---
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index 3ee32a33..cc5bb2d4 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,6 @@
+2024-03-23 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+ * documentmetadata-support.dtx: keys for A4-E and A4-F
+
2024-03-23 Yukai Chou <muzimuzhi at gmail.com>
* latex-lab-float.dtx (subsection{Patching}):
diff --git a/required/latex-lab/documentmetadata-support.dtx b/required/latex-lab/documentmetadata-support.dtx
index d3c0d4b1..54483ec4 100644
--- a/required/latex-lab/documentmetadata-support.dtx
+++ b/required/latex-lab/documentmetadata-support.dtx
@@ -18,8 +18,8 @@
% for those people who are interested or want to report an issue.
%
% \begin{macrocode}
-\def\documentmetadatasupportversion{1.0g}
-\def\documentmetadatasupportdate{2024-02-15}
+\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{}
@@ -421,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 =
@@ -433,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}
More information about the latex3-commits
mailing list.