Skip to content

Commit a25fc74

Browse files
authored
Merge pull request #1249 from mbertucci47/tests
add tests and move relsize
2 parents fb09acd + fcdcdde commit a25fc74

10 files changed

Lines changed: 244 additions & 4 deletions

File tree

_data/tagging-status.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12749,12 +12749,13 @@
1274912749

1275012750
- name: relsize
1275112751
type: package
12752-
status: compatible
12752+
status: partially-compatible
1275312753
included-in: [tlc3, arxiv1, ol1]
1275412754
priority: 2
12755-
issues:
12755+
issues: [1244]
1275612756
tests: true
12757-
updated: 2025-05-28
12757+
comments: "Warnings with `\\mathlarger` and mathml-SE."
12758+
updated: 2026-02-27
1275812759

1275912760
- name: remreset
1276012761
type: package
@@ -17095,7 +17096,7 @@
1709517096
status: currently-incompatible
1709617097
included-in:
1709717098
priority: 9
17098-
issues: [979,980,1050]
17099+
issues: [979,980,1050,1241]
1709917100
tests: true
1710017101
tasks: needs more tests
1710117102
updated: 2025-11-10
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<PDF>
2+
<StructTreeRoot>
3+
<Document xmlns="http://iso.org/pdf2/ssn"
4+
id="ID.002"
5+
>
6+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
7+
id="ID.005"
8+
rolemaps-to="Part"
9+
>
10+
<text xmlns="https://www.latex-project.org/ns/dflt"
11+
id="ID.006"
12+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
13+
Layout:TextAlign="Justify"
14+
rolemaps-to="P"
15+
>
16+
<?MarkedContent page="1" ?>text
17+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
18+
id="ID.007"
19+
rolemaps-to="Part"
20+
>
21+
<text xmlns="https://www.latex-project.org/ns/dflt"
22+
id="ID.008"
23+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
24+
Layout:TextAlign="Justify"
25+
rolemaps-to="P"
26+
>
27+
<?MarkedContent page="1" ?>and more text
28+
</text>
29+
</text-unit>
30+
</text>
31+
</text-unit>
32+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
33+
id="ID.009"
34+
rolemaps-to="Part"
35+
>
36+
<text xmlns="https://www.latex-project.org/ns/dflt"
37+
id="ID.010"
38+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
39+
Layout:TextAlign="Justify"
40+
rolemaps-to="P"
41+
>
42+
<?MarkedContent page="1" ?>and more text
43+
</text>
44+
</text-unit>
45+
</Document>
46+
</StructTreeRoot>
47+
</PDF>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<PDF>
2+
<StructTreeRoot>
3+
<Document xmlns="http://iso.org/pdf2/ssn"
4+
id="ID.002"
5+
>
6+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
7+
id="ID.005"
8+
rolemaps-to="Part"
9+
>
10+
<text xmlns="https://www.latex-project.org/ns/dflt"
11+
id="ID.006"
12+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
13+
Layout:TextAlign="Justify"
14+
rolemaps-to="P"
15+
>
16+
<?MarkedContent page="1" ?>text
17+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
18+
id="ID.007"
19+
rolemaps-to="Part"
20+
>
21+
<text xmlns="https://www.latex-project.org/ns/dflt"
22+
id="ID.008"
23+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
24+
Layout:TextAlign="Justify"
25+
rolemaps-to="P"
26+
>
27+
</text>
28+
</text-unit>
29+
</text>
30+
</text-unit>
31+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
32+
id="ID.009"
33+
rolemaps-to="Part"
34+
>
35+
<text xmlns="https://www.latex-project.org/ns/dflt"
36+
id="ID.010"
37+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
38+
Layout:TextAlign="Justify"
39+
rolemaps-to="P"
40+
>
41+
<?MarkedContent page="1" ?>and more text
42+
</text>
43+
</text-unit>
44+
</Document>
45+
</StructTreeRoot>
46+
</PDF>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
\DocumentMetadata
2+
{
3+
lang=en-US,
4+
tagging=on,
5+
}
6+
\documentclass{exam}
7+
8+
%\printanswers % warnings with or without
9+
10+
\title{exam tagging test - solutionbox}
11+
12+
\begin{document}
13+
14+
text
15+
\begin{solutionbox}{2in}
16+
Once upon a midnight dreary, while I pondered, weak and weary, Over
17+
many a quaint and curious volume of forgotten lore--- While I
18+
nodded, nearly napping, suddenly there came a tapping, As of some
19+
one gently rapping, rapping at my chamber door. ``\,'Tis some
20+
visitor,'' I muttered, ``tapping at my chamber door--- Only this and
21+
nothing more.''
22+
\end{solutionbox}
23+
and more text
24+
25+
\end{document}

