[latex3-commits] [git/LaTeX3-latex3-pdfresources] verify: add test for ocproperties (5324724)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Feb 17 22:50:17 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : verify
Link       : https://github.com/latex3/pdfresources/commit/532472471c7fdc2c4b198fdc5399d0d62e49de4a

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

commit 532472471c7fdc2c4b198fdc5399d0d62e49de4a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Feb 17 22:50:17 2021 +0100

    add test for ocproperties


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

532472471c7fdc2c4b198fdc5399d0d62e49de4a
 l3pdfmanagement.dtx | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx
index 3357c65..4441dc6 100644
--- a/l3pdfmanagement.dtx
+++ b/l3pdfmanagement.dtx
@@ -670,9 +670,9 @@
   {
     \bool_if:NT \g_@@_active_bool
        {
-         \__pdfmanagement_Pages_gpush:            %pagesattr
-         \__pdfmanagement_Info_gpush:             %pdfinfo
-         \__pdfmanagement_Catalog_gpush:
+         \@@_Pages_gpush:            %pagesattr
+         \@@_Info_gpush:             %pdfinfo
+         \@@_Catalog_gpush:
        }
   }
 %    \end{macrocode}
@@ -1069,7 +1069,10 @@
     \use:c { @@_/Catalog/AcroForm_gpush: }
     \use:c { @@_/Catalog/AF_gpush: }
     \use:c { @@_/Catalog/MarkInfo_gpush: }
-    \use:c { @@_/Catalog/OCProperties_gpush: }
+    \pdfmeta_standard_verify:nT {Catalog_no_OCProperties}
+      {
+        \use:c { @@_/Catalog/OCProperties_gpush: }
+      }
     \use:c { @@_/Catalog/OutputIntents_gpush: }
     \use:c { @@_/Catalog/Requirements_gpush: }
     \use:c { @@_/Catalog/ViewerPreferences_gpush: }





More information about the latex3-commits mailing list.