[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop, main: add OriginalDocumentID to xmp (51f0d2d)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Feb 20 22:05:17 CET 2023


Repository : https://github.com/latex3/pdfresources
On branches: develop,main
Link       : https://github.com/latex3/pdfresources/commit/51f0d2df59a7e316d73ddbd76216c19fb1f98c8e

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

commit 51f0d2df59a7e316d73ddbd76216c19fb1f98c8e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Feb 20 22:05:17 2023 +0100

    add OriginalDocumentID to xmp


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

51f0d2df59a7e316d73ddbd76216c19fb1f98c8e
 CHANGELOG.md  |  5 +++++
 l3pdfmeta.dtx | 14 +++++++++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5184ea0..8d789be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,11 @@ first release 0.95a, 2021-02-23 will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
 
+## [2023-02-20]
+
+### Added
+ - schema declaration for xmpMM:OriginalDocumentID added to xmp-Metadata.
+
 ## [2023-02-14]
  
 ### Added
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 8fe1bf2..eb0932d 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -1893,7 +1893,19 @@
 %  Renditionclass declared by hyperxmp.
 %  Properties InstanceID and OriginalDocumentID declared by pdfx (pdfx.xmp)
 %  With the exception of OriginalDocumentID all are already allowed and
-%  predefined. We ignore OriginalDocumentID until requested.
+%  predefined. 
+%    \begin{macrocode}
+\@@_xmp_schema_new:nnn
+   {XMP~Media~Management~Schema}
+   {xmpMM}
+   {http://ns.adobe.com/xap/1.0/mm/}
+\@@_xmp_property_new:nnnnn
+   {xmpMM}
+   {OriginalDocumentID}
+   {URI}
+   {internal}
+   {The~common~identifier~for~all~versions~and~renditions~of~a~document.}
+%    \end{macrocode}
 %  \item[pdfaid] properties part and conformance are declared by hyperxmp, but
 %  no here as already in http://www.aiim.org/pdfa/ns/id/. But we declare
 %  year so that it can be used also with older A-standards.





More information about the latex3-commits mailing list.