[latex3-commits] [latex3/pdfresources] develop: Update tests to new tagpdf (dadcaef)

github at latex-project.org github at latex-project.org
Thu Mar 28 13:56:48 CET 2024


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

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

commit dadcaef26f36868d4dcba6f61ca99cc15fb422d7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Mar 28 13:56:48 2024 +0100

    Update tests to new tagpdf


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

dadcaef26f36868d4dcba6f61ca99cc15fb422d7
 testfiles-luatex/structure-destination.tpf | 16 ++++++++--------
 testfiles-pdftex/structure-destination.tpf | 16 ++++++++--------
 testfiles-xetex/structure-destination.tpf  | 30 +++++++++++++++---------------
 testfiles/tag-checkbox.luatex.tpf          |  2 +-
 testfiles/tag-checkbox.tpf                 |  2 +-
 testfiles/tag-checkbox.xetex.tpf           |  2 +-
 6 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/testfiles-luatex/structure-destination.tpf b/testfiles-luatex/structure-destination.tpf
index 907c1b7..730975e 100644
--- a/testfiles-luatex/structure-destination.tpf
+++ b/testfiles-luatex/structure-destination.tpf
@@ -351,28 +351,28 @@ endobj
 [ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R  ]
 endobj
 22 0 obj
-<<  /Type /StructElem /S /Document /P 5 0 R /K [23 0 R 25 0 R 26 0 R] /NS 11 0 R  /ID (ID.01) >>
+<<  /Type /StructElem /S /Document /NS 11 0 R  /P 5 0 R /K [23 0 R 25 0 R 26 0 R] /ID (ID.01) >>
 endobj
 23 0 obj
-<<  /Type /StructElem /S /text-unit /P 22 0 R /K 24 0 R /NS 15 0 R  /ID (ID.02) >>
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 22 0 R /K 24 0 R /ID (ID.02) >>
 endobj
 24 0 obj
-<<  /Type /StructElem /S /text /P 23 0 R /K <</Type /MCR /Pg 21 0 R /MCID 0>>  /NS 15 0 R  /ID (ID.03) >>
+<<  /Type /StructElem /S /text /NS 15 0 R  /P 23 0 R /K <</Type /MCR /Pg 21 0 R /MCID 0>>  /ID (ID.03) >>
 endobj
 25 0 obj
-<<  /Type /StructElem /S /H1 /P 22 0 R /K <</Type /MCR /Pg 21 0 R /MCID 1>>  /NS 11 0 R  /ID (ID.04) >>
+<<  /Type /StructElem /S /H1 /NS 11 0 R  /P 22 0 R /K <</Type /MCR /Pg 21 0 R /MCID 1>>  /ID (ID.04) >>
 endobj
 26 0 obj
-<<  /Type /StructElem /S /text-unit /P 22 0 R /K 27 0 R /NS 15 0 R  /ID (ID.05) >>
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 22 0 R /K 27 0 R /ID (ID.05) >>
 endobj
 27 0 obj
-<<  /Type /StructElem /S /text /P 26 0 R /K [<</Type /MCR /Pg 21 0 R /MCID 2>>  28 0 R ] /NS 15 0 R  /ID (ID.06) >>
+<<  /Type /StructElem /S /text /NS 15 0 R  /P 26 0 R /K [<</Type /MCR /Pg 21 0 R /MCID 2>>  28 0 R ] /ID (ID.06) >>
 endobj
 28 0 obj
-<<  /Type /StructElem /S /Link /P 27 0 R /K [<</Type /MCR /Pg 21 0 R /MCID 3>>  30 0 R] /NS 11 0 R  /ID (ID.07) >>
+<<  /Type /StructElem /S /Link /NS 11 0 R  /P 27 0 R /K [<</Type /MCR /Pg 21 0 R /MCID 3>>  30 0 R] /ID (ID.07) >>
 endobj
 5 0 obj
