[latex3-commits] [latex3/pdfresources] develop: add wtpdf declation with ua-2, WIP (39af96d)

github at latex-project.org github at latex-project.org
Sun Mar 24 01:13:06 CET 2024


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/39af96d81665aa03631418fa30fcb39f93b9f294

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

commit 39af96d81665aa03631418fa30fcb39f93b9f294
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Mar 24 01:13:06 2024 +0100

    add wtpdf declation with ua-2, WIP


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

39af96d81665aa03631418fa30fcb39f93b9f294
 CHANGELOG.md  | 1 +
 l3pdfmeta.dtx | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3dfa0d1..43eadf4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ this project uses date-based 'snapshot' version identifiers.
 ## [Unreleased]
 ### Added
  - l3pdfmeta.dtx: interface for xmpRights:Marked.
+ - l3pdfmeta.dtx: add wtpdf declations if ua-2 is used.
 
 ### Changed
  - removed unneeded firstaids for fontspec, transparent and pdflscape
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 1fdd5ec..d1088ad 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -1286,6 +1286,15 @@
       \AddToDocumentProperties [document]{pdfstandard-UA}{{2}{2024}}
       \AddToHook{begindocument/before}
        {\prop_gput:Nnn \g__pdfmeta_standard_prop {Trailer_no_Info}{}}
+      \AddToHook{begindocument/before}
+       {
+         \pdfmeta_xmp_add_declaration:ennnn
+           {http://pdfa.org/declarations\c_hash_str
+            wtpdf-reuse1.0}{LaTeX~Project}{2024-02-20}{}{}
+         \pdfmeta_xmp_add_declaration:ennnn
+           {http://pdfa.org/declarations\c_hash_str
+             wtpdf-accessibility1.0}{LaTeX~Project}{2024-02-20}{}{}
+       }        
     },    
    xmp  .bool_gset:N = \g_@@_xmp_bool
  }





More information about the latex3-commits mailing list.