[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: remove pdfaid-rev is standard is < 4, issue #33 (fc71768)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Jul 1 17:04:36 CEST 2022
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/fc717683c43f42226dc5258d4592bcc48f75d235
>---------------------------------------------------------------
commit fc717683c43f42226dc5258d4592bcc48f75d235
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jul 1 17:04:36 2022 +0200
remove pdfaid-rev is standard is < 4, issue #33
>---------------------------------------------------------------
fc717683c43f42226dc5258d4592bcc48f75d235
firstaid/hyperxmp-patches-tmp-ltx.sty | 3 ++-
testfiles-noxetex/pdfa2b-test.pdftex.tpf | 37 ++++++++++++++++----------------
testfiles-noxetex/pdfa2b-test.tpf | 31 +++++++++++++-------------
3 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/firstaid/hyperxmp-patches-tmp-ltx.sty b/firstaid/hyperxmp-patches-tmp-ltx.sty
index 88e1227..53091d4 100644
--- a/firstaid/hyperxmp-patches-tmp-ltx.sty
+++ b/firstaid/hyperxmp-patches-tmp-ltx.sty
@@ -59,7 +59,8 @@
\ifHy at pdfa
\exp_args:Nnx\hyxmp at add@simple{pdfaid:part}{\pdfmeta_standard_item:n{level}}
\exp_args:Nnx\hyxmp at add@simple{pdfaid:conformance}{\pdfmeta_standard_item:n{conformance}}
- \exp_args:Nnx\hyxmp at add@simple{pdfaid:rev}{\pdfmeta_standard_item:n{year}}
+ \int_compare:nNnT{\pdfmeta_standard_item:n{level}}>{3}
+ { \exp_args:Nnx\hyxmp at add@simple{pdfaid:rev}{\pdfmeta_standard_item:n{year}} }
\fi
}
diff --git a/testfiles-noxetex/pdfa2b-test.pdftex.tpf b/testfiles-noxetex/pdfa2b-test.pdftex.tpf
index 6b63019..9199376 100644
--- a/testfiles-noxetex/pdfa2b-test.pdftex.tpf
+++ b/testfiles-noxetex/pdfa2b-test.pdftex.tpf
@@ -13,7 +13,7 @@ endobj
8 0 obj
<<
/Type /Metadata /Subtype /XML
-/Length 15921
+/Length 15885
>>
stream
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
@@ -248,7 +248,6 @@ stream
<xmp:CreatorTool>LaTeX with hyperref</xmp:CreatorTool>
<pdfaid:part>2</pdfaid:part>
<pdfaid:conformance>B</pdfaid:conformance>
- <pdfaid:rev>2011</pdfaid:rev>
<xmpMM:DocumentID>uuid:fdc9546c-9bb6-426c-a41d-c41395fd1dc9</xmpMM:DocumentID>
<xmpMM:InstanceID>uuid:ae413900-a3ea-4ef2-854c-4182b6c95fd7</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
@@ -500,34 +499,34 @@ endobj
xref
0 24
0000000002 65535 f
-0000020057 00000 n
+0000020021 00000 n
0000000003 00000 f
0000000004 00000 f
0000000000 00000 f
-0000019740 00000 n
+0000019704 00000 n
0000000015 00000 n
0000003346 00000 n
0000003577 00000 n
-0000019970 00000 n
-0000019586 00000 n
-0000019853 00000 n
-0000019911 00000 n
-0000031729 00000 n
-0000031886 00000 n
-0000020104 00000 n
-0000020130 00000 n
-0000020415 00000 n
-0000029721 00000 n
-0000029946 00000 n
-0000031944 00000 n
+0000019934 00000 n
+0000019550 00000 n
+0000019817 00000 n
+0000019875 00000 n
+0000031693 00000 n
+0000031850 00000 n
+0000020068 00000 n
+0000020094 00000 n
+0000020379 00000 n
+0000029685 00000 n
+0000029910 00000 n
+0000031908 00000 n
+0000032005 00000 n
0000032041 00000 n
-0000032077 00000 n
-0000032270 00000 n
+0000032234 00000 n
trailer
<< /Size 24
/Root 22 0 R
/Info 23 0 R
/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
startxref
-32656
+32620
%%EOF
diff --git a/testfiles-noxetex/pdfa2b-test.tpf b/testfiles-noxetex/pdfa2b-test.tpf
index 9e9b1f3..971f6e7 100644
--- a/testfiles-noxetex/pdfa2b-test.tpf
+++ b/testfiles-noxetex/pdfa2b-test.tpf
@@ -31,7 +31,7 @@ endobj
<< /ExtGState 1 0 R /Font << /F15 12 0 R >> /ProcSet [ /PDF /Text ] >>
endobj
14 0 obj
-<< /Type /Metadata /Subtype /XML /Length 16487 >>
+<< /Type /Metadata /Subtype /XML /Length 16451 >>
stream
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
@@ -265,7 +265,6 @@ stream
<xmp:CreatorTool>LaTeX with hyperref</xmp:CreatorTool>
<pdfaid:part>2</pdfaid:part>
<pdfaid:conformance>B</pdfaid:conformance>
- <pdfaid:rev>2011</pdfaid:rev>
<xmpMM:DocumentID>uuid:fdc9546c-9bb6-426c-a41d-c41395fd1dc9</xmpMM:DocumentID>
<xmpMM:InstanceID>uuid:5fd7fd7a-3900-45f7-a3ef-dce46c462b6c</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
@@ -372,7 +371,7 @@ endobj
xref
0 26
0000000002 65535 f
-0000020664 00000 n
+0000020628 00000 n
0000000003 00000 f
0000000004 00000 f
0000000000 00000 f
@@ -383,22 +382,22 @@ xref
0000003583 00000 n
0000003880 00000 n
0000003940 00000 n
-0000022941 00000 n
-0000023295 00000 n
+0000022905 00000 n
+0000023259 00000 n
0000004087 00000 n
-0000020711 00000 n
-0000020737 00000 n
-0000021911 00000 n
-0000020801 00000 n
-0000020872 00000 n
-0000022147 00000 n
-0000023095 00000 n
-0000023356 00000 n
+0000020675 00000 n
+0000020701 00000 n
+0000021875 00000 n
+0000020765 00000 n
+0000020836 00000 n
+0000022111 00000 n
+0000023059 00000 n
+0000023320 00000 n
+0000023421 00000 n
0000023457 00000 n
-0000023493 00000 n
-0000023687 00000 n
+0000023651 00000 n
trailer
<< /Size 26 /Root 24 0 R /Info 25 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
startxref
-24073
+24037
%%EOF
More information about the latex3-commits
mailing list.