-<<  /Type /StructTreeRoot /K 22 0 R /IDTree 45 0 R /ParentTree 6 0 R /RoleMap 7 0 R /Namespaces 8 0 R >>
+<<  /Type /StructTreeRoot /Namespaces 8 0 R /IDTree 45 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 22 0 R >>
 endobj
 46 0 obj
 [ 28 [ 500 ] 35 [ 556 ] 43 [ 444 ] 50 [ 444 ] 66 [ 278 ] 75 [ 833 ] 77 [ 556 ] 81 [ 500 500 ] 98 [ 394 ] 103 [ 333 ] 105 [ 389 ] 116 [ 528 ] ]
diff --git a/testfiles-pdftex/structure-destination.tpf b/testfiles-pdftex/structure-destination.tpf
index 8c509b0..63f7594 100644
--- a/testfiles-pdftex/structure-destination.tpf
+++ b/testfiles-pdftex/structure-destination.tpf
@@ -369,28 +369,28 @@ endobj
 [ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R  ]
 endobj
 22 0 obj
-<<  /Type /StructElem /S /Document /P 5 0 R /K [23 0 R 25 0 R 26 0 R] /NS 11 0 R  /ID (ID.01) >>
+<<  /Type /StructElem /S /Document /NS 11 0 R  /P 5 0 R /K [23 0 R 25 0 R 26 0 R] /ID (ID.01) >>
 endobj
 23 0 obj
-<<  /Type /StructElem /S /text-unit /P 22 0 R /K 24 0 R /NS 15 0 R  /ID (ID.02) >>
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 22 0 R /K 24 0 R /ID (ID.02) >>
 endobj
 24 0 obj
-<<  /Type /StructElem /S /text /P 23 0 R /K <</Type /MCR /Pg 21 0 R/MCID 0>> /NS 15 0 R  /ID (ID.03) >>
+<<  /Type /StructElem /S /text /NS 15 0 R  /P 23 0 R /K <</Type /MCR /Pg 21 0 R/MCID 0>> /ID (ID.03) >>
 endobj
 25 0 obj
-<<  /Type /StructElem /S /H1 /P 22 0 R /K <</Type /MCR /Pg 21 0 R/MCID 1>> /NS 11 0 R  /ID (ID.04) >>
+<<  /Type /StructElem /S /H1 /NS 11 0 R  /P 22 0 R /K <</Type /MCR /Pg 21 0 R/MCID 1>> /ID (ID.04) >>
 endobj
 26 0 obj
-<<  /Type /StructElem /S /text-unit /P 22 0 R /K 27 0 R /NS 15 0 R  /ID (ID.05) >>
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 22 0 R /K 27 0 R /ID (ID.05) >>
 endobj
 27 0 obj
-<<  /Type /StructElem /S /text /P 26 0 R /K [<</Type /MCR /Pg 21 0 R/MCID 2>> 28 0 R <</Type /MCR /Pg 21 0 R/MCID 4>>] /NS 15 0 R  /ID (ID.06) >>
+<<  /Type /StructElem /S /text /NS 15 0 R  /P 26 0 R /K [<</Type /MCR /Pg 21 0 R/MCID 2>> 28 0 R <</Type /MCR /Pg 21 0 R/MCID 4>>] /ID (ID.06) >>
 endobj
 28 0 obj
-<<  /Type /StructElem /S /Link /P 27 0 R /K [<</Type /MCR /Pg 21 0 R/MCID 3>> 30 0 R] /NS 11 0 R  /ID (ID.07) >>
+<<  /Type /StructElem /S /Link /NS 11 0 R  /P 27 0 R /K [<</Type /MCR /Pg 21 0 R/MCID 3>> 30 0 R] /ID (ID.07) >>
 endobj
 5 0 obj
-<<  /Type /StructTreeRoot /K 22 0 R /IDTree 45 0 R /ParentTree 6 0 R /RoleMap 7 0 R /Namespaces 8 0 R >>
+<<  /Type /StructTreeRoot /Namespaces 8 0 R /IDTree 45 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 22 0 R >>
 endobj
 46 0 obj
 [334.2]
