[latex3-commits] [git/LaTeX3-latex3-pdfresources] main: update test, new regression (7cbd99a)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Feb 12 22:55:27 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : main
Link       : https://github.com/latex3/pdfresources/commit/7cbd99a74bda0b718421dfe9d4d6fae6534c84d6

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

commit 7cbd99a74bda0b718421dfe9d4d6fae6534c84d6
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Feb 12 22:55:27 2021 +0100

    update test, new regression


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

7cbd99a74bda0b718421dfe9d4d6fae6534c84d6
 testfiles/text-convert.luatex.tlg | 15 +++++++++++++++
 testfiles/text-convert.lvt        |  7 +++++--
 testfiles/text-convert.tlg        | 11 +++++++++++
 testfiles/text-convert.xetex.tlg  | 26 +++++++++++++++++++++++++-
 testfiles/thispageattr.pvt        |  5 +++--
 5 files changed, 59 insertions(+), 5 deletions(-)

diff --git a/testfiles/text-convert.luatex.tlg b/testfiles/text-convert.luatex.tlg
index bf64b4a..f069b92 100644
--- a/testfiles/text-convert.luatex.tlg
+++ b/testfiles/text-convert.luatex.tlg
@@ -17,6 +17,15 @@ l. ...\show\x
 l. ...\show\x
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0, direction TLT
+.\hbox(0.0+0.0)x0.0, direction TLT
+..\kern-72.26999
+..\vbox(0.0+0.0)x0.0, glue set 72.26999fil, direction TLT
+...\kern-72.26999
+...\hbox(0.0+0.0)x0.0, direction TLT
+....\latelua0{ltx.__pdf.backend_ThisPage_gpush(tex.count["g_shipout_readonly_in
+t"])}
+....\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT
@@ -25,6 +34,8 @@ Completed box being shipped out [1]
 ..\glue 25.0
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 539.94232fil, direction TLT
+...\latelua0{ltx.__pdf.Page.Resources.ExtGState=true}
+...\latelua0{ltx.pdf.Page_Resources_gpush(tex.count["g_shipout_readonly_int"])}
 ...\write-{}
 ...\glue(\topskip) 2.5
 ...\hbox(7.5+2.5)x345.0, glue set 225.82fil, direction TLT
@@ -71,4 +82,8 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/lmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
+.\kern0.0
+.\kern-633.0
+.\hbox(0.0+0.0)x0.0, direction TLT
+.\kern633.0
 (text-convert.aux)
diff --git a/testfiles/text-convert.lvt b/testfiles/text-convert.lvt
index dd3c95a..946d2d0 100644
--- a/testfiles/text-convert.lvt
+++ b/testfiles/text-convert.lvt
@@ -1,11 +1,14 @@
-\input{regression-test}
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage[debug]{pdfmanagement}
+\DeclareDocumentMetadata {  }
+\RequirePackage{pdfmanagement-regressiontest}
 \documentclass{article}
 
 \usepackage{l3pdftools}
 
 \begin{document}
 \START \showoutput
-\ExplSyntaxOn
+\ExplSyntaxOn \providecommand\x{}
 \pdf_text_convert:nn{name}{abc/abc}
 \pdf_text_convert:nn{name-print}{abc/abc}
 \pdf_text_convert:nnN{name-print}{abc/abc}\x
diff --git a/testfiles/text-convert.tlg b/testfiles/text-convert.tlg
index e3bfb70..bcce3f8 100644
--- a/testfiles/text-convert.tlg
+++ b/testfiles/text-convert.tlg
@@ -17,6 +17,13 @@ l. ...\show\x
 l. ...\show\x
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
+..\kern -72.26999
+..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
+...\kern -72.26999
+...\hbox(0.0+0.0)x0.0
+....\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil
@@ -66,4 +73,8 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\OT1/cmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
+.\kern 0.0
+.\kern -633.0
+.\hbox(0.0+0.0)x0.0
+.\kern 633.0
 (text-convert.aux)
diff --git a/testfiles/text-convert.xetex.tlg b/testfiles/text-convert.xetex.tlg
index d5981c4..1aa5876 100644
--- a/testfiles/text-convert.xetex.tlg
+++ b/testfiles/text-convert.xetex.tlg
@@ -18,7 +18,21 @@ l. ...\show\x
 Completed box being shipped out [1]
 \vbox(633.0+0.0)x407.0
 .\hbox(0.0+0.0)x0.0
-..\special{pdfcolorstackinit 1 page direct (0 g 0 G)}
+..\special{pdf:obj @pdf.obj1 <<  >>}
+..\special{pdf:obj @pdf.obj2 <<  >>}
+..\special{pdf:obj @pdf.obj3 <<  >>}
+..\special{pdf:obj @pdf.obj4 <<  >>}
+..\special{pdfcolorstackinit 2 page direct (0 g 0 G)}
+..\special{pdfcolorstackinit 2 page direct (/opacity1 gs)}
+.\hbox(0.0+0.0)x0.0
+..\kern -72.26999
+..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
+...\kern -72.26999
+...\hbox(0.0+0.0)x0.0
+....\special{pdf: put @thispage <<>>}
+....\special{pdf:put @resources <</ExtGState @pdf.obj1>>}
+....\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
 .\glue 16.0
 .\vbox(617.0+0.0)x345.0, shifted 62.0
 ..\vbox(12.0+0.0)x345.0, glue set 12.0fil
@@ -27,6 +41,7 @@ Completed box being shipped out [1]
 ..\glue 25.0
 ..\glue(\lineskip) 0.0
 ..\vbox(550.0+0.0)x345.0, glue set 539.94232fil
+...\special{pdf:put @pdf.obj1<</opacity1 <</ca 1/CA 1>>>>}
 ...\write-{}
 ...\glue(\topskip) 2.5
 ...\hbox(7.5+2.49998)x345.0, glue set 225.81999fil
@@ -45,4 +60,13 @@ Completed box being shipped out [1]
 ...\TU/lmr/m/n/10 1
 ...\glue 0.0 plus 1.0fil
 .\kern 0.0
+.\kern 0.0
+.\kern -633.0
+.\hbox(0.0+0.0)x0.0
+..\special{pdf:put @pages <<>>}
+..\special{pdf:docinfo<</Creator (TeX)>>}
+..\special{pdf:docinfo<</Producer (xetex)>>}
+..\special{pdf:docinfo<</CreationDate (D:20010101194934+01'00')>>}
+..\special{pdf:docinfo<</ModDate (D:20010101205959-00'00')>>}
+.\kern 633.0
 (text-convert.aux)
diff --git a/testfiles/thispageattr.pvt b/testfiles/thispageattr.pvt
index 2c73483..279dbac 100644
--- a/testfiles/thispageattr.pvt
+++ b/testfiles/thispageattr.pvt
@@ -1,6 +1,7 @@
-\input{regression-test}
-\RequirePackage{pdfmanagement}
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage[debug]{pdfmanagement}
 \DeclareDocumentMetadata {  }
+\RequirePackage{pdfmanagement-regressiontest}
 \documentclass{article}
 \usepackage{zref-user}
 \ExplSyntaxOn





More information about the latex3-commits mailing list.