[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: adapt test to new firstaid (4a435bd)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Feb 10 17:06:47 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/4a435bd4e32c9a8b6d3379f190b160bf9edcdcd0

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

commit 4a435bd4e32c9a8b6d3379f190b160bf9edcdcd0
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Feb 10 17:06:47 2021 +0100

    adapt test to new firstaid


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

4a435bd4e32c9a8b6d3379f190b160bf9edcdcd0
 pdfmanagement-firstaid.dtx                     |  1 +
 testfiles-noxetex/extgstate-patches.pdftex.tpf | 41 ++++++++++++-----------
 testfiles-noxetex/extgstate-patches.pvt        |  8 ++---
 testfiles-noxetex/extgstate-patches.tpf        | 46 ++++++++++++++------------
 4 files changed, 50 insertions(+), 46 deletions(-)

diff --git a/pdfmanagement-firstaid.dtx b/pdfmanagement-firstaid.dtx
index adc5bd4..d4288ca 100644
--- a/pdfmanagement-firstaid.dtx
+++ b/pdfmanagement-firstaid.dtx
@@ -197,6 +197,7 @@
 % as colorspace uses temporary macros whose contents is lost.
 %    \begin{macrocode}
 %<*package>
+%<@@=pdf>
 % this must be earlier, to avoid problems with luatex which has two pageresources
 % lua/tex
 \hook_gput_code:nnn {begindocument} {pdf}
diff --git a/testfiles-noxetex/extgstate-patches.pdftex.tpf b/testfiles-noxetex/extgstate-patches.pdftex.tpf
index 42bf433..17d066f 100644
--- a/testfiles-noxetex/extgstate-patches.pdftex.tpf
+++ b/testfiles-noxetex/extgstate-patches.pdftex.tpf
@@ -22,17 +22,19 @@ endobj
 << /Type/ExtGState /op true /OP true /OPM 1 >>
 endobj
 1 0 obj
-<< /TRP1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4 << /CA 0.4 >> /pgf at ca0.4 << /ca 0.4 >> /TRP0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
+<< /opacity1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4 << /CA 0.4 >> /pgf at ca0.4 << /ca 0.4 >> /opacity0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
 endobj
 2 0 obj
 << /pgfprgb [/Pattern /DeviceRGB]  >>
 endobj
 14 0 obj
 <<
-/Length 431       
+/Length 469       
 >>
 stream
-/TRP1 gs
+/opacity1 gs
+/opacity1 gs
+/opacity1 gs
 /SPCop gs 
 0 g 0 G
 0 g 0 G
@@ -63,9 +65,9 @@ Q
 1 0 0 1 -148.712 -638.852 cm
 BT
 /F19 9.9626 Tf 148.712 626.896 Td [(ab)-28(c)]TJ
-/TRP0.6 gs
+/opacity0.6 gs
  [(XXXXXXXXXX)]TJ
-/TRP1 gs
+/opacity1 gs
 0 g 0 G
  154.421 -537.531 Td [(1)]TJ
 0 g 0 G
@@ -142,8 +144,7 @@ endobj
 endobj
 21 0 obj
 <<
-/Producer (pdfTeX)
-/Creator (TeX)
+/Creator (TeX)/Producer (pdfTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00')
 /Trapped /False
 >>
 endobj
@@ -151,7 +152,7 @@ xref
 0 22
 0000000003 65535 f 
 0000000442 00000 n 
-0000000635 00000 n 
+0000000643 00000 n 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000015 00000 n 
@@ -161,21 +162,21 @@ xref
 0000000259 00000 n 
 0000000316 00000 n 
 0000000379 00000 n 
-0000001286 00000 n 
-0000001178 00000 n 
-0000000688 00000 n 
-0000011582 00000 n 
-0000011721 00000 n 
-0000001392 00000 n 
-0000001677 00000 n 
-0000011355 00000 n 
-0000011780 00000 n 
-0000011831 00000 n 
+0000001332 00000 n 
+0000001224 00000 n 
+0000000696 00000 n 
+0000011628 00000 n 
+0000011767 00000 n 
+0000001438 00000 n 
+0000001723 00000 n 
+0000011401 00000 n 
+0000011826 00000 n 
+0000011877 00000 n 
 trailer
 << /Size 22
 /Root 20 0 R
 /Info 21 0 R
- >>
+/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-11903
+12021
 %%EOF
diff --git a/testfiles-noxetex/extgstate-patches.pvt b/testfiles-noxetex/extgstate-patches.pvt
index 89259bd..2c98f16 100644
--- a/testfiles-noxetex/extgstate-patches.pvt
+++ b/testfiles-noxetex/extgstate-patches.pvt
@@ -4,13 +4,13 @@
 % work with transparent and colorspace anyway ...
 % the patches looks ok, there are a few duplicates in the object
 % but nothing harmful
-\RequirePackage[enable-debug,check-declarations]{expl3}
-\RequirePackage[patches]{pdfmanagement}
+\PassOptionsToPackage{enable-debug,check-declarations}{expl3}
+\RequirePackage{pdfmanagement}
 \DeclareDocumentMetadata {  }
-\input{regression-test}
+\RequirePackage{pdfmanagement-regressiontest}
 \documentclass{article}
 
-\usepackage{tikz,new-transparent}
+\usepackage{tikz,transparent}
 \usetikzlibrary{patterns,shadings}
 \usepackage[overprint]{colorspace}
 
diff --git a/testfiles-noxetex/extgstate-patches.tpf b/testfiles-noxetex/extgstate-patches.tpf
index 70bcee6..d6e9278 100644
--- a/testfiles-noxetex/extgstate-patches.tpf
+++ b/testfiles-noxetex/extgstate-patches.tpf
@@ -22,15 +22,17 @@ endobj
 << /Type/ExtGState /op true /OP true /OPM 1 >>
 endobj
 1 0 obj
-<< /TRP1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4 << /CA 0.4 >> /pgf at ca0.4 << /ca 0.4 >> /TRP0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
+<< /opacity1 <</ca 1/CA 1>> /SPCko 9 0 R /SPCmz 10 0 R /SPCop 11 0 R /pgf at CA0.4 << /CA 0.4 >> /pgf at ca0.4 << /ca 0.4 >> /opacity0.6 <</ca 0.6/CA 0.6>> /bearopacity <</ca 0.7/CA 0.7>>  >>
 endobj
 2 0 obj
 << /pgfprgb [/Pattern /DeviceRGB]  >>
 endobj
 14 0 obj
-<< /Length 513 >>        
+<< /Length 551 >>        
 stream
-/TRP1 gs
+/opacity1 gs
+/opacity1 gs
+/opacity1 gs
 /SPCop gs 
 0 g 0 G
 0 g 0 G
@@ -62,9 +64,9 @@ Q
 BT
 /F23 9.96264 Tf
 1 0 0 1 148.712 626.896 Tm [<001C0023>-28<002B>]TJ
-/TRP0.6 gs
+/opacity0.6 gs
 1 0 0 1 163.935 626.896 Tm [<0073007300730073007300730073007300730073>]TJ
-/TRP1 gs
+/opacity1 gs
 0 g 0 G
 1 0 0 1 303.133 89.365 Tm [<0052>]TJ
 0 g 0 G
@@ -144,13 +146,13 @@ endobj
 << /Type /Catalog /Pages 16 0 R >>
 endobj
 24 0 obj
-<< /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
+<< /Creator (TeX)/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
 endobj
 xref
 0 25
 0000000003 65535 f 
 0000000447 00000 n 
-0000000640 00000 n 
+0000000648 00000 n 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000020 00000 n 
@@ -160,21 +162,21 @@ xref
 0000000264 00000 n 
 0000000321 00000 n 
 0000000384 00000 n 
-0000001376 00000 n 
-0000001266 00000 n 
-0000000693 00000 n 
-0000003897 00000 n 
-0000004251 00000 n 
-0000001480 00000 n 
-0000002853 00000 n 
-0000001556 00000 n 
-0000001631 00000 n 
-0000003089 00000 n 
-0000004051 00000 n 
-0000004313 00000 n 
-0000004364 00000 n 
+0000001422 00000 n 
+0000001312 00000 n 
+0000000701 00000 n 
+0000003943 00000 n 
+0000004297 00000 n 
+0000001526 00000 n 
+0000002899 00000 n 
+0000001602 00000 n 
+0000001677 00000 n 
+0000003135 00000 n 
+0000004097 00000 n 
+0000004359 00000 n 
+0000004410 00000 n 
 trailer
-<< /Size 25 /Root 23 0 R /Info 24 0 R >>
+<< /Size 25 /Root 23 0 R /Info 24 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-4436
+4554
 %%EOF





More information about the latex3-commits mailing list.