diff --git a/testfiles-xetex/structure-destination.tpf b/testfiles-xetex/structure-destination.tpf
index b7e7b2b..9e810e3 100644
--- a/testfiles-xetex/structure-destination.tpf
+++ b/testfiles-xetex/structure-destination.tpf
@@ -21,16 +21,16 @@ endobj
 <</opacity1<</ca 1/CA 1>>>>
 endobj
 25 0 obj
-<</Type/StructTreeRoot/K 5 0 R/IDTree 27 0 R/ParentTree 28 0 R/RoleMap 29 0 R/Namespaces
-30 0 R>>
+<</Type/StructTreeRoot/Namespaces 27 0 R/IDTree 28 0 R/ParentTree 29 0 R/RoleMap
+30 0 R/K 5 0 R>>
 endobj
-28 0 obj
+29 0 obj
 <</Nums[0[11 0 R 8 0 R 12 0 R 13 0 R 12 0 R]1 13 0 R]>>
 endobj
-29 0 obj
+30 0 obj
 <</Artifact/NonStruct/DocumentFragment/Art/Aside/Note/H7/H6/H8/H6/H9/H6/H10/H6/Title/P/FENote/Note/Sub/Span/Em/Span/Strong/Span/title/P/part/P/section/H1/subsection/H2/subsubsection/H3/paragraph/H4/subparagraph/H5/list/L/itemize/L/enumerate/L/description/L/quote/BlockQuote/quotation/BlockQuote/verbatim/P/item/LI/itemlabel/Lbl/itembody/LBody/footnote/Note/footnotemark/Lbl/footnotelabel/Lbl/text-unit/Part/text/P/theorem-like/Sect/codeline/Span/float/Note/figures/Sect/tables/Sect>>
 endobj
-30 0 obj
+27 0 obj
 [18 0 R 17 0 R 21 0 R 22 0 R 23 0 R 24 0 R]
 endobj
 18 0 obj
@@ -65,26 +65,26 @@ endobj
 <</Type/Namespace/NS(data:,A63761E-9D7-4FBB-9B27-C3BC8D9BFB06)>>
 endobj
 5 0 obj
-<</Type/StructElem/S/Document/P 25 0 R/K[14 0 R 8 0 R 15 0 R]/NS 17 0 R/ID(ID.01)>>
+<</Type/StructElem/S/Document/NS 17 0 R/P 25 0 R/K[14 0 R 8 0 R 15 0 R]/ID(ID.01)>>
 endobj
 14 0 obj
-<</Type/StructElem/S/text-unit/P 5 0 R/K 11 0 R/NS 22 0 R/ID(ID.02)>>
+<</Type/StructElem/S/text-unit/NS 22 0 R/P 5 0 R/K 11 0 R/ID(ID.02)>>
 endobj
 11 0 obj
-<</Type/StructElem/S/text/P 14 0 R/K<</Type/MCR/Pg 3 0 R/MCID 0>>/NS 22 0 R/ID(ID.03)>>
+<</Type/StructElem/S/text/NS 22 0 R/P 14 0 R/K<</Type/MCR/Pg 3 0 R/MCID 0>>/ID(ID.03)>>
 endobj
 8 0 obj
-<</Type/StructElem/S/H1/P 5 0 R/K<</Type/MCR/Pg 3 0 R/MCID 1>>/NS 17 0 R/ID(ID.04)>>
+<</Type/StructElem/S/H1/NS 17 0 R/P 5 0 R/K<</Type/MCR/Pg 3 0 R/MCID 1>>/ID(ID.04)>>
 endobj
 15 0 obj
-<</Type/StructElem/S/text-unit/P 5 0 R/K 12 0 R/NS 22 0 R/ID(ID.05)>>
+<</Type/StructElem/S/text-unit/NS 22 0 R/P 5 0 R/K 12 0 R/ID(ID.05)>>
 endobj
 12 0 obj
