Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Sep 14, 2023
1 parent d1e3718 commit f07328c
Show file tree
Hide file tree
Showing 31 changed files with 2,247 additions and 417 deletions.
58 changes: 29 additions & 29 deletions testfiles-pdftex/disable-delayed-shipout.pdftexmain.tpf
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ endobj
<< /Marked true >>
endobj
6 0 obj
<< /Nums [0 [ null 15 0 R ]
<< /Nums [0 [ 11 0 R 15 0 R ]
] >>
endobj
25 0 obj
Expand Down Expand Up @@ -745,47 +745,47 @@ xref
0000000003 00000 f
0000000004 00000 f
0000000008 00000 f
0000013552 00000 n
0000013554 00000 n
0000012276 00000 n
0000012492 00000 n
0000012494 00000 n
0000000000 00000 f
0000013071 00000 n
0000013164 00000 n
0000013250 00000 n
0000013073 00000 n
0000013166 00000 n
0000013252 00000 n
0000000015 00000 n
0000011900 00000 n
0000013358 00000 n
0000013444 00000 n
0000013360 00000 n
0000013446 00000 n
0000000046 00000 n
0000000077 00000 n
0000012035 00000 n
0000011541 00000 n
0000036822 00000 n
0000039634 00000 n
0000038763 00000 n
0000039798 00000 n
0000036824 00000 n
0000039636 00000 n
0000038765 00000 n
0000039800 00000 n
0000012240 00000 n
0000012324 00000 n
0000012455 00000 n
0000013653 00000 n
0000014060 00000 n
0000014084 00000 n
0000014392 00000 n
0000022279 00000 n
0000022506 00000 n
0000031927 00000 n
0000032152 00000 n
0000034816 00000 n
0000035034 00000 n
0000036980 00000 n
0000038921 00000 n
0000039857 00000 n
0000039975 00000 n
0000012326 00000 n
0000012457 00000 n
0000013655 00000 n
0000014062 00000 n
0000014086 00000 n
0000014394 00000 n
0000022281 00000 n
0000022508 00000 n
0000031929 00000 n
0000032154 00000 n
0000034818 00000 n
0000035036 00000 n
0000036982 00000 n
0000038923 00000 n
0000039859 00000 n
0000039977 00000 n
trailer
<< /Size 41
/Root 39 0 R
/Info 40 0 R
/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
startxref
40107
40109
%%EOF
1,337 changes: 1,337 additions & 0 deletions testfiles-pdftex/ptagging-004-p.pdftexmain.tpf

Large diffs are not rendered by default.

153 changes: 76 additions & 77 deletions testfiles-pdftex/ptagging-004-p.tpf

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion testfiles-pdftex/test-mc-low-bdc-emc.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Completed box being shipped out [1]
....\T1/cmr/m/n/10.95 t
....\pdfliteral page{EMC}
....\pdfliteral page{/Artifact /l3pdf1 BDC}
....\write1{\new@label@record{l3pdf1}{{abspage}{\__property_code_abspage: }}}
....\write1{\newlabeldata{l3pdf1}{{abspage}{\__ref_attribute_abspage: }}}
....\T1/cmr/m/n/10.95 s
....\T1/cmr/m/n/10.95 o
....\T1/cmr/m/n/10.95 m
Expand Down
4 changes: 2 additions & 2 deletions testfiles-pdftex/test-mc-low-luaonly.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Overfull \hbox (145.16354pt too wide) in paragraph at lines 21--43
.\T1/cmr/m/n/10.95 .
.\glue 4.83946 plus 5.44011 minus 0.40297
.\pdfliteral page{/Artifact /l3pdf1 BDC}
.\write1{\new@label@record{l3pdf1}{{abspage}{\__property_code_abspage: }}}
.\write1{\newlabeldata{l3pdf1}{{abspage}{\__ref_attribute_abspage: }}}
.\T1/cmr/m/n/10.95 A
.\T1/cmr/m/n/10.95 r
.\T1/cmr/m/n/10.95 t
Expand Down Expand Up @@ -219,7 +219,7 @@ Completed box being shipped out [1]
....\T1/cmr/m/n/10.95 .
....\glue 4.83946 plus 5.44011 minus 0.40297
....\pdfliteral page{/Artifact /l3pdf1 BDC}
....\write1{\new@label@record{l3pdf1}{{abspage}{\__property_code_abspage: }}}
....\write1{\newlabeldata{l3pdf1}{{abspage}{\__ref_attribute_abspage: }}}
....\T1/cmr/m/n/10.95 A
....\T1/cmr/m/n/10.95 r
....\T1/cmr/m/n/10.95 t
Expand Down
2 changes: 1 addition & 1 deletion testfiles-pdftex/test-mc-tag-expansion.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Completed box being shipped out [1]
...\write-{}
...\write1{\babel@aux{english}{}}
...\pdfliteral page{/Artifact /l3pdf1 BDC}
...\write1{\new@label@record{l3pdf1}{{abspage}{\__property_code_abspage: }}}
...\write1{\newlabeldata{l3pdf1}{{abspage}{\__ref_attribute_abspage: }}}
...\marks4{b-,1,-1,Pagination}
...\marks4{b+,1,-1,Pagination}
...\glue(\topskip) 3.45851
Expand Down
91 changes: 83 additions & 8 deletions testfiles/mc-parent-child.luatex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -4151,16 +4151,13 @@ Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Div'.
Package tagpdf Info: Parent-Child 'Document' --> 'P'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'verbatim/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'MC'.
(tagpdf) Relation is -1 (='∅')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Document/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 535, /verbatim) on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'P' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'P/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 535 tagged /verbatim
Package tagpdf Info: closing structure 534 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
Expand Down Expand Up @@ -4286,5 +4283,83 @@ Package tagpdf Info: Parent-Child 'P' --> 'MC'.
(tagpdf) Rolemapped from 'P/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 551 tagged /text
Package tagpdf Info: closing structure 550 tagged /text-unit
[6] (mc-parent-child.aux)
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'theorem-like/latex'
(tagpdf) on line ...
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='∅')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 553, /theorem-like) on
(tagpdf) line 13
Package tagpdf Info: closing structure 553 tagged /theorem-like
Package tagpdf Info: closing structure 552 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sub'.
(tagpdf) Relation is -1 (='∅')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'codeline/latex' on
(tagpdf) line 13
Package tagpdf Warning: Parent-Child 'Document/pdf2' --> 'codeline/latex'.
(tagpdf) Relation is not allowed (struct 554, /text-unit -->
(tagpdf) struct 555) on line ...
Package tagpdf Info: Parent-Child 'Sub' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Sub/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 555 tagged /codeline
Package tagpdf Info: closing structure 554 tagged /text-unit
[6]
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Aside'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'float/latex' on line
(tagpdf) 13
Package tagpdf Info: Parent-Child 'Aside' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Aside/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 557 tagged /float
Package tagpdf Info: closing structure 556 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'figures/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='∅')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 559, /figures) on line
(tagpdf) 13
Package tagpdf Info: closing structure 559 tagged /figures
Package tagpdf Info: closing structure 558 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'tables/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='∅')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 561, /tables) on line
(tagpdf) 13
Package tagpdf Info: closing structure 561 tagged /tables
Package tagpdf Info: closing structure 560 tagged /text-unit
[7] (mc-parent-child.aux)
Package tagpdf Info: closing structure 1 tagged /Document
104 changes: 95 additions & 9 deletions testfiles/mc-parent-child.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -4203,16 +4203,13 @@ Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Div'.
Package tagpdf Info: Parent-Child 'Document' --> 'P'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'verbatim/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'MC'.
(tagpdf) Relation is -1 (='^^e2^^88^^85')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Document/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 535, /verbatim) on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'P' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'P/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 535 tagged /verbatim
Package tagpdf Info: closing structure 534 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
Expand Down Expand Up @@ -4338,16 +4335,105 @@ Package tagpdf Info: Parent-Child 'P' --> 'MC'.
(tagpdf) Rolemapped from 'P/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 551 tagged /text
Package tagpdf Info: closing structure 550 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'theorem-like/latex'
(tagpdf) on line ...
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='^^e2^^88^^85')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 553, /theorem-like) on
(tagpdf) line 13
Package tagpdf Info: closing structure 553 tagged /theorem-like
Package tagpdf Info: closing structure 552 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sub'.
(tagpdf) Relation is -1 (='^^e2^^88^^85')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'codeline/latex' on
(tagpdf) line 13
Package tagpdf Warning: Parent-Child 'Document/pdf2' --> 'codeline/latex'.
(tagpdf) Relation is not allowed (struct 554, /text-unit -->
(tagpdf) struct 555) on line ...
Package tagpdf Info: Parent-Child 'Sub' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Sub/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 555 tagged /codeline
Package tagpdf Info: closing structure 554 tagged /text-unit
====> In \@makecol 6
Pick up new bot mark!
=> first b-, 239, 463, selector
=> bot e+, 285, 551
=> bot e+, 286, 553
=> TMB not missing
=> TME not missing
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
> {238}
> {461}.
[6] (mc-parent-child.aux)
[6]
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Aside'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'float/latex' on line
(tagpdf) 13
Package tagpdf Info: Parent-Child 'Aside' --> 'MC'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Aside/pdf2' --> 'MC' on line ...
Package tagpdf Info: closing structure 557 tagged /float
Package tagpdf Info: closing structure 556 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'figures/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='^^e2^^88^^85')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 559, /figures) on line
(tagpdf) 13
Package tagpdf Info: closing structure 559 tagged /figures
Package tagpdf Info: closing structure 558 tagged /text-unit
Package tagpdf Info: Parent-Child 'Document' --> 'Part'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'text-unit/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Document' --> 'Sect'.
(tagpdf) Relation is 1 (='0..n')
(tagpdf) Rolemapped from 'Document/pdf2' --> 'tables/latex' on
(tagpdf) line 13
Package tagpdf Info: Parent-Child 'Sect' --> 'MC'.
(tagpdf) Relation is -1 (='^^e2^^88^^85')
(tagpdf) Rolemapped from 'Sect/pdf2' --> 'MC' on line ...
Package tagpdf Warning: Parent-Child 'Sect/pdf2' --> 'MC (realcontent)'.
(tagpdf) Relation is not allowed (struct 561, /tables) on line
(tagpdf) 13
Package tagpdf Info: closing structure 561 tagged /tables
Package tagpdf Info: closing structure 560 tagged /text-unit
====> In \@makecol 7
Pick up new bot mark!
=> first b-, 287, 555, codeline
=> bot e+, 292, 561
=> TMB not missing
=> TME not missing
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
> {286}
> {553}.
[7] (mc-parent-child.aux)
Package tagpdf Info: closing structure 1 tagged /Document
6 changes: 3 additions & 3 deletions testfiles/test-add-new-tag-2.luatex.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ LaTeX does not know anything more about this error, sorry.
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Package tagpdf Info: adding new tag wrongsection
tagpdf: Add wrongsection 276
tagpdf: Add wrongsection 281
Package tagpdf Info: mapping tag var/mathml to role mo/mathml
Package tagpdf Info: adding new tag var
tagpdf: Add var 277
tagpdf: Add var 282
! Package tagpdf Error: role blub/user is not known
Type <return> to continue.
...
Expand All @@ -30,7 +30,7 @@ LaTeX does not know anything more about this error, sorry.
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Package tagpdf Info: adding new tag space
tagpdf: Add space 278
tagpdf: Add space 283
luatex
The global dictionary 'g__tag_role/RoleMap_dict' is empty
> .
Expand Down
Loading

0 comments on commit f07328c

Please sign in to comment.