[latex3-commits] [git/LaTeX3-latex3-pdfresources] testxmp: dvips tests (mostly no tests with metadata as compressed anyway) (cd5bb16)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Sep 10 18:47:49 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : testxmp
Link       : https://github.com/latex3/pdfresources/commit/cd5bb1678bc3496adac7e499f29a468abfb48d3d

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

commit cd5bb1678bc3496adac7e499f29a468abfb48d3d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Sep 10 18:47:49 2022 +0200

    dvips tests (mostly no tests with metadata as compressed anyway)


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

cd5bb1678bc3496adac7e499f29a468abfb48d3d
 testfiles-dvips/annot-last.lvt            |   4 ++--
 testfiles-dvips/annot-last.tlg            |   1 +
 testfiles-dvips/annot.pvt                 |   6 +-----
 testfiles-dvips/ap-names.pvt              |   2 +-
 testfiles-dvips/bdc-properties.pvt        |   2 +-
 testfiles-dvips/catalogAF.pvt             |   2 +-
 testfiles-dvips/colorprofile-standard.pvt |   4 ++--
 testfiles-dvips/colorprofile1.pvt         |   2 +-
 testfiles-dvips/colorprofile1.tpf         | Bin 102578 -> 103549 bytes
 testfiles-dvips/destination-options.pvt   |   4 ++--
 testfiles-dvips/dict_if_empty.lvt         |   4 ++--
 testfiles-dvips/dict_if_empty.tlg         |   1 +
 testfiles-dvips/disable-links.pvt         |   4 ++--
 testfiles-dvips/embedfile.pvt             |   4 ++--
 testfiles-dvips/formfield-old.pvt         |   4 ++--
 testfiles-dvips/infodict.pvt              |   4 ++--
 testfiles-dvips/ismap.pvt                 |   4 ++--
 testfiles-dvips/linkhook.pvt              |   5 ++---
 testfiles-dvips/pagelabels-log.lvt        |   4 ++--
 testfiles-dvips/pagelabels-log.tlg        |   1 +
 testfiles-dvips/pagelabels.pvt            |   4 ++--
 testfiles-dvips/pdffilelink.pvt           |   7 ++-----
 testfiles-dvips/pdflscape.pvt             |   4 ++--
 testfiles-dvips/pgfpatches.pvt            |   4 ++--
 testfiles-dvips/show.lvt                  |   4 ++--
 testfiles-dvips/show.tlg                  |   2 ++
 testfiles-dvips/version-compare.lvt       |   4 ++--
 testfiles-dvips/version-compare.tlg       |   1 +
 testfiles-dvips/xform-appearance.pvt      |   4 ++--
 testfiles-dvips/xform-clipping-gh25.pvt   |   2 +-
 testfiles-dvips/xform-preamble.pvt        |   3 +--
 testfiles-dvips/xform.pvt                 |   4 ++--
 32 files changed, 51 insertions(+), 54 deletions(-)

diff --git a/testfiles-dvips/annot-last.lvt b/testfiles-dvips/annot-last.lvt
index 6995c47..11933ba 100644
--- a/testfiles-dvips/annot-last.lvt
+++ b/testfiles-dvips/annot-last.lvt
@@ -1,5 +1,5 @@
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {}
+
+\DocumentMetadata {xmp=false}
 \input{regression-test}
 \documentclass{article}
 
diff --git a/testfiles-dvips/annot-last.tlg b/testfiles-dvips/annot-last.tlg
index 8b82367..6b8a49a 100644
--- a/testfiles-dvips/annot-last.tlg
+++ b/testfiles-dvips/annot-last.tlg
@@ -141,6 +141,7 @@ Completed box being shipped out [1]
 .\kern 0.0
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
+..\special{ps:SDict begin mark/Producer (pdftex-1.4.24)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/Creator (TeX)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/CreationDate (D:20010101205959-00'00')/DOCINFO pd\ETC.}
 ..\special{ps:SDict begin mark/ModDate (D:20010101205959-00'00')/DOCINFO pdfmark\ETC.}
diff --git a/testfiles-dvips/annot.pvt b/testfiles-dvips/annot.pvt
index faeefe0..3dbbe47 100644
--- a/testfiles-dvips/annot.pvt
+++ b/testfiles-dvips/annot.pvt
@@ -1,10 +1,6 @@
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{}
+\DocumentMetadata{xmp=false}
 \input{regression-test}
 \documentclass{article}