-<</Type/StructElem/S/text/P 15 0 R/K[<</Type/MCR/Pg 3 0 R/MCID 2>>13 0 R<</Type/MCR/Pg
-3 0 R/MCID 4>>]/NS 22 0 R/ID(ID.06)>>
+<</Type/StructElem/S/text/NS 22 0 R/P 15 0 R/K[<</Type/MCR/Pg 3 0 R/MCID 2>>13 0 R<</Type/MCR/Pg
+3 0 R/MCID 4>>]/ID(ID.06)>>
 endobj
 13 0 obj
-<</Type/StructElem/S/Link/P 12 0 R/K[<</Type/MCR/Pg 3 0 R/MCID 3>>26 0 R]/NS 17 0 R/ID(ID.07)>>
+<</Type/StructElem/S/Link/NS 17 0 R/P 12 0 R/K[<</Type/MCR/Pg 3 0 R/MCID 3>>26 0 R]/ID(ID.07)>>
 endobj
 26 0 obj
 <</Type/OBJR/Obj 10 0 R/Pg 3 0 R>>
@@ -320,7 +320,7 @@ endobj
 16 0 obj
 <</Limits[(ID.01)(ID.07)]/Names[(ID.01)5 0 R(ID.02)14 0 R(ID.03)11 0 R(ID.04)8 0 R(ID.05)15 0 R(ID.06)12 0 R(ID.07)13 0 R]>>
 endobj
-27 0 obj
+28 0 obj
 <</Kids[16 0 R]>>
 endobj
 31 0 obj
@@ -443,10 +443,10 @@ xref
 0000002993 00000 n 
 0000001060 00000 n 
 0000003802 00000 n 
+0000001746 00000 n 
 0000015458 00000 n 
 0000001174 00000 n 
 0000001246 00000 n 
-0000001746 00000 n 
 0000015492 00000 n 
 0000003853 00000 n 
 0000000015 00000 n 
diff --git a/testfiles/tag-checkbox.luatex.tpf b/testfiles/tag-checkbox.luatex.tpf
index 8821405..d38029a 100644
--- a/testfiles/tag-checkbox.luatex.tpf
+++ b/testfiles/tag-checkbox.luatex.tpf
@@ -378,7 +378,7 @@ endobj
 <<  /Type /StructElem /S /Form /P 11 0 R /K 24 0 R /ID (ID.04) >>
 endobj
 5 0 obj
-<<  /Type /StructTreeRoot /K 9 0 R /IDTree 34 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<<  /Type /StructTreeRoot /IDTree 34 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
 endobj
 35 0 obj
 [ 28 [ 500 ] 35 [ 556 ] 82 [ 500 ] 403 [ 778 ] ]
diff --git a/testfiles/tag-checkbox.tpf b/testfiles/tag-checkbox.tpf
index 790290e..1fde5b5 100644
--- a/testfiles/tag-checkbox.tpf
+++ b/testfiles/tag-checkbox.tpf
@@ -410,7 +410,7 @@ endobj
 <<  /Type /StructElem /S /Form /P 11 0 R /K 24 0 R /ID (ID.04) >>
 endobj
 5 0 obj
-<<  /Type /StructTreeRoot /K 9 0 R /IDTree 34 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<<  /Type /StructTreeRoot /IDTree 34 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
 endobj
 35 0 obj
 [500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6]
diff --git a/testfiles/tag-checkbox.xetex.tpf b/testfiles/tag-checkbox.xetex.tpf
index 369b148..de54647 100644
--- a/testfiles/tag-checkbox.xetex.tpf
+++ b/testfiles/tag-checkbox.xetex.tpf
@@ -42,7 +42,7 @@ endobj
 <<>>
 endobj
 24 0 obj
-<</Type/StructTreeRoot/K 21 0 R/IDTree 26 0 R/ParentTree 27 0 R/RoleMap 28 0 R>>
+<</Type/StructTreeRoot/IDTree 26 0 R/ParentTree 27 0 R/RoleMap 28 0 R/K 21 0 R>>
 endobj
 27 0 obj
 <</Nums[0[19 0 R 19 0 R]1 20 0 R]>>





More information about the latex3-commits mailing list.