[latex3-commits] [latex3/tagpdf] addrolemap: more test files (35d609a)

github at latex-project.org github at latex-project.org
Fri Jan 26 11:30:29 CET 2024


Repository : https://github.com/latex3/tagpdf
On branch  : addrolemap
Link       : https://github.com/latex3/tagpdf/commit/35d609acfaaf48268534c23a2b67925415f2905e

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

commit 35d609acfaaf48268534c23a2b67925415f2905e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 26 11:30:29 2024 +0100

    more test files


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

35d609acfaaf48268534c23a2b67925415f2905e
 testfiles-pdftex/debug-structures-2.pdftexmain.tlg |   2 +-
 .../parent-child-20-structures.pdftexmain.tlg      |   2 +-
 testfiles-pdftex/test-AFref.pdftexmain.tpf         | 206 +++++++++++----------
 3 files changed, 107 insertions(+), 103 deletions(-)

diff --git a/testfiles-pdftex/debug-structures-2.pdftexmain.tlg b/testfiles-pdftex/debug-structures-2.pdftexmain.tlg
index 5af293b..3ad36ca 100644
--- a/testfiles-pdftex/debug-structures-2.pdftexmain.tlg
+++ b/testfiles-pdftex/debug-structures-2.pdftexmain.tlg
@@ -134,7 +134,7 @@ The structure has the following kids:
 The structure 10 contains:
 >  Type  =>  /StructElem
 >  S  =>  /Sect
->  NS  =>  10 0 R 
+>  NS  =>  11 0 R 
 >  rolemap  =>  {Span}{pdf2}
 >  parentrole  =>  {Span}{pdf2}
 >  P  =>  parent structure: 4 = Sect
diff --git a/testfiles-pdftex/parent-child-20-structures.pdftexmain.tlg b/testfiles-pdftex/parent-child-20-structures.pdftexmain.tlg
index b856163..c978699 100644
--- a/testfiles-pdftex/parent-child-20-structures.pdftexmain.tlg
+++ b/testfiles-pdftex/parent-child-20-structures.pdftexmain.tlg
@@ -253,7 +253,7 @@ Completed box being shipped out [1]
 ....\kern0.27779
 ....\OT1/cmr/m/n/10 c
 ....\pdfliteral page{EMC}
