From ea584efe11866db25e596b86b3b7ae07e39e18f4 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 14 Jun 2021 20:29:57 +0000
Subject: pdfmanagement-testphase (14jun21)

git-svn-id: svn://tug.org/texlive/trunk@59591 c570f23f-e606-0410-a88d-b1316a301751
---
 .../pdfmanagement-testphase.ltx                    | 44 +++++++++++++++++++---
 1 file changed, 39 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx')

diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
index 847300ef601..70a7ca12ca5 100644
--- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
+++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/pdfmanagement-testphase.ltx
@@ -27,7 +27,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: pdfmanagement-testphase.dtx
-\ProvidesExplFile{pdfmanagement-testphase.ltx}{2021-05-14}{0.95d}
+\ProvidesExplFile{pdfmanagement-testphase.ltx}{2021-06-14}{0.95e}
   {PDF~management~code~(testphase)}
 %% File: l3pdfdict.dtx
 \cs_new:Npn \__pdfdict_get_type:n #1
@@ -507,9 +507,12 @@
 \pdfdict_new:n { g__pdf_Core/Pages}
 \cs_new_protected:Npn \__pdfmanagement_Pages_gpush:
   {
-    \exp_args:Nx \__pdf_backend_Pages_primitive:n
+    \pdfdict_if_empty:nF { g__pdf_Core/Pages}
       {
-        \pdfdict_use:n { g__pdf_Core/Pages}
+        \exp_args:Nx \__pdf_backend_Pages_primitive:n
+          {
+            \pdfdict_use:n { g__pdf_Core/Pages}
+          }
       }
   }
 
@@ -1020,7 +1023,7 @@
         \keys_set:nn {document / metadata} {_pdfstandard=\str_uppercase:n{#1}}
       }
     ,_pdfstandard .choices:nn =
-      {A-1B,A-2B,A-3B}
+      {A-1B,A-2B,A-2U,A-3B,A-3U}
       {
         \prop_if_exist:cT { g__pdfmeta_standard_pdf/#1_prop }
           {
@@ -1354,6 +1357,8 @@
   {
     ,name             = pdf/A-1B
     ,type             = A
+    ,level            = 1
+    ,conformance      = B
     ,year             = 2005
     ,min_pdf_version  = 1.4        %minimum
     ,no_encryption    =
@@ -1412,10 +1417,23 @@
   { g__pdfmeta_standard_pdf/A-2B_prop }{name}{pdf/A-2B}
 \prop_gput:cnn
   { g__pdfmeta_standard_pdf/A-2B_prop }{year}{2011}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-2B_prop }{level}{2}
 \prop_gremove:cn
   { g__pdfmeta_standard_pdf/A-2B_prop }
   { embed_content}
 
+\prop_new:c { g__pdfmeta_standard_pdf/A-2U_prop }
+\prop_gset_eq:cc
+  { g__pdfmeta_standard_pdf/A-2U_prop }
+  { g__pdfmeta_standard_pdf/A-2B_prop }
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-2U_prop }{name}{pdf/A-2U}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-2U_prop }{conformance}{U}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-2U_prop }{unicode}{}
+
 \prop_new:c { g__pdfmeta_standard_pdf/A-3B_prop }
 \prop_gset_eq:cc
   { g__pdfmeta_standard_pdf/A-3B_prop }
@@ -1423,10 +1441,23 @@
 \prop_gput:cnn
   { g__pdfmeta_standard_pdf/A-3B_prop }{name}{pdf/A-3B}
 \prop_gput:cnn
-  { g__pdfmeta_standard_pdf/A-2B_prop }{year}{2012}
+  { g__pdfmeta_standard_pdf/A-3B_prop }{year}{2012}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-3B_prop }{level}{3}
 \prop_gremove:cn
   { g__pdfmeta_standard_pdf/A-3B_prop }
   { embed_content}
+
+\prop_new:c { g__pdfmeta_standard_pdf/A-3U_prop }
+\prop_gset_eq:cc
+  { g__pdfmeta_standard_pdf/A-3U_prop }
+  { g__pdfmeta_standard_pdf/A-3B_prop }
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-3U_prop }{name}{pdf/A-3U}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-3U_prop }{conformance}{U}
+\prop_gput:cnn
+  { g__pdfmeta_standard_pdf/A-3U_prop }{unicode}{}
 \prop_new:N \g__pdfmeta_outputintents_prop
 \keys_define:nn { document / metadata }
   {
@@ -1651,6 +1682,7 @@
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 2C} {,}
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 3B} {;}
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 3D} {=}
+     \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 3F} {?}
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 30} {0}
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 31} {1}
      \exp_not:N \str_replace_all:Nnn #2 {\c_percent_str 32} {2}
@@ -1889,6 +1921,8 @@
       }
   }
 
+\cs_set_eq:NN \pdffile_filespec:nnn \__pdffile_filespec_write:nnn
+\cs_generate_variant:Nn \pdffile_filespec:nnn {nnx}
 \cs_new_protected:Npn \pdffile_embed_file:nnn #1 #2 #3
   { %               if #1 empty => only filespec
     %               if #2 empty => = #1
-- 
cgit v1.2.3

