[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: adapt testfiles to mediabox change (030e53c)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Oct 8 00:07:30 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/030e53c0ab87bf14128ff5404fecd4ab16fe9930

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

commit 030e53c0ab87bf14128ff5404fecd4ab16fe9930
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Oct 8 00:07:30 2022 +0200

    adapt testfiles to mediabox change


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

030e53c0ab87bf14128ff5404fecd4ab16fe9930
 resave.bat                             | 66 ++++++++++++++++++++++++++--------
 testfiles/active-colon.pvt             |  4 ++-
 testfiles/annot-dict.pvt               | 10 +++---
 testfiles/annot.pvt                    | 10 +++---
 testfiles/ap-names.pvt                 |  4 ++-
 testfiles/bdc-properties.pvt           |  2 ++
 testfiles/calculate-textfield.pvt      |  8 +++--
 testfiles/catalogAF.pvt                |  4 ++-
 testfiles/checkbox.pvt                 |  1 -
 testfiles/colorprofile-standard.pvt    |  4 ++-
 testfiles/colorprofile1.pvt            |  4 ++-
 testfiles/destination-options.pvt      |  4 ++-
 testfiles/disable-links.pvt            |  1 -
 testfiles/embedfile.pvt                |  3 +-
 testfiles/formfield-old.pvt            |  4 ++-
 testfiles/formtextfields.pvt           |  4 ++-
 testfiles/infodict-new.pvt             |  4 ++-
 testfiles/infodict.pvt                 |  3 +-
 testfiles/ismap.pvt                    |  6 ++--
 testfiles/linkbordercolor.pvt          |  1 -
 testfiles/linkhook.pvt                 |  1 -
 testfiles/linkmargin.pvt               |  1 -
 testfiles/linktoc.pvt                  |  6 ++--
 testfiles/metadata-new-no-hyperref.pvt |  4 ++-
 testfiles/mixpageattr.pvt              |  2 ++
 testfiles/ocgcolorlinks.pvt            |  1 -
 testfiles/ocproperties.pvt             |  2 ++
 testfiles/pageattr.pvt                 |  3 +-
 testfiles/pagelabels.pvt               |  3 +-
 testfiles/pagesattr.pvt                |  3 +-
 testfiles/pdffilelink.pvt              |  3 +-
 testfiles/pdflscape.pvt                |  1 -
 testfiles/pgfpatches.pvt               |  1 -
 testfiles/radiobuttons.pvt             |  2 ++
 testfiles/tag-checkbox.pvt             |  4 ++-
 testfiles/textfield.pvt                |  4 ++-
 testfiles/thispageattr.pvt             |  6 ++--
 testfiles/transition.pvt               |  5 ++-
 testfiles/viewerpreferences.pvt        |  2 ++
 testfiles/xform-appearance.pvt         |  4 ++-
 testfiles/xform-preamble.pvt           |  4 ++-
 testfiles/xform.pvt                    |  2 ++
 42 files changed, 149 insertions(+), 62 deletions(-)

diff --git a/resave.bat b/resave.bat
index dd18437..05f966e 100644
--- a/resave.bat
+++ b/resave.bat
@@ -4,18 +4,63 @@ rem l3build save -cconfig-dvips \1
 rem l3build save -cconfig-luatex -e\2 \1
 rem l3build save -cconfig-noxetex -e\2 \1
 
+l3build save -eluatex active-colon
+l3build save -epdftex active-colon
+l3build save -exetex active-colon
+l3build save -eluatex annot-dict
+l3build save -epdftex annot-dict
+l3build save -exetex annot-dict
+l3build save -eluatex annot
+l3build save -epdftex annot
+l3build save -exetex annot
+l3build save -eluatex ap-names
+l3build save -epdftex ap-names
+l3build save -exetex ap-names
+l3build save -eluatex bdc-properties
+l3build save -epdftex bdc-properties
+l3build save -exetex bdc-properties
+l3build save -eluatex calculate-textfield
+l3build save -epdftex calculate-textfield
+l3build save -exetex calculate-textfield
+l3build save -eluatex catalogAF
+l3build save -epdftex catalogAF
+l3build save -exetex catalogAF
+l3build save -eluatex colorprofile-standard
+l3build save -epdftex colorprofile-standard
+l3build save -exetex colorprofile-standard
+l3build save -eluatex colorprofile1
+l3build save -epdftex colorprofile1
+l3build save -exetex colorprofile1
+l3build save -eluatex destination-options
+l3build save -epdftex destination-options
+l3build save -exetex destination-options
+l3build save -eluatex embedfile
+l3build save -epdftex embedfile
+l3build save -exetex embedfile
+l3build save -eluatex formfield-old
+l3build save -epdftex formfield-old
+l3build save -exetex formfield-old
+l3build save -eluatex formtextfields
+l3build save -epdftex formtextfields
+l3build save -exetex formtextfields
+l3build save -eluatex infodict-new
+l3build save -epdftex infodict-new
+l3build save -exetex infodict-new
+l3build save -eluatex infodict
+l3build save -epdftex infodict
+l3build save -exetex infodict
+l3build save -eluatex ismap
+l3build save -epdftex ismap
+l3build save -exetex ismap
+l3build save -eluatex linktoc
+l3build save -epdftex linktoc
+l3build save -exetex linktoc
 l3build save -eluatex metadata-new-no-hyperref
 l3build save -epdftex metadata-new-no-hyperref
 l3build save -exetex metadata-new-no-hyperref
-l3build save -eluatex metadata-new
-l3build save -epdftex metadata-new
-l3build save -exetex metadata-new
 l3build save -eluatex mixpageattr
 l3build save -epdftex mixpageattr
 l3build save -exetex mixpageattr
-l3build save -eluatex ocgcolorlinks
-l3build save -epdftex ocgcolorlinks
-l3build save -exetex ocgcolorlinks
 l3build save -eluatex ocproperties
 l3build save -epdftex ocproperties
 l3build save -exetex ocproperties
@@ -31,18 +76,9 @@ l3build save -exetex pagesattr
 l3build save -eluatex pdffilelink
 l3build save -epdftex pdffilelink
 l3build save -exetex pdffilelink
-l3build save -eluatex pdflscape
-l3build save -epdftex pdflscape
-l3build save -exetex pdflscape
-l3build save -eluatex pgfpatches
-l3build save -epdftex pgfpatches
-l3build save -exetex pgfpatches
 l3build save -eluatex radiobuttons
 l3build save -epdftex radiobuttons
 l3build save -exetex radiobuttons
-l3build save -eluatex stop-link
-l3build save -epdftex stop-link
-l3build save -exetex stop-link
 l3build save -eluatex tag-checkbox
 l3build save -epdftex tag-checkbox
 l3build save -exetex tag-checkbox
diff --git a/testfiles/active-colon.pvt b/testfiles/active-colon.pvt
index 4c9679f..5428e92 100644
--- a/testfiles/active-colon.pvt
+++ b/testfiles/active-colon.pvt
@@ -1,6 +1,8 @@
 \DocumentMetadata{}
 \input{regression-test}
-\documentclass[]{article}
+\documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage[french]{babel}
 \usepackage{hyperref}
 
diff --git a/testfiles/annot-dict.pvt b/testfiles/annot-dict.pvt
index 6747b74..58f09b1 100644
--- a/testfiles/annot-dict.pvt
+++ b/testfiles/annot-dict.pvt
@@ -1,10 +1,12 @@
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
-\ExplSyntaxOn
-\pdf_uncompress:
-\ExplSyntaxOff
+\stockheight   = 297mm
+\stockwidth    = 210mm
+
+
+
 \begin{document}
 \START
 % just to avoid to have to escape every space ...
diff --git a/testfiles/annot.pvt b/testfiles/annot.pvt
index faeefe0..2e023d6 100644
--- a/testfiles/annot.pvt
+++ b/testfiles/annot.pvt
@@ -1,10 +1,12 @@
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
-\ExplSyntaxOn
-\pdf_uncompress:
-\ExplSyntaxOff
+\stockheight   = 297mm
+\stockwidth    = 210mm
+
+
+
 \begin{document}
 \START
 % just to avoid to have to escape every space ...
diff --git a/testfiles/ap-names.pvt b/testfiles/ap-names.pvt
index c7b931c..ff5793b 100644
--- a/testfiles/ap-names.pvt
+++ b/testfiles/ap-names.pvt
@@ -1,7 +1,9 @@
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{l3pdffield-testphase}
 \begin{document}
 \START
diff --git a/testfiles/bdc-properties.pvt b/testfiles/bdc-properties.pvt
index 013af4f..8beaec5 100644
--- a/testfiles/bdc-properties.pvt
+++ b/testfiles/bdc-properties.pvt
@@ -4,6 +4,8 @@
 \input{regression-test}
 
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \begin{document}
 \ExplSyntaxOn
diff --git a/testfiles/calculate-textfield.pvt b/testfiles/calculate-textfield.pvt
index 19dde81..b625436 100644
--- a/testfiles/calculate-textfield.pvt
+++ b/testfiles/calculate-textfield.pvt
@@ -1,7 +1,9 @@
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{uncompress,pdfversion=2.0}
+
+\DocumentMetadata{pdfversion=2.0}
 \input{regression-test}
-\documentclass[]{article}
+\documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{l3pdffield-testphase}
 \begin{document}
 \ExplSyntaxOn
diff --git a/testfiles/catalogAF.pvt b/testfiles/catalogAF.pvt
index 765d2d3..ab0590e 100644
--- a/testfiles/catalogAF.pvt
+++ b/testfiles/catalogAF.pvt
@@ -4,10 +4,12 @@
  {
    pdfversion=2.0, %not so good with pdftex ...
    lang=de-DE,
-   uncompress
  }
+
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \ExplSyntaxOn
 %senseless values ...
 \pdf_object_new:n   {filespec1}
diff --git a/testfiles/checkbox.pvt b/testfiles/checkbox.pvt
index 25a6965..1f98ed4 100644
--- a/testfiles/checkbox.pvt
+++ b/testfiles/checkbox.pvt
@@ -1,6 +1,5 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata{uncompress}
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/colorprofile-standard.pvt b/testfiles/colorprofile-standard.pvt
index 3818cd3..00f40ab 100644
--- a/testfiles/colorprofile-standard.pvt
+++ b/testfiles/colorprofile-standard.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata
  {
    colorprofiles=
@@ -11,6 +11,8 @@
  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \begin{document}
 xxyyzzww
 \end{document} 
\ No newline at end of file
diff --git a/testfiles/colorprofile1.pvt b/testfiles/colorprofile1.pvt
index cc85b13..f27357a 100644
--- a/testfiles/colorprofile1.pvt
+++ b/testfiles/colorprofile1.pvt
@@ -1,5 +1,5 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 
 \DocumentMetadata
  {
@@ -11,6 +11,8 @@
  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \begin{document}
 xxyyzzww
 \end{document} 
\ No newline at end of file
diff --git a/testfiles/destination-options.pvt b/testfiles/destination-options.pvt
index 7d31946..1efdd86 100644
--- a/testfiles/destination-options.pvt
+++ b/testfiles/destination-options.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage[
 ]{hyperref}
 \hypersetup{pdfremotestartview={Fit},pdfstartview={FitR 0 0 \hypercalcbp{0.5\paperheight} \hypercalcbp{0.5\paperwidth}}}
diff --git a/testfiles/disable-links.pvt b/testfiles/disable-links.pvt
index e103ca8..56e48b1 100644
--- a/testfiles/disable-links.pvt
+++ b/testfiles/disable-links.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata {}
 \input{regression-test}
 
diff --git a/testfiles/embedfile.pvt b/testfiles/embedfile.pvt
index f04c953..b23b8f3 100644
--- a/testfiles/embedfile.pvt
+++ b/testfiles/embedfile.pvt
@@ -1,9 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata {pdfversion=1.6 }
 \input{regression-test}
 
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \usepackage{hyperref}
 \hypersetup{pdfpagemode=UseAttachments}
diff --git a/testfiles/formfield-old.pvt b/testfiles/formfield-old.pvt
index e80eb0d..26f1602 100644
--- a/testfiles/formfield-old.pvt
+++ b/testfiles/formfield-old.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{hyperref}
 \author{me}\title{title}
 \AtBeginDocument{\Form}
diff --git a/testfiles/formtextfields.pvt b/testfiles/formtextfields.pvt
index 84c272c..0d70a00 100644
--- a/testfiles/formtextfields.pvt
+++ b/testfiles/formtextfields.pvt
@@ -1,10 +1,12 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata {uncompress}
 \input{regression-test}
 
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{hyperref}
 
 \begin{document}
diff --git a/testfiles/infodict-new.pvt b/testfiles/infodict-new.pvt
index 94a32aa..c5adf8a 100644
--- a/testfiles/infodict-new.pvt
+++ b/testfiles/infodict-new.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata { pdfversion=1.7 }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{hyperref}
 
 \hypersetup{pdfsubject={🦆},pdfinfo={Title={grüße$\int=a$}, Author=blub, Xy Z=ups}}
diff --git a/testfiles/infodict.pvt b/testfiles/infodict.pvt
index 74a54c9..3622dbe 100644
--- a/testfiles/infodict.pvt
+++ b/testfiles/infodict.pvt
@@ -1,8 +1,9 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata { }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \ExplSyntaxOn
 \pdf_string_from_unicode:nnN {utf16/string}{Grüße}\l_tmpa_str
 \pdfmanagement_add:nnx {Info} {Title}{\l_tmpa_str}
diff --git a/testfiles/ismap.pvt b/testfiles/ismap.pvt
index 89fc05b..ca12b34 100644
--- a/testfiles/ismap.pvt
+++ b/testfiles/ismap.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata { }
 \input{regression-test}
-\documentclass{report}
+\documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{hyperref}
 
 \begin{document}
diff --git a/testfiles/linkbordercolor.pvt b/testfiles/linkbordercolor.pvt
index c8c6489..438f598 100644
--- a/testfiles/linkbordercolor.pvt
+++ b/testfiles/linkbordercolor.pvt
@@ -4,7 +4,6 @@
 % /S/GoTo/D(0)
 % large borders in xetex are imho not our fault ...
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata{uncompress}
 \input{regression-test}
 
diff --git a/testfiles/linkhook.pvt b/testfiles/linkhook.pvt
index bfa71f4..7429be9 100644
--- a/testfiles/linkhook.pvt
+++ b/testfiles/linkhook.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata
  {
    pdfversion=2.0, %
diff --git a/testfiles/linkmargin.pvt b/testfiles/linkmargin.pvt
index 91271b8..b25d069 100644
--- a/testfiles/linkmargin.pvt
+++ b/testfiles/linkmargin.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata { uncompress }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/linktoc.pvt b/testfiles/linktoc.pvt
index 8d10ce4..f98ea60 100644
--- a/testfiles/linktoc.pvt
+++ b/testfiles/linktoc.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{uncompress}
+
+\DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{hyperref}
 \begin{document}
 
diff --git a/testfiles/metadata-new-no-hyperref.pvt b/testfiles/metadata-new-no-hyperref.pvt
index e1a8ff8..b18b032 100644
--- a/testfiles/metadata-new-no-hyperref.pvt
+++ b/testfiles/metadata-new-no-hyperref.pvt
@@ -1,6 +1,8 @@
-\DocumentMetadata{uncompress,pdfstandard=a-2b}
+\DocumentMetadata{pdfstandard=a-2b}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \AddToDocumentProperties[hyperref]{pdfauthor}{Ulrike Fischer}
 \AddToDocumentProperties[hyperref]{pdftitle}{κάτι στα ελληνικά}
 \ExplSyntaxOn
diff --git a/testfiles/mixpageattr.pvt b/testfiles/mixpageattr.pvt
index 8c6b7e1..319ad03 100644
--- a/testfiles/mixpageattr.pvt
+++ b/testfiles/mixpageattr.pvt
@@ -3,6 +3,8 @@
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{fancyhdr,zref-user}
 \pagestyle{fancy}
 \ExplSyntaxOn \makeatletter
diff --git a/testfiles/ocgcolorlinks.pvt b/testfiles/ocgcolorlinks.pvt
index 43993be..fe1ef13 100644
--- a/testfiles/ocgcolorlinks.pvt
+++ b/testfiles/ocgcolorlinks.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
diff --git a/testfiles/ocproperties.pvt b/testfiles/ocproperties.pvt
index b919dc3..c5b228c 100644
--- a/testfiles/ocproperties.pvt
+++ b/testfiles/ocproperties.pvt
@@ -7,6 +7,8 @@
  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \ExplSyntaxOn
 %some senseless additions to test the commands
 \pdf_object_new:n {ocg1}
diff --git a/testfiles/pageattr.pvt b/testfiles/pageattr.pvt
index 11f7d0c..7a64032 100644
--- a/testfiles/pageattr.pvt
+++ b/testfiles/pageattr.pvt
@@ -1,8 +1,9 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata { }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \begin{document}
 \START
 some text
diff --git a/testfiles/pagelabels.pvt b/testfiles/pagelabels.pvt
index 94f3072..f07e015 100644
--- a/testfiles/pagelabels.pvt
+++ b/testfiles/pagelabels.pvt
@@ -1,8 +1,9 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \ExplSyntaxOn
 \sys_if_engine_pdftex:T {\usepackage[LGR]{fontenc}}
 \ExplSyntaxOff
diff --git a/testfiles/pagesattr.pvt b/testfiles/pagesattr.pvt
index c569850..4dd9a58 100644
--- a/testfiles/pagesattr.pvt
+++ b/testfiles/pagesattr.pvt
@@ -1,8 +1,9 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \begin{document}
 \START
 some text
diff --git a/testfiles/pdffilelink.pvt b/testfiles/pdffilelink.pvt
index b70bee7..1f98b6e 100644
--- a/testfiles/pdffilelink.pvt
+++ b/testfiles/pdffilelink.pvt
@@ -1,9 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
 \DocumentMetadata {  }
 \input{regression-test}
 
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \ExplSyntaxOn
 \pdf_uncompress:
diff --git a/testfiles/pdflscape.pvt b/testfiles/pdflscape.pvt
index 5c7c1aa..a554345 100644
--- a/testfiles/pdflscape.pvt
+++ b/testfiles/pdflscape.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata {pdfversion=1.7  }
 \input{regression-test}
 
diff --git a/testfiles/pgfpatches.pvt b/testfiles/pgfpatches.pvt
index b648163..2f25c57 100644
--- a/testfiles/pgfpatches.pvt
+++ b/testfiles/pgfpatches.pvt
@@ -1,5 +1,4 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
 \DocumentMetadata {  }
 \input{regression-test}
 
diff --git a/testfiles/radiobuttons.pvt b/testfiles/radiobuttons.pvt
index a21dc27..41b406d 100644
--- a/testfiles/radiobuttons.pvt
+++ b/testfiles/radiobuttons.pvt
@@ -3,6 +3,8 @@
 \DocumentMetadata{}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \usepackage{l3pdffield-testphase}
 
diff --git a/testfiles/tag-checkbox.pvt b/testfiles/tag-checkbox.pvt
index d19c436..94ce16f 100644
--- a/testfiles/tag-checkbox.pvt
+++ b/testfiles/tag-checkbox.pvt
@@ -1,9 +1,11 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{uncompress}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \usepackage{tagpdf}
 \usepackage{l3pdffield-testphase}
diff --git a/testfiles/textfield.pvt b/testfiles/textfield.pvt
index aed8bba..33ea195 100644
--- a/testfiles/textfield.pvt
+++ b/testfiles/textfield.pvt
@@ -1,9 +1,11 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata{uncompress}
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 
 \usepackage{l3pdffield-testphase}
 
diff --git a/testfiles/thispageattr.pvt b/testfiles/thispageattr.pvt
index 99f063c..b57a863 100644
--- a/testfiles/thispageattr.pvt
+++ b/testfiles/thispageattr.pvt
@@ -3,10 +3,10 @@
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{zref-user}
-\ExplSyntaxOn
-\pdf_uncompress:
-\ExplSyntaxOff
+
 \makeatletter
 \def\myrotate#1{\ifodd\zref at extractdefault{#1}{page}{0} -90\else 90 \fi}
 \makeatother
diff --git a/testfiles/transition.pvt b/testfiles/transition.pvt
index 92974b7..15f355c 100644
--- a/testfiles/transition.pvt
+++ b/testfiles/transition.pvt
@@ -1,9 +1,12 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage{pdfmanagement-testphase}
+
 \DocumentMetadata {pdfversion=1.7  }
 \input{regression-test}
 
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
+
 \usepackage{kantlipsum}
 \usepackage{hyperref}
 
diff --git a/testfiles/viewerpreferences.pvt b/testfiles/viewerpreferences.pvt
index 0172eab..0ad6a3a 100644
--- a/testfiles/viewerpreferences.pvt
+++ b/testfiles/viewerpreferences.pvt
@@ -7,6 +7,8 @@
  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage[]{hyperref}
 \hypersetup{pdfpagelayout=SinglePage,pdftoolbar=false,
             pdfnonfullscreenpagemode=UseNone,
diff --git a/testfiles/xform-appearance.pvt b/testfiles/xform-appearance.pvt
index 1920b4a..8278b0c 100644
--- a/testfiles/xform-appearance.pvt
+++ b/testfiles/xform-appearance.pvt
@@ -1,9 +1,11 @@
 % !Mode:: "TeX:DE:UTF-8:Main"
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \usepackage{l3pdffield-testphase}
 \begin{document}
 \START
diff --git a/testfiles/xform-preamble.pvt b/testfiles/xform-preamble.pvt
index 2a6009e..1c67d62 100644
--- a/testfiles/xform-preamble.pvt
+++ b/testfiles/xform-preamble.pvt
@@ -1,8 +1,10 @@
 \PassOptionsToPackage{enable-debug,check-declarations}{expl3}
-\RequirePackage[debug]{pdfmanagement-testphase}
+
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \ExplSyntaxOn
 \pdfxform_new:nnn  {myxformA}{/yyy~(bla)}{yyyyy}
 \ExplSyntaxOff
diff --git a/testfiles/xform.pvt b/testfiles/xform.pvt
index 768d6b3..378e0a0 100644
--- a/testfiles/xform.pvt
+++ b/testfiles/xform.pvt
@@ -4,6 +4,8 @@
 \DocumentMetadata {  }
 \input{regression-test}
 \documentclass{article}
+\stockheight   = 297mm
+\stockwidth    = 210mm
 \begin{document}
 \START
 text





More information about the latex3-commits mailing list.