[latex3-commits] [latex3/tagpdf] changetagstop: correct test (disable deprecation test for now) (1db5b4a)

github at latex-project.org github at latex-project.org
Thu Dec 7 20:05:27 CET 2023


Repository : https://github.com/latex3/tagpdf
On branch  : changetagstop
Link       : https://github.com/latex3/tagpdf/commit/1db5b4a9aa04ec85237a8c2cfa3c63d3e852f74b

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

commit 1db5b4a9aa04ec85237a8c2cfa3c63d3e852f74b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Dec 7 20:05:27 2023 +0100

    correct test (disable deprecation test for now)


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

1db5b4a9aa04ec85237a8c2cfa3c63d3e852f74b
 testfiles/test-local-inactive-mc.luatex.tpf | 51 ++++++++++++++++-------------
 testfiles/test-local-inactive-mc.pvt        |  6 ++--
 testfiles/test-local-inactive-mc.tpf        | 47 +++++++++++++++-----------
 3 files changed, 60 insertions(+), 44 deletions(-)

diff --git a/testfiles/test-local-inactive-mc.luatex.tpf b/testfiles/test-local-inactive-mc.luatex.tpf
index eadc0f6..7a7f15d 100644
--- a/testfiles/test-local-inactive-mc.luatex.tpf
+++ b/testfiles/test-local-inactive-mc.luatex.tpf
@@ -1,7 +1,7 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
 12 0 obj
-<< /Length 261 >>        
+<< /Length 319 >>        
 stream
 /opacity1 gs
 /Artifact BMC
@@ -16,9 +16,16 @@ EMC
 BT
 /F15 9.96264 Tf
 1 0 0 1 163.935 707.125 Tm [<001C0023>-28<002B>]TJ
+ET
+EMC
+/Artifact BMC
+BT
+/F15 9.96264 Tf
 1 0 0 1 303.133 139.255 Tm [<0052>]TJ
 ET
 EMC
+/Artifact BMC
+EMC
 endstream
 endobj
 11 0 obj
@@ -123,33 +130,33 @@ endobj
 xref
 0 26
 0000000002 65535 f 
-0000000570 00000 n 
+0000000628 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000008 00000 f 
-0000001492 00000 n 
-0000000653 00000 n 
-0000000801 00000 n 
+0000001550 00000 n 
+0000000711 00000 n 
+0000000859 00000 n 
 0000000000 00000 f 
-0000001380 00000 n 
-0000000483 00000 n 
-0000000341 00000 n 
+0000001438 00000 n 
+0000000541 00000 n 
+0000000399 00000 n 
 0000000020 00000 n 
-0000003797 00000 n 
-0000004151 00000 n 
-0000000617 00000 n 
-0000000693 00000 n 
-0000000764 00000 n 
-0000001593 00000 n 
-0000002767 00000 n 
-0000001657 00000 n 
-0000001728 00000 n 
-0000003003 00000 n 
-0000003951 00000 n 
-0000004213 00000 n 
-0000004315 00000 n 
+0000003855 00000 n 
+0000004209 00000 n 
+0000000675 00000 n 
+0000000751 00000 n 
+0000000822 00000 n 
+0000001651 00000 n 
+0000002825 00000 n 
+0000001715 00000 n 
+0000001786 00000 n 
+0000003061 00000 n 
+0000004009 00000 n 
+0000004271 00000 n 
+0000004373 00000 n 
 trailer
 << /Size 26 /Root 24 0 R /Info 25 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
 startxref
-4449
+4507
 %%EOF
diff --git a/testfiles/test-local-inactive-mc.pvt b/testfiles/test-local-inactive-mc.pvt
index 46d0441..fcc1f24 100644
--- a/testfiles/test-local-inactive-mc.pvt
+++ b/testfiles/test-local-inactive-mc.pvt
@@ -1,5 +1,5 @@
 \ExplSyntaxOn
-\debug_on:n { check-declarations , deprecation }
+%\debug_on:n { check-declarations , deprecation }
 \msg_redirect_module:nnn { pdf } { none } { warning }
 \ExplSyntaxOff
 \DocumentMetadata{xmp=false}
@@ -18,12 +18,14 @@
 \begin{document}
 
 \ExplSyntaxOn
+\begingroup
 \tagmcbegin{tag=XXX}abc\tagmcend
 
+%do not do this over pagebreaks! Use the proper \tagstop which changes both booleans!
 \bool_set_false:N \l__tag_active_mc_bool
 
 \tagmcbegin{tag=XXX}abc\tagmcend
-
+\endgroup
 \ExplSyntaxOff
 
 \end{document} 
diff --git a/testfiles/test-local-inactive-mc.tpf b/testfiles/test-local-inactive-mc.tpf
index cb9b507..43f598c 100644
--- a/testfiles/test-local-inactive-mc.tpf
+++ b/testfiles/test-local-inactive-mc.tpf
@@ -2,18 +2,25 @@
 %ÐÔÅØ
 12 0 obj
 <<
-/Length 174       
+/Length 233       
 >>
 stream
 /opacity1 gs
+/Artifact BMC
+EMC
 /XXX <</MCID 0 >> BDC
 BT
 /F28 9.9626 Tf 148.712 707.125 Td [(ab)-28(c)]TJ
 ET
 EMC
 BT
-/F28 9.9626 Tf 163.933 707.125 Td [(ab)-28(c)]TJ 139.2 -567.87 Td [(1)]TJ
+/F28 9.9626 Tf 163.933 707.125 Td [(ab)-28(c)]TJ
+ET
+/Artifact BMC
+BT
+/F28 9.9626 Tf 303.133 139.255 Td [(1)]TJ
 ET
+EMC
 endstream
 endobj
 10 0 obj
@@ -245,34 +252,34 @@ endobj
 xref
 0 24
 0000000002 65535 f 
-0000000478 00000 n 
+0000000537 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000008 00000 f 
-0000001400 00000 n 
-0000000561 00000 n 
-0000000711 00000 n 
+0000001459 00000 n 
+0000000620 00000 n 
+0000000770 00000 n 
 0000000000 00000 f 
-0000001290 00000 n 
-0000000248 00000 n 
-0000000390 00000 n 
+0000001349 00000 n 
+0000000307 00000 n 
+0000000449 00000 n 
 0000000015 00000 n 
-0000013100 00000 n 
-0000013257 00000 n 
-0000000525 00000 n 
-0000000603 00000 n 
-0000000674 00000 n 
-0000001501 00000 n 
-0000001786 00000 n 
-0000011092 00000 n 
-0000011317 00000 n 
+0000013159 00000 n 
 0000013316 00000 n 
-0000013418 00000 n 
+0000000584 00000 n 
+0000000662 00000 n 
+0000000733 00000 n 
+0000001560 00000 n 
+0000001845 00000 n 
+0000011151 00000 n 
+0000011376 00000 n 
+0000013375 00000 n 
+0000013477 00000 n 
 trailer
 << /Size 24
 /Root 22 0 R
 /Info 23 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-13552
+13611
 %%EOF





More information about the latex3-commits mailing list.