-\ExplSyntaxOn
-\pdf_uncompress:
-\ExplSyntaxOff
 \begin{document}
 \START
 % just to avoid to have to escape every space ...
diff --git a/testfiles-dvips/ap-names.pvt b/testfiles-dvips/ap-names.pvt
index 6adc45c..0f1e579 100644
--- a/testfiles-dvips/ap-names.pvt
+++ b/testfiles-dvips/ap-names.pvt
@@ -1,5 +1,5 @@
 \RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{}
+\DocumentMetadata{ xmp=false}
 \input{regression-test}
 \documentclass{article}
 \usepackage{l3pdffield-testphase}
diff --git a/testfiles-dvips/bdc-properties.pvt b/testfiles-dvips/bdc-properties.pvt
index 013af4f..34ffa7b 100644
--- a/testfiles-dvips/bdc-properties.pvt
+++ b/testfiles-dvips/bdc-properties.pvt
@@ -1,6 +1,6 @@
 
 
-\DocumentMetadata {}
+\DocumentMetadata { xmp=false}
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/catalogAF.pvt b/testfiles-dvips/catalogAF.pvt
index 765d2d3..6bd5c4e 100644
--- a/testfiles-dvips/catalogAF.pvt
+++ b/testfiles-dvips/catalogAF.pvt
@@ -4,7 +4,7 @@
  {
    pdfversion=2.0, %not so good with pdftex ...
    lang=de-DE,
-   uncompress
+   xmp=false
  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/colorprofile-standard.pvt b/testfiles-dvips/colorprofile-standard.pvt
index 2893fc0..3647553 100644
--- a/testfiles-dvips/colorprofile-standard.pvt
+++ b/testfiles-dvips/colorprofile-standard.pvt
@@ -1,4 +1,3 @@
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata
  {
    colorprofiles=
@@ -6,7 +5,8 @@
         X=sRGB.icc,
         A=FOGRA39L_coated.icc,
      },
-   pdfstandard=A-1b
+   pdfstandard=A-1b,
+   xmp=false
  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/colorprofile1.pvt b/testfiles-dvips/colorprofile1.pvt
index 57cf018..ddf5f28 100644
--- a/testfiles-dvips/colorprofile1.pvt
+++ b/testfiles-dvips/colorprofile1.pvt
@@ -1,4 +1,3 @@
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata
  {
    colorprofiles=
@@ -6,6 +5,7 @@
         X=sRGB.icc,
         A=FOGRA39L_coated.icc
      },
+    xmp=1 
  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/colorprofile1.tpf b/testfiles-dvips/colorprofile1.tpf
index 72c79c4..b6c3fc6 100644
Binary files a/testfiles-dvips/colorprofile1.tpf and b/testfiles-dvips/colorprofile1.tpf differ
diff --git a/testfiles-dvips/destination-options.pvt b/testfiles-dvips/destination-options.pvt
index 7d31946..24089c8 100644
--- a/testfiles-dvips/destination-options.pvt
+++ b/testfiles-dvips/destination-options.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{}
+
+\DocumentMetadata{ xmp=false}
 \input{regression-test}
 \documentclass{article}
 \usepackage[
diff --git a/testfiles-dvips/dict_if_empty.lvt b/testfiles-dvips/dict_if_empty.lvt
index 5667e8e..fa536a9 100644
--- a/testfiles-dvips/dict_if_empty.lvt
+++ b/testfiles-dvips/dict_if_empty.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata { }
+
+\DocumentMetadata {xmp=false }
 \input{regression-test}
 \documentclass{article}
 \begin{document}\START
diff --git a/testfiles-dvips/dict_if_empty.tlg b/testfiles-dvips/dict_if_empty.tlg
index 3408963..026c928 100644
--- a/testfiles-dvips/dict_if_empty.tlg
+++ b/testfiles-dvips/dict_if_empty.tlg
@@ -112,6 +112,7 @@ Completed box being shipped out [1]
 .\kern 0.0
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
+..\special{ps:SDict begin mark/Producer (pdftex-1.4.24)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/Creator (TeX)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/CreationDate (D:20010101205959-00'00')/DOCINFO pd\ETC.}
 ..\special{ps:SDict begin mark/ModDate (D:20010101205959-00'00')/DOCINFO pdfmark\ETC.}
diff --git a/testfiles-dvips/disable-links.pvt b/testfiles-dvips/disable-links.pvt
index e103ca8..e628370 100644
--- a/testfiles-dvips/disable-links.pvt
+++ b/testfiles-dvips/disable-links.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {}
+
+\DocumentMetadata {xmp=false}
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/embedfile.pvt b/testfiles-dvips/embedfile.pvt
index f04c953..1848447 100644
--- a/testfiles-dvips/embedfile.pvt
+++ b/testfiles-dvips/embedfile.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {pdfversion=1.6 }
+
+\DocumentMetadata {pdfversion=1.6,xmp=false }
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/formfield-old.pvt b/testfiles-dvips/formfield-old.pvt
index e80eb0d..15b2a3d 100644
--- a/testfiles-dvips/formfield-old.pvt
+++ b/testfiles-dvips/formfield-old.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \usepackage{hyperref}
diff --git a/testfiles-dvips/infodict.pvt b/testfiles-dvips/infodict.pvt
index 74a54c9..b935c9b 100644
--- a/testfiles-dvips/infodict.pvt
+++ b/testfiles-dvips/infodict.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata { }
+
+\DocumentMetadata {xmp=false }
 \input{regression-test}
 \documentclass{article}
 \ExplSyntaxOn
diff --git a/testfiles-dvips/ismap.pvt b/testfiles-dvips/ismap.pvt
index 89fc05b..802184c 100644
--- a/testfiles-dvips/ismap.pvt
+++ b/testfiles-dvips/ismap.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata { }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{report}
 \usepackage{hyperref}
diff --git a/testfiles-dvips/linkhook.pvt b/testfiles-dvips/linkhook.pvt
index bfa71f4..76d235a 100644
--- a/testfiles-dvips/linkhook.pvt
+++ b/testfiles-dvips/linkhook.pvt
@@ -1,10 +1,9 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+
 \DocumentMetadata
  {
    pdfversion=2.0, %
-   lang=de-DE,
-   uncompress
+   lang=de-DE, xmp=false
  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles-dvips/pagelabels-log.lvt b/testfiles-dvips/pagelabels-log.lvt
index 997ebc0..544c766 100644
--- a/testfiles-dvips/pagelabels-log.lvt
+++ b/testfiles-dvips/pagelabels-log.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 
diff --git a/testfiles-dvips/pagelabels-log.tlg b/testfiles-dvips/pagelabels-log.tlg
index 34de7a8..77a3c92 100644
--- a/testfiles-dvips/pagelabels-log.tlg
+++ b/testfiles-dvips/pagelabels-log.tlg
@@ -291,6 +291,7 @@ Completed box being shipped out [5]
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
 ..\special{PSfile=pagelabels-log.out.ps}
+..\special{ps:SDict begin mark/Producer (pdftex-1.4.24)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/Creator <FEFF004C00610054006500580020007700690074\ETC.}
 ..\special{ps:SDict begin mark/CreationDate (D:20010101205959-00'00')/DOCINFO pd\ETC.}
 ..\special{ps:SDict begin mark/ModDate (D:20010101205959-00'00')/DOCINFO pdfmark\ETC.}
diff --git a/testfiles-dvips/pagelabels.pvt b/testfiles-dvips/pagelabels.pvt
index 94f3072..a058939 100644
--- a/testfiles-dvips/pagelabels.pvt
+++ b/testfiles-dvips/pagelabels.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \ExplSyntaxOn
diff --git a/testfiles-dvips/pdffilelink.pvt b/testfiles-dvips/pdffilelink.pvt
index 0e9959e..ed2d8ed 100644
--- a/testfiles-dvips/pdffilelink.pvt
+++ b/testfiles-dvips/pdffilelink.pvt
@@ -1,14 +1,11 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 
 \documentclass{article}
 
 
-\ExplSyntaxOn
-\pdf_uncompress:
-\ExplSyntaxOff
 \usepackage{hyperref}
 
 \begin{document}
diff --git a/testfiles-dvips/pdflscape.pvt b/testfiles-dvips/pdflscape.pvt
index 5c7c1aa..3544fae 100644
--- a/testfiles-dvips/pdflscape.pvt
+++ b/testfiles-dvips/pdflscape.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {pdfversion=1.7  }
+
+\DocumentMetadata {pdfversion=1.7 ,xmp=false }
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/pgfpatches.pvt b/testfiles-dvips/pgfpatches.pvt
index b648163..8b8d618 100644
--- a/testfiles-dvips/pgfpatches.pvt
+++ b/testfiles-dvips/pgfpatches.pvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false  }
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/show.lvt b/testfiles-dvips/show.lvt
index 5195b79..54ea957 100644
--- a/testfiles-dvips/show.lvt
+++ b/testfiles-dvips/show.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \usepackage{hyperref}
diff --git a/testfiles-dvips/show.tlg b/testfiles-dvips/show.tlg
index c146395..eef541f 100644
--- a/testfiles-dvips/show.tlg
+++ b/testfiles-dvips/show.tlg
@@ -9,6 +9,7 @@ braces):
 l. ...\pdfdict_show:n{g__pdf_Core/Catalog}
 The global dictionary 'g__pdf_Core/Info' contains the pairs (without outer
 braces):
+>  {Producer}  =>  {(pdftex-1.4.24)}
 >  {Creator}  => 
 {<FEFF004C006100540065005800200077006900740068002000680079007000650072007200650066>}
 >  {CreationDate}  =>  {(D:20010101205959-00'00')}
@@ -105,6 +106,7 @@ Completed box being shipped out [1]
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
 ..\special{PSfile=show.out.ps}
+..\special{ps:SDict begin mark/Producer (pdftex-1.4.24)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/Creator <FEFF004C00610054006500580020007700690074\ETC.}
 ..\special{ps:SDict begin mark/CreationDate (D:20010101205959-00'00')/DOCINFO pd\ETC.}
 ..\special{ps:SDict begin mark/ModDate (D:20010101205959-00'00')/DOCINFO pdfmark\ETC.}
diff --git a/testfiles-dvips/version-compare.lvt b/testfiles-dvips/version-compare.lvt
index d101f11..faa22b0 100644
--- a/testfiles-dvips/version-compare.lvt
+++ b/testfiles-dvips/version-compare.lvt
@@ -1,6 +1,6 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \begin{document}\START\showoutput
diff --git a/testfiles-dvips/version-compare.tlg b/testfiles-dvips/version-compare.tlg
index 0131623..26924d1 100644
--- a/testfiles-dvips/version-compare.tlg
+++ b/testfiles-dvips/version-compare.tlg
@@ -174,6 +174,7 @@ Completed box being shipped out [1]
 .\kern 0.0
 .\kern -633.0
 .\hbox(0.0+0.0)x0.0
+..\special{ps:SDict begin mark/Producer (pdftex-1.4.24)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/Creator (TeX)/DOCINFO pdfmark end}
 ..\special{ps:SDict begin mark/CreationDate (D:20010101205959-00'00')/DOCINFO pd\ETC.}
 ..\special{ps:SDict begin mark/ModDate (D:20010101205959-00'00')/DOCINFO pdfmark\ETC.}
diff --git a/testfiles-dvips/xform-appearance.pvt b/testfiles-dvips/xform-appearance.pvt
index 1920b4a..9179940 100644
--- a/testfiles-dvips/xform-appearance.pvt
+++ b/testfiles-dvips/xform-appearance.pvt
@@ -1,7 +1,7 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \usepackage{l3pdffield-testphase}
diff --git a/testfiles-dvips/xform-clipping-gh25.pvt b/testfiles-dvips/xform-clipping-gh25.pvt
index 37f58b2..056ecec 100644
--- a/testfiles-dvips/xform-clipping-gh25.pvt
+++ b/testfiles-dvips/xform-clipping-gh25.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\DocumentMetadata {uncompress}
+\DocumentMetadata {xmp=false}
 \input{regression-test}
 
 \documentclass{article}
diff --git a/testfiles-dvips/xform-preamble.pvt b/testfiles-dvips/xform-preamble.pvt
index 2a6009e..080ad11 100644
--- a/testfiles-dvips/xform-preamble.pvt
+++ b/testfiles-dvips/xform-preamble.pvt
@@ -1,6 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+\DocumentMetadata {xmp=false  }
 \input{regression-test}
 \documentclass{article}
 \ExplSyntaxOn
diff --git a/testfiles-dvips/xform.pvt b/testfiles-dvips/xform.pvt
index 768d6b3..7c67d9a 100644
--- a/testfiles-dvips/xform.pvt
+++ b/testfiles-dvips/xform.pvt
@@ -1,7 +1,7 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
-\DocumentMetadata {  }
+
+\DocumentMetadata { xmp=false }
 \input{regression-test}
 \documentclass{article}
 \begin{document}





More information about the latex3-commits mailing list.