[latex3-commits] [latex3/pdfresources] develop: add example, add issue to changelog issue #58 (3a0d4bb)

github at latex-project.org github at latex-project.org
Tue Nov 21 12:11:48 CET 2023


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/3a0d4bbb67ba2615f25acf62ce407707430bed10

>---------------------------------------------------------------

commit 3a0d4bbb67ba2615f25acf62ce407707430bed10
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Nov 21 12:11:48 2023 +0100

    add example, add issue to changelog issue #58


>---------------------------------------------------------------

3a0d4bbb67ba2615f25acf62ce407707430bed10
 CHANGELOG.md  |  2 +-
 l3pdfmeta.dtx | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b16d9f9..a9557c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,7 @@ this project uses date-based 'snapshot' version identifiers.
 ## [Unreleased]
 
 ### Added
- - 2023-11-20: l3pdfmeta.dtx: support for PDF declarations in XMP metadata.
+ - 2023-11-20: l3pdfmeta.dtx: support for PDF declarations in XMP metadata, issue #58
  
 ## [2023-11-17]
 Version: 2023-11-17, 0.96c
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 3c75208..d908109 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -458,6 +458,33 @@
 % It is up to the author to ensure and validate
 % that the document actually follows the standard.
 %
+% \subsubsection{Declarations}
+% PDF knows beside standards also a more generic method to declare conformance
+% to some specification by adding a declaration, 
+% see \url{https://pdfa.org/wp-content/uploads/2019/09/PDF-Declarations.pdf}).
+% Such declarations can be added as a simple url which identify the specification or
+% with additional details regarding date and credentials. An example would be
+% 
+% \begin{verbatim}
+% \DocumentMetadata{}
+% \documentclass{article}
+% \ExplSyntaxOn
+% \pdfmeta_xmp_add_declaration:e {https://pdfa.org/declarations\c_hash_str iso32005}
+% \pdfmeta_xmp_add_declaration:ennnn
+%  {https://pdfa.org/declarations\c_hash_str wcag21A}{}{2023-11-20}{}{}
+% \pdfmeta_xmp_add_declaration:nnnnn
+%   {https://github.com/TikZlings/no-duck-harmed}
+%   {Ulrike~Fischer}{2023-11-20}{Bär}{https://github.com/u-fischer/bearwear}
+% \pdfmeta_xmp_add_declaration:nnnnn
+%  {https://github.com/TikZlings/no-duck-harmed}
+%  {Ulrike~Fischer}{2023-11-20}{Paulo}{https://github.com/cereda/sillypage}
+% \ExplSyntaxOff
+% \begin{document}
+%  text
+% \end{document} 
+% 
+% \end{verbatim}
+% 
 % \subsubsection{Dates}
 % \begin{itemize}
 % \item





More information about the latex3-commits mailing list.