tagging-status/testfiles-compatible-mathml/relsize/relsize-01.pdftex.struct.xml renamed to tagging-status/testfiles-partial-mathml/relsize/relsize-01.pdftex.struct.xml

File renamed without changes.

tagging-status/testfiles-compatible-mathml/relsize/relsize-01.struct.xml renamed to tagging-status/testfiles-partial-mathml/relsize/relsize-01.struct.xml

File renamed without changes.

tagging-status/testfiles-compatible-mathml/relsize/relsize-01.tex renamed to tagging-status/testfiles-partial-mathml/relsize/relsize-01.tex

File renamed without changes.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<PDF>
2+
<StructTreeRoot>
3+
<Document xmlns="http://iso.org/pdf2/ssn"
4+
id="ID.02"
5+
>
6+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
7+
id="ID.05"
8+
rolemaps-to="Part"
9+
>
10+
<text xmlns="https://www.latex-project.org/ns/dflt"
11+
id="ID.06"
12+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
13+
Layout:TextAlign="Justify"
14+
rolemaps-to="P"
15+
>
16+
<?MarkedContent page="1" ?>
17+
<Formula xmlns="http://iso.org/pdf2/ssn"
18+
id="ID.07"
19+
title="math"
20+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
21+
Layout:Placement="Inline"
22+
>
23+
<?MarkedContent page="1" ?>∫︂12dN
24+
</Formula>
25+
<?MarkedContent page="1" ?>
26+
</text>
27+
</text-unit>
28+
</Document>
29+
</StructTreeRoot>
30+
</PDF>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<PDF>
2+
<StructTreeRoot>
3+
<Document xmlns="http://iso.org/pdf2/ssn"
4+
id="ID.002"
5+
>
6+
<text-unit xmlns="https://www.latex-project.org/ns/dflt"
7+
id="ID.005"
8+
rolemaps-to="Part"
9+
>
10+
<text xmlns="https://www.latex-project.org/ns/dflt"
11+
id="ID.006"
12+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
13+
Layout:TextAlign="Justify"
14+
rolemaps-to="P"
15+
>
16+
<Formula xmlns="http://iso.org/pdf2/ssn"
17+
id="ID.007"
18+
title="math"
19+
xmlns:Layout="http://iso.org/pdf/ssn/Layout"
20+
Layout:Placement="Inline"
21+
>
22+
<math xmlns="http://www.w3.org/1998/Math/MathML"
23+
id="ID.017"
24+
>
25+
<mstyle xmlns="http://www.w3.org/1998/Math/MathML"
26+
id="ID.018"
27+
displaystyle="true"
28+
scriptlevel="0"
29+
>
30+
<mo xmlns="http://www.w3.org/1998/Math/MathML"
31+
id="ID.019"
32+
lspace="0"
33+
rspace="0.167em"
34+
>
35+
<?MarkedContent page="1" ?>∫
36+
</mo>
37+
<mfrac xmlns="http://www.w3.org/1998/Math/MathML"
38+
id="ID.020"
39+
>
40+
<mn xmlns="http://www.w3.org/1998/Math/MathML"
41+
id="ID.021"
42+
>
43+
<?MarkedContent page="1" ?>1
44+
</mn>
45+
<mn xmlns="http://www.w3.org/1998/Math/MathML"
46+
id="ID.022"
47+
>
48+
<?MarkedContent page="1" ?>2
49+
</mn>
50+
</mfrac>
51+
<mi xmlns="http://www.w3.org/1998/Math/MathML"
52+
id="ID.023"
53+
>
54+
<?MarkedContent page="1" ?>𝑑
55+
</mi>
56+
<mi xmlns="http://www.w3.org/1998/Math/MathML"
57+
id="ID.024"
58+
>
59+
<?MarkedContent page="1" ?>𝑁
60+
</mi>
61+
</mstyle>
62+
</math>
63+
</Formula>
64+
</text>
65+
</text-unit>
66+
</Document>
67+
</StructTreeRoot>
68+
</PDF>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
\DocumentMetadata
2+
{
3+
lang=en-US,
4+
pdfversion=2.0,
5+
pdfstandard=ua-2,
6+
tagging=on,
7+
tagging-setup={math/setup=mathml-SE},
8+
}
9+
\documentclass{article}
10+
11+
\UseName{sys_if_engine_opentype:T}{\usepackage{unicode-math}}
12+
\usepackage{relsize}
13+
14+
\title{relsize tagging test}
15+
16+
\begin{document}
17+
18+
% this is fine
19+
%$\mathsmaller{\int\frac{1}{2}dN}$
20+
21+
$\mathlarger{\int\frac{1}{2}dN}$
22+
23+
\end{document}

0 commit comments

Comments
 (0)