-....\write1{\new at label@record{tagpdfstruct-blub}{{tagstruct}{16}{tagstructobj}{38 0 R}}}
+....\write1{\new at label@record{tagpdfstruct-blub}{{tagstruct}{16}{tagstructobj}{39 0 R}}}
 ....\write1{\new at label@record{mcid-7}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{7}{tagmcid}{\__property_code_tagmcid: }}}
 ....\pdfliteral shipout page{/H1 <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
 ....\OT1/cmr/m/n/10 H
diff --git a/testfiles-pdftex/test-AFref.pdftexmain.tpf b/testfiles-pdftex/test-AFref.pdftexmain.tpf
index ed4e5eb..b536f4c 100644
--- a/testfiles-pdftex/test-AFref.pdftexmain.tpf
+++ b/testfiles-pdftex/test-AFref.pdftexmain.tpf
@@ -1,6 +1,6 @@
 %PDF-2.0
 %ÐÔÅØ
-23 0 obj
+24 0 obj
 <<
 /Subtype /application#2Fxml/Type /EmbeddedFile /Params<</ModDate (D:20160520) >>
 /Length 146       
@@ -9,10 +9,10 @@ stream
 <math> <msqrt><msup><mi>x</mi><mn>2</mn></msup></msqrt> <mo>=</mo> <mrow intent="absolute-value($x)"><mo>|</mo><mi>x</mi><mo>|</mo></mrow> </math>
 endstream
 endobj
-24 0 obj
-<< /Type /Filespec /AFRelationship /Unspecified /F <FEFF0074006500730074002E0078006D006C> /UF <FEFF0074006500730074002E0078006D006C> /EF<</F 23 0 R/UF 23 0 R>> >>
+25 0 obj
+<< /Type /Filespec /AFRelationship /Unspecified /F <FEFF0074006500730074002E0078006D006C> /UF <FEFF0074006500730074002E0078006D006C> /EF<</F 24 0 R/UF 24 0 R>> >>
 endobj
-27 0 obj
+28 0 obj
 <<
 /Subtype /application#2Fxml/Type /EmbeddedFile /Params<</ModDate (D:20160520) >>
 /Length 146       
@@ -21,10 +21,10 @@ stream
 <math> <msqrt><msup><mi>x</mi><mn>2</mn></msup></msqrt> <mo>=</mo> <mrow intent="absolute-value($x)"><mo>|</mo><mi>x</mi><mo>|</mo></mrow> </math>
 endstream
 endobj
-28 0 obj
-<< /Type /Filespec /AFRelationship /Supplement /Desc (mathml representation) /F <FEFF007400610067002D0041004600660069006C00650031002E0078006D006C> /UF <FEFF007400610067002D0041004600660069006C00650031002E0078006D006C> /EF<</F 27 0 R/UF 27 0 R>> >>
+29 0 obj
+<< /Type /Filespec /AFRelationship /Supplement /Desc (mathml representation) /F <FEFF007400610067002D0041004600660069006C00650031002E0078006D006C> /UF <FEFF007400610067002D0041004600660069006C00650031002E0078006D006C> /EF<</F 28 0 R/UF 28 0 R>> >>
 endobj
-31 0 obj
+32 0 obj
 <<
 /Length 520       
 >>
@@ -42,90 +42,93 @@ ET
 EMC
 endstream
 endobj
-30 0 obj
+31 0 obj
 <<
 /Type /Page
-/Contents 31 0 R
-/Resources 29 0 R
+/Contents 32 0 R
+/Resources 30 0 R
 /MediaBox [0 0 595.276 841.89]
 /Tabs /S /StructParents 0 
-/Parent 34 0 R
+/Parent 35 0 R
 >>
 endobj
-29 0 obj
+30 0 obj
 <<
 /ExtGState 1 0 R 
-/Font << /F28 32 0 R /F38 33 0 R >>
+/Font << /F28 33 0 R /F38 34 0 R >>
 >>
 endobj
 1 0 obj
 << /opacity1 <</ca 1/CA 1>>  >>
 endobj
-35 0 obj
+36 0 obj
 << /Marked true  >>
 endobj
 6 0 obj
 << /Nums [0 [ ]
 ] >>
 endobj
-36 0 obj
-<< /Limits [(ID.01) (ID.03)]/Names [(ID.01) 22 0 R (ID.02) 25 0 R (ID.03) 26 0 R ] >>
-endobj
 37 0 obj
-<< /Kids [36 0 R] >>
+<< /Limits [(ID.01) (ID.03)]/Names [(ID.01) 23 0 R (ID.02) 26 0 R (ID.03) 27 0 R ] >>
 endobj
-8 0 obj
+38 0 obj
+<< /Kids [37 0 R] >>
+endobj
+7 0 obj
+<< /Artifact /NonStruct /DocumentFragment /Art /Aside /Note /H7 /H6 /H8 /H6 /H9 /H6 /H10 /H6 /Title /Span /FENote /Note /Sub /Span /Em /Span /Strong /Span /chapter /H1 /section /H1 /subsection /H2 /subsubsection /H3 /paragraph /H4 /subparagraph /H5 /P /Span /title /P /part /P /list /L /itemize /L /enumerate /L /description /L /quote /BlockQuote /quotation /BlockQuote /verbatim /Span /item /LI /itemlabel /Lbl /itembody /LBody /footnote /Note /footnotemark /Lbl /footnotelabel /Lbl /text-unit /Part /text /Span /theorem-like /Sect /codeline /Span /float /Note /figures /Sect /tables /Sect  >>
+endobj
+9 0 obj
 << /Type /Namespace /NS (http://iso.org/pdf/ssn)  >>
 endobj
-10 0 obj
+11 0 obj
 << /Type /Namespace /NS (http://iso.org/pdf2/ssn)  >>
 endobj
-12 0 obj
+13 0 obj
 << /Type /Namespace /NS (http://www.w3.org/1998/Math/MathML)  >>
 endobj
+16 0 obj
+<< /title [/Title 11 0 R] /part [/Title 11 0 R] /section [/H1 11 0 R] /subsection [/H2 11 0 R] /subsubsection [/H3 11 0 R] /paragraph [/H4 11 0 R] /subparagraph [/H5 11 0 R] /list [/L 11 0 R] /itemize [/L 11 0 R] /enumerate [/L 11 0 R] /description [/L 11 0 R] /quote [/BlockQuote 9 0 R] /quotation [/BlockQuote 9 0 R] /verbatim [/P 11 0 R] /item [/LI 11 0 R] /itemlabel [/Lbl 11 0 R] /itembody [/LBody 11 0 R] /footnote [/FENote 11 0 R] /footnotemark [/Lbl 11 0 R] /footnotelabel [/Lbl 11 0 R] /text-unit [/Part 11 0 R] /text [/P 11 0 R] /theorem-like [/Sect 11 0 R] /codeline [/Sub 11 0 R] /float [/Aside 11 0 R] /figures [/Sect 11 0 R] /tables [/Sect 11 0 R]  >>
+endobj
 15 0 obj
-<< /title [/Title 10 0 R] /part [/Title 10 0 R] /section [/H1 10 0 R] /subsection [/H2 10 0 R] /subsubsection [/H3 10 0 R] /paragraph [/H4 10 0 R] /subparagraph [/H5 10 0 R] /list [/L 10 0 R] /itemize [/L 10 0 R] /enumerate [/L 10 0 R] /description [/L 10 0 R] /quote [/BlockQuote 8 0 R] /quotation [/BlockQuote 8 0 R] /verbatim [/P 10 0 R] /item [/LI 10 0 R] /itemlabel [/Lbl 10 0 R] /itembody [/LBody 10 0 R] /footnote [/FENote 10 0 R] /footnotemark [/Lbl 10 0 R] /footnotelabel [/Lbl 10 0 R] /text-unit [/Part 10 0 R] /text [/P 10 0 R] /theorem-like [/Sect 10 0 R] /codeline [/Sub 10 0 R] /float [/Aside 10 0 R] /figures [/Sect 10 0 R] /tables [/Sect 10 0 R]  >>
+<< /Type /Namespace /NS (https://www.latex-project.org/ns/dflt/2022) /RoleMapNS 16 0 R  >>
 endobj
-14 0 obj
-<< /Type /Namespace /NS (https://www.latex-project.org/ns/dflt/2022) /RoleMapNS 15 0 R  >>
+18 0 obj
+<< /chapter [/H1 11 0 R] /section [/H2 11 0 R] /subsection [/H3 11 0 R] /subsubsection [/H4 11 0 R] /paragraph [/H5 11 0 R] /subparagraph [/H6 11 0 R]  >>
 endobj
 17 0 obj
-<< /chapter [/H1 10 0 R] /section [/H2 10 0 R] /subsection [/H3 10 0 R] /subsubsection [/H4 10 0 R] /paragraph [/H5 10 0 R] /subparagraph [/H6 10 0 R]  >>
+<< /Type /Namespace /NS (https://www.latex-project.org/ns/book/2022) /RoleMapNS 18 0 R  >>
 endobj
-16 0 obj
-<< /Type /Namespace /NS (https://www.latex-project.org/ns/book/2022) /RoleMapNS 17 0 R  >>
+20 0 obj
+<< /chapter [/Span 11 0 R] /section [/Span 11 0 R] /subsection [/Span 11 0 R] /subsubsection [/Span 11 0 R] /paragraph [/Span 11 0 R] /subparagraph [/Span 11 0 R] /P [/Span 11 0 R]  >>
 endobj
 19 0 obj
-<< /chapter [/Span 10 0 R] /section [/Span 10 0 R] /subsection [/Span 10 0 R] /subsubsection [/Span 10 0 R] /paragraph [/Span 10 0 R] /subparagraph [/Span 10 0 R] /P [/Span 10 0 R]  >>
-endobj
-18 0 obj
-<< /Type /Namespace /NS (https://www.latex-project.org/ns/inline/2022) /RoleMapNS 19 0 R  >>
+<< /Type /Namespace /NS (https://www.latex-project.org/ns/inline/2022) /RoleMapNS 20 0 R  >>
 endobj
-20 0 obj
+21 0 obj
 << /Type /Namespace /NS (data:,A63761E-9D7-4FBB-9B27-C3BC8D9BFB06)  >>
 endobj
-7 0 obj
-[ 8 0 R 10 0 R 12 0 R 14 0 R 16 0 R 18 0 R 20 0 R  ]
-endobj
-22 0 obj
-<<  /Type /StructElem /S /Document /P 5 0 R /K [25 0 R 26 0 R] /NS 10 0 R  /ID (ID.01) >>
+8 0 obj
+[ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R 21 0 R  ]
 endobj
-25 0 obj
-<<  /Type /StructElem /S /P /P 22 0 R /AF [24 0 R] /NS 10 0 R  /ID (ID.02) >>
+23 0 obj
+<<  /Type /StructElem /S /Document /P 5 0 R /K [26 0 R 27 0 R] /NS 11 0 R  /ID (ID.01) >>
 endobj
 26 0 obj
-<<  /Type /StructElem /S /P /P 22 0 R /AF [28 0 R] /NS 10 0 R  /ID (ID.03) >>
+<<  /Type /StructElem /S /P /P 23 0 R /AF [25 0 R] /NS 11 0 R  /ID (ID.02) >>
+endobj
+27 0 obj
+<<  /Type /StructElem /S /P /P 23 0 R /AF [29 0 R] /NS 11 0 R  /ID (ID.03) >>
 endobj
 5 0 obj
-<<  /Type /StructTreeRoot /K 22 0 R /IDTree 37 0 R /ParentTree 6 0 R /Namespaces 7 0 R >>
+<<  /Type /StructTreeRoot /K 23 0 R /IDTree 38 0 R /ParentTree 6 0 R /RoleMap 7 0 R /Namespaces 8 0 R >>
 endobj
-38 0 obj
+39 0 obj
 [334.2]
 endobj
-39 0 obj
+40 0 obj
 [277.8 500 500 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 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7 394.4 388.9 555.6 527.8 722.2 527.8 527.8 444.4]
 endobj
-40 0 obj
+41 0 obj
 <<
 /Length1 1590
 /Length2 10577
@@ -134,7 +137,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-41 0 obj
+42 0 obj
 <<
 /Type /FontDescriptor
 /FontName /UFHNTN+CMR10
@@ -147,10 +150,10 @@ endobj
 /StemV 69
 /XHeight 431
 /CharSet (/E/S/U/a/e/h/i/l/m/n/o/one/period/t/u/z)
-/FontFile 40 0 R
+/FontFile 41 0 R
 >>
 endobj
-42 0 obj
+43 0 obj
 <<
 /Length1 1144
 /Length2 1422
@@ -159,7 +162,7 @@ endobj
 >>
 [BINARY STREAM]
 endobj
-43 0 obj
+44 0 obj
 <<
 /Type /FontDescriptor
 /FontName /MUQHVU+PdfTeX-Space
@@ -172,10 +175,10 @@ endobj
 /StemV 0
 /XHeight 500
 /CharSet (/space)
-/FontFile 42 0 R
+/FontFile 43 0 R
 >>
 endobj
-44 0 obj
+45 0 obj
 <<
 /Length 1724      
 >>
@@ -297,19 +300,19 @@ end
 %%EOF
 endstream
 endobj
-32 0 obj
+33 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /UFHNTN+CMR10
-/FontDescriptor 41 0 R
+/FontDescriptor 42 0 R
 /FirstChar 46
 /LastChar 122
-/Widths 39 0 R
-/ToUnicode 44 0 R
+/Widths 40 0 R
+/ToUnicode 45 0 R
 >>
 endobj
-45 0 obj
+46 0 obj
 <<
 /Length 654       
 >>
@@ -347,33 +350,33 @@ end
 %%EOF
 endstream
 endobj
-33 0 obj
+34 0 obj
 <<
 /Type /Font
 /Subtype /Type1
 /BaseFont /MUQHVU+PdfTeX-Space
-/FontDescriptor 43 0 R
+/FontDescriptor 44 0 R
 /FirstChar 32
 /LastChar 32
-/Widths 38 0 R
-/ToUnicode 45 0 R
+/Widths 39 0 R
+/ToUnicode 46 0 R
 >>
 endobj
-34 0 obj
+35 0 obj
 <<
 /Type /Pages
 /Count 1
-/Kids [30 0 R]
+/Kids [31 0 R]
 >>
 endobj
-46 0 obj
+47 0 obj
 <<
 /Type /Catalog
-/Pages 34 0 R
-/MarkInfo 35 0 R/Lang (de-DE)/StructTreeRoot 5 0 R
+/Pages 35 0 R
+/MarkInfo 36 0 R/Lang (de-DE)/StructTreeRoot 5 0 R
 >>
 endobj
-47 0 obj
+48 0 obj
 <<
 /Producer (pdfTeX)/Creator (TeX)
 /CreationDate (D:20160520090000Z)
@@ -382,60 +385,61 @@ endobj
 >>
 endobj
 xref
-0 48
+0 49
 0000000002 65535 f 
 0000001827 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
-0000000009 00000 f 
-0000004130 00000 n 
+0000000010 00000 f 
+0000004740 00000 n 
 0000001910 00000 n 
-0000003768 00000 n 
 0000002085 00000 n 
-0000000011 00000 f 
-0000002153 00000 n 
-0000000013 00000 f 
-0000002223 00000 n 
-0000000021 00000 f 
-0000002986 00000 n 
-0000002304 00000 n 
-0000003264 00000 n 
-0000003093 00000 n 
-0000003572 00000 n 
-0000003371 00000 n 
-0000003681 00000 n 
+0000004378 00000 n 
+0000002695 00000 n 
+0000000012 00000 f 
+0000002763 00000 n 
+0000000014 00000 f 
+0000002833 00000 n 
+0000000022 00000 f 
+0000003596 00000 n 
+0000002914 00000 n 
+0000003874 00000 n 
+0000003703 00000 n 
+0000004182 00000 n 
+0000003981 00000 n 
+0000004291 00000 n 
 0000000000 00000 f 
-0000003836 00000 n 
+0000004446 00000 n 
 0000000015 00000 n 
 0000000301 00000 n 
-0000003942 00000 n 
-0000004036 00000 n 
+0000004552 00000 n 
+0000004646 00000 n 
 0000000480 00000 n 
 0000000766 00000 n 
 0000001751 00000 n 
 0000001609 00000 n 
 0000001030 00000 n 
-0000021877 00000 n 
-0000022748 00000 n 
-0000022912 00000 n 
+0000022502 00000 n 
+0000023373 00000 n 
+0000023537 00000 n 
 0000001874 00000 n 
 0000001946 00000 n 
 0000002048 00000 n 
-0000004235 00000 n 
-0000004259 00000 n 
-0000004692 00000 n 
-0000016958 00000 n 
-0000017212 00000 n 
-0000019876 00000 n 
-0000020094 00000 n 
-0000022035 00000 n 
-0000022971 00000 n 
-0000023073 00000 n 
+0000004860 00000 n 
+0000004884 00000 n 
+0000005317 00000 n 
+0000017583 00000 n 
+0000017837 00000 n 
+0000020501 00000 n 
+0000020719 00000 n 
+0000022660 00000 n 
+0000023596 00000 n 
+0000023698 00000 n 
 trailer
-<< /Size 48
-/Root 46 0 R
-/Info 47 0 R
+<< /Size 49
+/Root 47 0 R
+/Info 48 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-23207
+23832
 %%EOF





More information about the latex3-commits mailing list.