summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-07-09 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-07-09 03:01:16 +0000
commit7891283a2f2fb8a8a884bb212c36da8082764a9b (patch)
tree98a050dec8439492144177997c6f66e4f9543d62 /macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
parentc600912bde983d6a04c7ce42321d50d4c7c1a50b (diff)
CTAN sync 202207090301
Diffstat (limited to 'macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty')
-rw-r--r--macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty b/macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
index 88e122785b..623388bcfc 100644
--- a/macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
+++ b/macros/latex/contrib/pdfmanagement-testphase/hyperxmp-patches-tmp-ltx.sty
@@ -19,7 +19,7 @@
%
% for those people who are interested.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2022-06-14}{0.95p}
+\ProvidesExplPackage{hyperxmp-patches-tmp-ltx}{2022-07-08}{0.95q}
{Store hyperref metadata in XMP format / temporay patches to test pdfresource management ... UF}
\cs_if_exist:NT \pdfmanagement_add:nnn
@@ -59,7 +59,8 @@
\ifHy@pdfa
\exp_args:Nnx\hyxmp@add@simple{pdfaid:part}{\pdfmeta_standard_item:n{level}}
\exp_args:Nnx\hyxmp@add@simple{pdfaid:conformance}{\pdfmeta_standard_item:n{conformance}}
- \exp_args:Nnx\hyxmp@add@simple{pdfaid:rev}{\pdfmeta_standard_item:n{year}}
+ \int_compare:nNnT{\pdfmeta_standard_item:n{level}}>{3}
+ { \exp_args:Nnx\hyxmp@add@simple{pdfaid:rev}{\pdfmeta_standard_item:n{year}} }
\fi
}