summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tagpdf')
-rw-r--r--macros/latex/contrib/tagpdf/README.md4
-rw-r--r--macros/latex/contrib/tagpdf/ex-AF-file.pdf118
-rw-r--r--macros/latex/contrib/tagpdf/ex-alt-actualtext.pdfbin34295 -> 34295 bytes
-rw-r--r--macros/latex/contrib/tagpdf/ex-attribute.pdf71
-rw-r--r--macros/latex/contrib/tagpdf/ex-formula-problem.pdf20
-rw-r--r--macros/latex/contrib/tagpdf/ex-list.pdf159
-rw-r--r--macros/latex/contrib/tagpdf/ex-mc-manual-para-split-obsolete.pdf16
-rw-r--r--macros/latex/contrib/tagpdf/ex-softhyphen.pdf18
-rw-r--r--macros/latex/contrib/tagpdf/ex-spaceglyph-listings.pdf18
-rw-r--r--macros/latex/contrib/tagpdf/ex-structure-obsolete.pdf18
-rw-r--r--macros/latex/contrib/tagpdf/ex-tagpdf-template.pdf83
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-backend.dtx10
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-checks.dtx46
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-code.pdfbin1626709 -> 1688215 bytes
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-data.dtx16
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx6
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx6
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx8
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-roles.dtx4
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-space.dtx4
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-struct.dtx100
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-tree.dtx64
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-user.dtx17
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf.dtx14
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf.pdfbin1158244 -> 1169481 bytes
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf.tex26
-rw-r--r--macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty14
-rw-r--r--macros/latex/contrib/tagpdf/tagpdfsetup-keys.tex4
28 files changed, 484 insertions, 380 deletions
diff --git a/macros/latex/contrib/tagpdf/README.md b/macros/latex/contrib/tagpdf/README.md
index 9f79f1623f..2dd2455fcf 100644
--- a/macros/latex/contrib/tagpdf/README.md
+++ b/macros/latex/contrib/tagpdf/README.md
@@ -1,6 +1,6 @@
#tagpdf β€” A package to create tagged pdf
-Packageversion: 0.98x
-Packagedate: 2024/02/29
+Packageversion: 0.99a
+Packagedate: 2024/03/27
Author: Ulrike Fischer, LaTeX Project Team
## License
diff --git a/macros/latex/contrib/tagpdf/ex-AF-file.pdf b/macros/latex/contrib/tagpdf/ex-AF-file.pdf
index 8c99d4f104..d60ba4c719 100644
--- a/macros/latex/contrib/tagpdf/ex-AF-file.pdf
+++ b/macros/latex/contrib/tagpdf/ex-AF-file.pdf
@@ -1,36 +1,36 @@
%PDF-2.0
%ΜΥΑΤΕΨΠΔΖ
22 0 obj
-<< /Subtype /application#2Fx-tex/Type /EmbeddedFile /Params<</ModDate (D:20240229165659+01'00') /Size 151 /CheckSum (495A2D9D94E80EE3D64D9E324C0E628E) >> /Length 151 >>
+<< /Subtype /application#2Fx-tex/Type /EmbeddedFile /Params<</ModDate (D:20240326123706+01'00') /Size 151 /CheckSum (9652490C9033E26580AB6BA3F517B009) >> /Length 151 >>
stream
%% LaTeX2e file `example-input-file.tex'
%% generated by the `filecontents' environment
-%% from source `ex-AF-file' on 2024/02/29.
+%% from source `ex-AF-file' on 2024/03/26.
%%
Additional info!
endstream
endobj
23 0 obj
-<< /Type /Filespec /AFRelationship /Unspecified /F <FEFF006500780061006D0070006C0065002D0069006E007000750074002D00660069006C0065002E007400650078> /UF <FEFF006500780061006D0070006C0065002D0069006E007000750074002D00660069006C0065002E007400650078> /EF<</F 22 0 R/UF 22 0 R>> >>
+<< /Type /Filespec /AFRelationship /Unspecified /F (example-input-file.tex) /UF <FEFF006500780061006D0070006C0065002D0069006E007000750074002D00660069006C0065002E007400650078> /EF<</F 22 0 R/UF 22 0 R>> >>
endobj
25 0 obj
-<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20240229) >> /Length 19 >>
+<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20240326) >> /Length 19 >>
stream
BΓ€r with teh shirt
endstream
endobj
26 0 obj
-<< /Type /Filespec /AFRelationship /Supplement /F <FEFF007400610067002D0041004600660069006C00650031002E007400780074> /UF <FEFF007400610067002D0041004600660069006C00650031002E007400780074> /EF<</F 25 0 R/UF 25 0 R>> >>
+<< /Type /Filespec /AFRelationship /Supplement /F (tag-AFfile1.txt) /UF <FEFF007400610067002D0041004600660069006C00650031002E007400780074> /EF<</F 25 0 R/UF 25 0 R>> >>
endobj
28 0 obj
-<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20240229) >> /Length 4 >>
+<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20240326) >> /Length 4 >>
stream
Duck
endstream
endobj
29 0 obj
-<< /Type /Filespec /AFRelationship /Supplement /F <FEFF007400610067002D0041004600660069006C00650032002E007400780074> /UF <FEFF007400610067002D0041004600660069006C00650032002E007400780074> /EF<</F 28 0 R/UF 28 0 R>> >>
+<< /Type /Filespec /AFRelationship /Supplement /F (tag-AFfile2.txt) /UF <FEFF007400610067002D0041004600660069006C00650032002E007400780074> /EF<</F 28 0 R/UF 28 0 R>> >>
endobj
31 0 obj
<< /Type /Metadata /Subtype /XML /Length 11382 >>
@@ -228,7 +228,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>2.0</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -242,17 +242,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T16:57:20+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:37:25+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-AF-file.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T16:57:20+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T16:57:20+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T16:57:20+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:37:25+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:37:25+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:37:25+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:38d5a844-2217-4081-87cc-b2129dc357a6</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:a7d1af3c-32df-45aa-8920-ce87378d2633</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:ad44a459-698d-4e23-82da-7687a47c02a1</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -347,25 +347,25 @@ endobj
<< /Type /Namespace /NS (https://www.latex-project.org/ns/book/2022) /RoleMapNS 18 0 R >>
endobj
19 0 obj
-<< /Type /Namespace /NS (data:,DEBE37CF-E291-AA2B-9859-8F75D4B0C463) >>
+<< /Type /Namespace /NS (data:,1E5AC41C-2554-3F25-6E65-E30725E676D0) >>
endobj
8 0 obj
[ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R ]
endobj
21 0 obj
-<< /Type /StructElem /S /Document /P 5 0 R /K [24 0 R 27 0 R 30 0 R] /NS 11 0 R /ID (ID.01) >>
+<< /Type /StructElem /S /Document /NS 11 0 R /P 5 0 R /K [24 0 R 27 0 R 30 0 R] /ID (ID.01) >>
endobj
24 0 obj
-<< /Type /StructElem /S /P /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 0>> /AF [26 0 R] /NS 11 0 R /ID (ID.02) >>
+<< /Type /StructElem /AF [26 0 R] /S /P /NS 11 0 R /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 0>> /ID (ID.02) >>
endobj
27 0 obj
-<< /Type /StructElem /S /P /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 1>> /AF [29 0 R] /NS 11 0 R /ID (ID.03) >>
+<< /Type /StructElem /AF [29 0 R] /S /P /NS 11 0 R /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 1>> /ID (ID.03) >>
endobj
30 0 obj
-<< /Type /StructElem /S /P /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 2>> /AF [23 0 R] /NS 11 0 R /ID (ID.04) >>
+<< /Type /StructElem /AF [23 0 R] /S /P /NS 11 0 R /P 21 0 R /K <</Type /MCR /Pg 33 0 R /MCID 2>> /ID (ID.04) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 21 0 R /IDTree 39 0 R /ParentTree 6 0 R /RoleMap 7 0 R /Namespaces 8 0 R >>
+<< /Type /StructTreeRoot /Namespaces 8 0 R /IDTree 39 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 21 0 R >>
endobj
40 0 obj
[ 28 [ 500 ] 49 [ 681 444 ] 63 [ 556 ] 66 [ 278 ] 72 [ 278 ] 75 [ 833 ] 77 [ 556 ] 81 [ 500 ] 88 [ 278 ] 97 [ 556 ] 103 [ 333 ] 105 [ 389 ] 108 [ 750 556 ] 120 [ 444 ] ]
@@ -449,59 +449,59 @@ endobj
<< /Type /Catalog /Pages 36 0 R /MarkInfo 37 0 R/Lang (de-DE)/Metadata 31 0 R/StructTreeRoot 5 0 R >>
endobj
46 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229165720+01'00')/ModDate (D:20240229165720+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326123725+01'00')/ModDate (D:20240326123725+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 47
0000000002 65535 f
-0000013712 00000 n
+0000013544 00000 n
0000000003 00000 f
0000000004 00000 f
0000000010 00000 f
-0000016530 00000 n
-0000013795 00000 n
-0000014006 00000 n
-0000015960 00000 n
-0000014585 00000 n
+0000016362 00000 n
+0000013627 00000 n
+0000013838 00000 n
+0000015792 00000 n
+0000014417 00000 n
0000000012 00000 f
-0000014653 00000 n
+0000014485 00000 n
0000000014 00000 f
-0000014723 00000 n
+0000014555 00000 n
0000000020 00000 f
-0000015486 00000 n
-0000014804 00000 n
-0000015764 00000 n
-0000015593 00000 n
-0000015871 00000 n
+0000015318 00000 n
+0000014636 00000 n
+0000015596 00000 n
+0000015425 00000 n
+0000015703 00000 n
0000000000 00000 f
-0000016021 00000 n
+0000015853 00000 n
0000000020 00000 n
0000000382 00000 n
-0000016134 00000 n
-0000000673 00000 n
-0000000828 00000 n
-0000016266 00000 n
-0000001062 00000 n
-0000001202 00000 n
-0000016398 00000 n
-0000001436 00000 n
-0000013649 00000 n
-0000013514 00000 n
-0000012908 00000 n
-0000020283 00000 n
-0000020637 00000 n
-0000013759 00000 n
-0000013852 00000 n
-0000013969 00000 n
-0000016650 00000 n
-0000019099 00000 n
-0000016836 00000 n
-0000019320 00000 n
-0000020437 00000 n
-0000020699 00000 n
-0000020817 00000 n
+0000015966 00000 n
+0000000603 00000 n
+0000000758 00000 n
+0000016098 00000 n
+0000000943 00000 n
+0000001083 00000 n
+0000016230 00000 n
+0000001268 00000 n
+0000013481 00000 n
+0000013346 00000 n
+0000012740 00000 n
+0000020115 00000 n
+0000020469 00000 n
+0000013591 00000 n
+0000013684 00000 n
+0000013801 00000 n
+0000016482 00000 n
+0000018931 00000 n
+0000016668 00000 n
+0000019152 00000 n
+0000020269 00000 n
+0000020531 00000 n
+0000020649 00000 n
trailer
-<< /Size 47 /Root 45 0 R /Info 46 0 R /ID [ <3ABB138A7AFFDC627AC73E4C733E69DE> <3ABB138A7AFFDC627AC73E4C733E69DE> ] >>
+<< /Size 47 /Root 45 0 R /Info 46 0 R /ID [ <84F6CFEAE9C5A0FD2B6A9EA6CD2F0427> <84F6CFEAE9C5A0FD2B6A9EA6CD2F0427> ] >>
startxref
-21040
+20872
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-alt-actualtext.pdf b/macros/latex/contrib/tagpdf/ex-alt-actualtext.pdf
index 1ae3bb7f5c..3287b8c4b7 100644
--- a/macros/latex/contrib/tagpdf/ex-alt-actualtext.pdf
+++ b/macros/latex/contrib/tagpdf/ex-alt-actualtext.pdf
Binary files differ
diff --git a/macros/latex/contrib/tagpdf/ex-attribute.pdf b/macros/latex/contrib/tagpdf/ex-attribute.pdf
index 81407f660d..040eb74831 100644
--- a/macros/latex/contrib/tagpdf/ex-attribute.pdf
+++ b/macros/latex/contrib/tagpdf/ex-attribute.pdf
@@ -202,7 +202,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.5</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -216,17 +216,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T16:58:16+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:38:18+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-attribute.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T16:58:16+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T16:58:16+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T16:58:16+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:38:18+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:38:18+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:38:18+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:7a9cf910-1c19-429a-8f24-339c62d8a57f</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:026f2f3b-0c57-4019-879b-e29556eddc06</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:01f40ebc-3025-46da-83d0-53b45ddca7a8</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -340,8 +340,9 @@ endobj
<< /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
-<< /Lay-borderdotted << <</O /Layout /Borderstyle /Dotted >> >>
-/TH-col << <</O /Table /Scope /Column>> >> >>
+<< /TH-col << <</O /Table /Scope /Column>> >>
+/Lay-borderdotted << <</O /Layout /Borderstyle /Dotted >> >>
+ >>
endobj
9 0 obj
<< /Type /StructElem /S /Document /P 5 0 R /K 10 0 R /ID (ID.001) >>
@@ -356,10 +357,10 @@ endobj
<< /Type /StructElem /S /TR /P 11 0 R /K [13 0 R 16 0 R] /ID (ID.004) >>
endobj
13 0 obj
-<< /Type /StructElem /S /TH /P 12 0 R /K <</Type /MCR /Pg 23 0 R /MCID 0>> /A [ 14 0 R 15 0 R] /ID (ID.005) >>
+<< /Type /StructElem /A [ 14 0 R 15 0 R] /S /TH /P 12 0 R /K <</Type /MCR /Pg 23 0 R /MCID 0>> /ID (ID.005) >>
endobj
16 0 obj
-<< /Type /StructElem /S /TH /P 12 0 R /K <</Type /MCR /Pg 23 0 R /MCID 1>> /C [/TH-col /Lay-borderdotted] /ID (ID.006) >>
+<< /Type /StructElem /C [/TH-col /Lay-borderdotted] /S /TH /P 12 0 R /K <</Type /MCR /Pg 23 0 R /MCID 1>> /ID (ID.006) >>
endobj
17 0 obj
<< /Type /StructElem /S /TBody /P 10 0 R /K 18 0 R /ID (ID.007) >>
@@ -374,7 +375,7 @@ endobj
<< /Type /StructElem /S /TD /P 18 0 R /K <</Type /MCR /Pg 23 0 R /MCID 3>> /ID (ID.010) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 29 0 R /ParentTree 6 0 R /RoleMap 7 0 R /ClassMap 30 0 R >>
+<< /Type /StructTreeRoot /IDTree 29 0 R /ClassMap 30 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
31 0 obj
[ 63 [ 556 ] 82 [ 500 ] 96 [ 392 ] 103 [ 333 ] 107 [ 500 ] ]
@@ -449,7 +450,7 @@ endobj
<< /Type /Catalog /Pages 26 0 R /MarkInfo 27 0 R/Lang (de_DE)/Metadata 21 0 R/StructTreeRoot 5 0 R >>
endobj
38 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/Title (Title)/CreationDate (D:20240229165816+01'00')/ModDate (D:20240229165816+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/Title (Title)/CreationDate (D:20240326123818+01'00')/ModDate (D:20240326123818+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 39
@@ -458,42 +459,42 @@ xref
0000000003 00000 f
0000000004 00000 f
0000000008 00000 f
-0000014964 00000 n
+0000014965 00000 n
0000012928 00000 n
0000013247 00000 n
0000000000 00000 f
-0000013952 00000 n
-0000014037 00000 n
-0000014129 00000 n
-0000014213 00000 n
-0000014303 00000 n
+0000013953 00000 n
+0000014038 00000 n
+0000014130 00000 n
+0000014214 00000 n
+0000014304 00000 n
0000000020 00000 n
0000000071 00000 n
-0000014432 00000 n
-0000014572 00000 n
-0000014656 00000 n
-0000014746 00000 n
-0000014855 00000 n
+0000014433 00000 n
+0000014573 00000 n
+0000014657 00000 n
+0000014747 00000 n
+0000014856 00000 n
0000000132 00000 n
0000012758 00000 n
0000012616 00000 n
0000011606 00000 n
-0000017304 00000 n
-0000017658 00000 n
+0000017305 00000 n
+0000017659 00000 n
0000012892 00000 n
0000012992 00000 n
0000013210 00000 n
0000013826 00000 n
-0000015082 00000 n
-0000016260 00000 n
-0000015159 00000 n
-0000015233 00000 n
-0000016496 00000 n
-0000017458 00000 n
-0000017720 00000 n
-0000017838 00000 n
+0000015083 00000 n
+0000016261 00000 n
+0000015160 00000 n
+0000015234 00000 n
+0000016497 00000 n
+0000017459 00000 n
+0000017721 00000 n
+0000017839 00000 n
trailer
-<< /Size 39 /Root 37 0 R /Info 38 0 R /ID [ <EFA35BDF0718F346C6027929BFFC53C8> <EFA35BDF0718F346C6027929BFFC53C8> ] >>
+<< /Size 39 /Root 37 0 R /Info 38 0 R /ID [ <7CB01A17A29E54AFE61F74619149BAA2> <7CB01A17A29E54AFE61F74619149BAA2> ] >>
startxref
-18075
+18076
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-formula-problem.pdf b/macros/latex/contrib/tagpdf/ex-formula-problem.pdf
index 5d3323be0d..b6d83ea778 100644
--- a/macros/latex/contrib/tagpdf/ex-formula-problem.pdf
+++ b/macros/latex/contrib/tagpdf/ex-formula-problem.pdf
@@ -225,7 +225,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.7</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -239,17 +239,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T16:58:45+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:38:44+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-formula-problem.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T16:58:45+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T16:58:45+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T16:58:45+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:38:44+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:38:44+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:38:44+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:8eb2ce1d-b2ec-440a-8bc2-73733eb3eeb0</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:65ad365f-5035-4b6f-823a-616444d2fc32</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:ddd0eb59-f589-4121-8907-771096906955</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>2</prism:pageCount>
</rdf:Description>
@@ -330,10 +330,10 @@ endobj
<< /Type /StructElem /S /P /P 9 0 R /K <</Type /MCR /Pg 21 0 R /MCID 0>> /ID (ID.04) >>
endobj
18 0 obj
-<< /Type /StructElem /S /Formula /P 9 0 R /K <</Type /MCR /Pg 21 0 R /MCID 1>> /Alt <FEFF00440069006500730020006900730074002000650069006E00650020007A0077006500690074006500200046006F0072006D0065006C> /ID (ID.05) >>
+<< /Type /StructElem /Alt <FEFF00440069006500730020006900730074002000650069006E00650020007A0077006500690074006500200046006F0072006D0065006C> /S /Formula /P 9 0 R /K <</Type /MCR /Pg 21 0 R /MCID 1>> /ID (ID.05) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 25 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<< /Type /StructTreeRoot /IDTree 25 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
26 0 obj
[ 28 [ 500 ] 49 [ 681 444 ] 55 [ 306 ] 63 [ 556 ] 66 [ 278 ] 72 [ 278 ] 75 [ 833 ] 77 [ 556 ] 81 [ 500 ] 88 [ 278 ] 96 [ 392 556 ] 103 [ 333 ] 105 [ 389 ] 108 [ 750 556 ] 120 [ 444 ] ]
@@ -425,7 +425,7 @@ endobj
<< /Type /Catalog /Pages 16 0 R /MarkInfo 23 0 R/Lang (de-DE)/Metadata 19 0 R/StructTreeRoot 5 0 R >>
endobj
33 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229165845+01'00')/ModDate (D:20240229165845+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326123844+01'00')/ModDate (D:20240326123844+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 34
@@ -464,7 +464,7 @@ xref
0000018886 00000 n
0000019004 00000 n
trailer
-<< /Size 34 /Root 32 0 R /Info 33 0 R /ID [ <A69C4639C1B33587FF58357D4BC20044> <A69C4639C1B33587FF58357D4BC20044> ] >>
+<< /Size 34 /Root 32 0 R /Info 33 0 R /ID [ <261B190B1D69BD2C62C12E52CE4751E9> <261B190B1D69BD2C62C12E52CE4751E9> ] >>
startxref
19227
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-list.pdf b/macros/latex/contrib/tagpdf/ex-list.pdf
index c382fd3d0a..ccb7061fda 100644
--- a/macros/latex/contrib/tagpdf/ex-list.pdf
+++ b/macros/latex/contrib/tagpdf/ex-list.pdf
@@ -196,7 +196,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.7</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -210,17 +210,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T16:59:15+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:39:11+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-list.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T16:59:15+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T16:59:15+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T16:59:15+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:39:11+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:39:11+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:39:11+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:4c749825-1de7-414c-879f-29e4d0bef66e</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:f0eb81b5-3e25-4af9-8dad-0fe978dae692</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:265453a1-69b8-4a8b-89ff-82f48c105aba</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -348,10 +348,11 @@ endobj
<< /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 /H2 /subsection /H3 /subsubsection /H4 /paragraph /H5 /subparagraph /H6 /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 /chapter /H1 >>
endobj
58 0 obj
-<< /justify <</O/Layout/TextAlign/Justify>>
-/description <</O/List/ListNumbering/Description>>
+<< /itemize <</O/List/ListNumbering/Unordered>>
+/justify <</O/Layout/TextAlign/Justify>>
/enumerate <</O/List/ListNumbering/Ordered>>
-/itemize <</O/List/ListNumbering/Unordered>> >>
+/description <</O/List/ListNumbering/Description>>
+ >>
endobj
9 0 obj
<< /Type /StructElem /S /Document /P 5 0 R /K [12 0 R 24 0 R 36 0 R] /ID (ID.001) >>
@@ -366,7 +367,7 @@ endobj
<< /Type /StructElem /S /text-unit /P 9 0 R /K 13 0 R /ID (ID.004) >>
endobj
13 0 obj
-<< /Type /StructElem /S /itemize /P 12 0 R /K [14 0 R 19 0 R] /C /itemize /ID (ID.005) >>
+<< /Type /StructElem /C /itemize /S /itemize /P 12 0 R /K [14 0 R 19 0 R] /ID (ID.005) >>
endobj
14 0 obj
<< /Type /StructElem /S /LI /P 13 0 R /K [15 0 R 16 0 R] /ID (ID.006) >>
@@ -381,7 +382,7 @@ endobj
<< /Type /StructElem /S /text-unit /P 16 0 R /K 18 0 R /ID (ID.009) >>
endobj
18 0 obj
-<< /Type /StructElem /S /text /P 17 0 R /K <</Type /MCR /Pg 50 0 R /MCID 1>> /C /justify /ID (ID.010) >>
+<< /Type /StructElem /C /justify /S /text /P 17 0 R /K <</Type /MCR /Pg 50 0 R /MCID 1>> /ID (ID.010) >>
endobj
19 0 obj
<< /Type /StructElem /S /LI /P 13 0 R /K [20 0 R 21 0 R] /ID (ID.011) >>
@@ -396,13 +397,13 @@ endobj
<< /Type /StructElem /S /text-unit /P 21 0 R /K 23 0 R /ID (ID.014) >>
endobj
23 0 obj
-<< /Type /StructElem /S /text /P 22 0 R /K <</Type /MCR /Pg 50 0 R /MCID 3>> /C /justify /ID (ID.015) >>
+<< /Type /StructElem /C /justify /S /text /P 22 0 R /K <</Type /MCR /Pg 50 0 R /MCID 3>> /ID (ID.015) >>
endobj
24 0 obj
<< /Type /StructElem /S /text-unit /P 9 0 R /K 25 0 R /ID (ID.016) >>
endobj
25 0 obj
-<< /Type /StructElem /S /enumerate /P 24 0 R /K [26 0 R 31 0 R] /C /enumerate /ID (ID.017) >>
+<< /Type /StructElem /C /enumerate /S /enumerate /P 24 0 R /K [26 0 R 31 0 R] /ID (ID.017) >>
endobj
26 0 obj
<< /Type /StructElem /S /LI /P 25 0 R /K [27 0 R 28 0 R] /ID (ID.018) >>
@@ -417,7 +418,7 @@ endobj
<< /Type /StructElem /S /text-unit /P 28 0 R /K 30 0 R /ID (ID.021) >>
endobj
30 0 obj
-<< /Type /StructElem /S /text /P 29 0 R /K <</Type /MCR /Pg 50 0 R /MCID 5>> /C /justify /ID (ID.022) >>
+<< /Type /StructElem /C /justify /S /text /P 29 0 R /K <</Type /MCR /Pg 50 0 R /MCID 5>> /ID (ID.022) >>
endobj
31 0 obj
<< /Type /StructElem /S /LI /P 25 0 R /K [32 0 R 33 0 R] /ID (ID.023) >>
@@ -432,13 +433,13 @@ endobj
<< /Type /StructElem /S /text-unit /P 33 0 R /K 35 0 R /ID (ID.026) >>
endobj
35 0 obj
-<< /Type /StructElem /S /text /P 34 0 R /K <</Type /MCR /Pg 50 0 R /MCID 7>> /C /justify /ID (ID.027) >>
+<< /Type /StructElem /C /justify /S /text /P 34 0 R /K <</Type /MCR /Pg 50 0 R /MCID 7>> /ID (ID.027) >>
endobj
36 0 obj
<< /Type /StructElem /S /text-unit /P 9 0 R /K 37 0 R /ID (ID.028) >>
endobj
37 0 obj
-<< /Type /StructElem /S /description /P 36 0 R /K [38 0 R 43 0 R] /C /description /ID (ID.029) >>
+<< /Type /StructElem /C /description /S /description /P 36 0 R /K [38 0 R 43 0 R] /ID (ID.029) >>
endobj
38 0 obj
<< /Type /StructElem /S /LI /P 37 0 R /K [39 0 R 40 0 R] /ID (ID.030) >>
@@ -453,7 +454,7 @@ endobj
<< /Type /StructElem /S /text-unit /P 40 0 R /K 42 0 R /ID (ID.033) >>
endobj
42 0 obj
-<< /Type /StructElem /S /text /P 41 0 R /K <</Type /MCR /Pg 50 0 R /MCID 9>> /C /justify /ID (ID.034) >>
+<< /Type /StructElem /C /justify /S /text /P 41 0 R /K <</Type /MCR /Pg 50 0 R /MCID 9>> /ID (ID.034) >>
endobj
43 0 obj
<< /Type /StructElem /S /LI /P 37 0 R /K [44 0 R 45 0 R] /ID (ID.035) >>
@@ -468,10 +469,10 @@ endobj
<< /Type /StructElem /S /text-unit /P 45 0 R /K 47 0 R /ID (ID.038) >>
endobj
47 0 obj
-<< /Type /StructElem /S /text /P 46 0 R /K <</Type /MCR /Pg 50 0 R /MCID 11>> /C /justify /ID (ID.039) >>
+<< /Type /StructElem /C /justify /S /text /P 46 0 R /K <</Type /MCR /Pg 50 0 R /MCID 11>> /ID (ID.039) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 57 0 R /ParentTree 6 0 R /RoleMap 7 0 R /ClassMap 58 0 R >>
+<< /Type /StructTreeRoot /IDTree 57 0 R /ClassMap 58 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
59 0 obj
[ 28 [ 559 ] 43 [ 511 ] 47 [ 639 ] 70 [ 607 ] 75 [ 958 ] 81 [ 575 ] 96 [ 474 ] 98 [ 454 ] 105 [ 447 ] 109 [ 639 ] ]
@@ -653,7 +654,7 @@ endobj
<< /Type /Catalog /Pages 54 0 R /MarkInfo 55 0 R/Lang (en-US)/Metadata 48 0 R/StructTreeRoot 5 0 R >>
endobj
72 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229165915+01'00')/ModDate (D:20240229165915+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326123911+01'00')/ModDate (D:20240326123911+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 73
@@ -662,76 +663,76 @@ xref
0000000003 00000 f
0000000004 00000 f
0000000008 00000 f
-0000019049 00000 n
+0000019050 00000 n
0000013595 00000 n
0000014434 00000 n
0000000000 00000 f
-0000015230 00000 n
-0000015331 00000 n
-0000015407 00000 n
-0000015483 00000 n
-0000015570 00000 n
-0000015677 00000 n
-0000015767 00000 n
-0000015877 00000 n
-0000015961 00000 n
-0000016049 00000 n
-0000016172 00000 n
-0000016262 00000 n
-0000016372 00000 n
-0000016456 00000 n
-0000016544 00000 n
-0000016667 00000 n
-0000016754 00000 n
-0000016865 00000 n
-0000016955 00000 n
-0000017065 00000 n
-0000017149 00000 n
-0000017237 00000 n
-0000017360 00000 n
-0000017450 00000 n
-0000017560 00000 n
-0000017644 00000 n
-0000017732 00000 n
-0000017855 00000 n
-0000017942 00000 n
-0000018057 00000 n
-0000018147 00000 n
-0000018257 00000 n
-0000018341 00000 n
-0000018429 00000 n
-0000018552 00000 n
-0000018642 00000 n
-0000018753 00000 n
-0000018837 00000 n
-0000018925 00000 n
+0000015231 00000 n
+0000015332 00000 n
+0000015408 00000 n
+0000015484 00000 n
+0000015571 00000 n
+0000015678 00000 n
+0000015768 00000 n
+0000015878 00000 n
+0000015962 00000 n
+0000016050 00000 n
+0000016173 00000 n
+0000016263 00000 n
+0000016373 00000 n
+0000016457 00000 n
+0000016545 00000 n
+0000016668 00000 n
+0000016755 00000 n
+0000016866 00000 n
+0000016956 00000 n
+0000017066 00000 n
+0000017150 00000 n
+0000017238 00000 n
+0000017361 00000 n
+0000017451 00000 n
+0000017561 00000 n
+0000017645 00000 n
+0000017733 00000 n
+0000017856 00000 n
+0000017943 00000 n
+0000018058 00000 n
+0000018148 00000 n
+0000018258 00000 n
+0000018342 00000 n
+0000018430 00000 n
+0000018553 00000 n
+0000018643 00000 n
+0000018754 00000 n
+0000018838 00000 n
+0000018926 00000 n
0000000020 00000 n
0000013413 00000 n
0000013271 00000 n
0000011489 00000 n
-0000029176 00000 n
-0000022224 00000 n
-0000029530 00000 n
+0000029177 00000 n
+0000022225 00000 n
+0000029531 00000 n
0000013559 00000 n
0000013715 00000 n
0000014397 00000 n
0000015026 00000 n
-0000019167 00000 n
-0000021126 00000 n
-0000019299 00000 n
-0000019373 00000 n
-0000021360 00000 n
-0000022375 00000 n
-0000022572 00000 n
-0000027711 00000 n
-0000022908 00000 n
-0000023031 00000 n
-0000027947 00000 n
-0000029330 00000 n
-0000029592 00000 n
-0000029710 00000 n
+0000019168 00000 n
+0000021127 00000 n
+0000019300 00000 n
+0000019374 00000 n
+0000021361 00000 n
+0000022376 00000 n
+0000022573 00000 n
+0000027712 00000 n
+0000022909 00000 n
+0000023032 00000 n
+0000027948 00000 n
+0000029331 00000 n
+0000029593 00000 n
+0000029711 00000 n
trailer
-<< /Size 73 /Root 71 0 R /Info 72 0 R /ID [ <C14D948DE481E29946892F7479C5E344> <C14D948DE481E29946892F7479C5E344> ] >>
+<< /Size 73 /Root 71 0 R /Info 72 0 R /ID [ <DD835FC309C51639C698863462290382> <DD835FC309C51639C698863462290382> ] >>
startxref
-29933
+29934
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-mc-manual-para-split-obsolete.pdf b/macros/latex/contrib/tagpdf/ex-mc-manual-para-split-obsolete.pdf
index 489fdd4e6a..652800313d 100644
--- a/macros/latex/contrib/tagpdf/ex-mc-manual-para-split-obsolete.pdf
+++ b/macros/latex/contrib/tagpdf/ex-mc-manual-para-split-obsolete.pdf
@@ -229,7 +229,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.7</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -243,17 +243,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T16:59:41+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:39:35+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-mc-manual-para-split-obsolete.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T16:59:41+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T16:59:41+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T16:59:41+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:39:35+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:39:35+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:39:35+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:c33d64b4-96ec-4e48-8f27-0b3edc831547</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:f5078816-e0bc-4925-8018-205f0f0cb53a</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:12bee4ab-8ca2-46c2-859d-4cd10811d754</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>2</prism:pageCount>
</rdf:Description>
@@ -413,7 +413,7 @@ endobj
<< /Type /Catalog /Pages 14 0 R /Lang (en-US)/Metadata 15 0 R >>
endobj
25 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229165941+01'00')/ModDate (D:20240229165941+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326123935+01'00')/ModDate (D:20240326123935+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 26
@@ -444,7 +444,7 @@ xref
0000023897 00000 n
0000023978 00000 n
trailer
-<< /Size 26 /Root 24 0 R /Info 25 0 R /ID [ <4619D94AD7710EDDACE7704934588499> <4619D94AD7710EDDACE7704934588499> ] >>
+<< /Size 26 /Root 24 0 R /Info 25 0 R /ID [ <57215501A1810E2849ED12EDF63B1113> <57215501A1810E2849ED12EDF63B1113> ] >>
startxref
24201
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-softhyphen.pdf b/macros/latex/contrib/tagpdf/ex-softhyphen.pdf
index 30dfc66660..a720c2fbb0 100644
--- a/macros/latex/contrib/tagpdf/ex-softhyphen.pdf
+++ b/macros/latex/contrib/tagpdf/ex-softhyphen.pdf
@@ -196,7 +196,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.7</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -210,17 +210,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T17:00:06+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:39:57+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-softhyphen.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T17:00:06+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T17:00:06+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T17:00:06+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:39:57+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:39:57+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:39:57+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:aa82e685-4098-469d-861c-3c45dfc700c7</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:eb8da107-1f5f-411e-8f72-fe6bc0a4628a</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:f76d8e6c-0c4b-405b-84b2-774e0fc02ef3</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -308,7 +308,7 @@ endobj
<< /Type /StructElem /S /text /P 12 0 R /K <</Type /MCR /Pg 16 0 R /MCID 1>> /ID (ID.05) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 22 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<< /Type /StructTreeRoot /IDTree 22 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
23 0 obj
[ 1 [ 250 ] 14 [ 333 ] 46 [ 946 ] 66 [ 500 ] 69 [ 611 479 ] 74 [ 287 ] 79 [ 582 ] 81 [ 601 ] 83 [ 395 424 326 ] 193 [ 500 ] 909 [ 333 ] ]
@@ -393,7 +393,7 @@ endobj
<< /Type /Catalog /Pages 19 0 R /MarkInfo 20 0 R/Lang (en-US)/Metadata 14 0 R/StructTreeRoot 5 0 R >>
endobj
30 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229170006+01'00')/ModDate (D:20240229170006+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326123957+01'00')/ModDate (D:20240326123957+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 31
@@ -429,7 +429,7 @@ xref
0000018116 00000 n
0000018234 00000 n
trailer
-<< /Size 31 /Root 29 0 R /Info 30 0 R /ID [ <CD7B0F9595EF0FC1AADE46FC37AC5B69> <CD7B0F9595EF0FC1AADE46FC37AC5B69> ] >>
+<< /Size 31 /Root 29 0 R /Info 30 0 R /ID [ <95EFC9564CFCC32D88728B22057337B9> <95EFC9564CFCC32D88728B22057337B9> ] >>
startxref
18457
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.pdf b/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.pdf
index eab351a09f..02d1bce7c7 100644
--- a/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.pdf
+++ b/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.pdf
@@ -196,7 +196,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.5</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -210,17 +210,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T17:00:29+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:40:18+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-spaceglyph-listings.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T17:00:29+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T17:00:29+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T17:00:29+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:40:18+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:40:18+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:40:18+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:acdc2435-bf29-4e54-8d09-1c9b6dc32038</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:8f1de585-e600-4836-82a5-c76f286e0ac4</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:1904eb5f-c1d3-4914-8986-45c554fbcee7</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -281,7 +281,7 @@ endobj
<< /Type /StructElem /S /Document /P 5 0 R /ID (ID.01) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 18 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<< /Type /StructTreeRoot /IDTree 18 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
19 0 obj
[ 28 [ 500 ] 103 [ 333 ] 116 [ 528 ] ]
@@ -354,7 +354,7 @@ endobj
<< /Type /Catalog /Pages 15 0 R /MarkInfo 16 0 R/Lang (en-US)/Metadata 10 0 R/StructTreeRoot 5 0 R >>
endobj
26 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229170029+01'00')/ModDate (D:20240229170029+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326124018+01'00')/ModDate (D:20240326124018+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 27
@@ -386,7 +386,7 @@ xref
0000015488 00000 n
0000015606 00000 n
trailer
-<< /Size 27 /Root 25 0 R /Info 26 0 R /ID [ <AFB826CD3D30C05DC4F3B51DC9E92057> <AFB826CD3D30C05DC4F3B51DC9E92057> ] >>
+<< /Size 27 /Root 25 0 R /Info 26 0 R /ID [ <EBDBDB8D5C131E564E06F4C3F1685152> <EBDBDB8D5C131E564E06F4C3F1685152> ] >>
startxref
15829
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-structure-obsolete.pdf b/macros/latex/contrib/tagpdf/ex-structure-obsolete.pdf
index e406398e00..8cdd375048 100644
--- a/macros/latex/contrib/tagpdf/ex-structure-obsolete.pdf
+++ b/macros/latex/contrib/tagpdf/ex-structure-obsolete.pdf
@@ -196,7 +196,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>1.7</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -210,17 +210,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T17:00:54+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:40:40+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-structure-obsolete.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T17:00:54+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T17:00:54+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T17:00:54+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:40:40+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:40:40+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:40:40+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:bf5e4a2b-cfa9-4fc5-878c-8f9d2ee95445</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:ef68407b-0075-4b8e-8cfa-a9571558f263</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:32de8dd7-b94e-4d73-8082-8944bacf31fe</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -358,7 +358,7 @@ endobj
<< /Type /StructElem /S /LBody /P 17 0 R /K <</Type /MCR /Pg 22 0 R /MCID 5>> /ID (ID.011) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 9 0 R /IDTree 29 0 R /ParentTree 6 0 R /RoleMap 7 0 R >>
+<< /Type /StructTreeRoot /IDTree 29 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 9 0 R >>
endobj
30 0 obj
[ 28 [ 500 ] 35 [ 556 ] 47 [ 556 ] 50 [ 444 ] 59 [ 500 ] 63 [ 556 ] 66 [ 278 ] 71 [ 625 ] 75 [ 833 ] 77 [ 556 ] 81 [ 500 500 ] 84 [ 556 ] 88 [ 278 ] 96 [ 392 ] 98 [ 394 ] 103 [ 333 ] 105 [ 389 ] 107 [ 500 ] 116 [ 528 ] 118 [ 528 ] ]
@@ -526,7 +526,7 @@ endobj
<< /Type /Catalog /Pages 26 0 R /MarkInfo 27 0 R/Lang (en-US)/Metadata 20 0 R/StructTreeRoot 5 0 R >>
endobj
43 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229170054+01'00')/ModDate (D:20240229170054+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326124040+01'00')/ModDate (D:20240326124040+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 44
@@ -575,7 +575,7 @@ xref
0000023426 00000 n
0000023544 00000 n
trailer
-<< /Size 44 /Root 42 0 R /Info 43 0 R /ID [ <D9996F08D070845D6F6E2AA2AFD6D99B> <D9996F08D070845D6F6E2AA2AFD6D99B> ] >>
+<< /Size 44 /Root 42 0 R /Info 43 0 R /ID [ <3FCC1FA6E2ABE954C0528DFC6D779B79> <3FCC1FA6E2ABE954C0528DFC6D779B79> ] >>
startxref
23767
%%EOF
diff --git a/macros/latex/contrib/tagpdf/ex-tagpdf-template.pdf b/macros/latex/contrib/tagpdf/ex-tagpdf-template.pdf
index 557d145271..f37921e4b8 100644
--- a/macros/latex/contrib/tagpdf/ex-tagpdf-template.pdf
+++ b/macros/latex/contrib/tagpdf/ex-tagpdf-template.pdf
@@ -196,7 +196,7 @@ stream
</rdf:li>
</rdf:Bag>
</pdfaExtension:schemas>
- <pdf:Producer>luahbtex-1.17.0</pdf:Producer>
+ <pdf:Producer>luahbtex-1.18.0</pdf:Producer>
<pdf:PDFVersion>2.0</pdf:PDFVersion>
<dc:type>
<rdf:Bag>
@@ -210,17 +210,17 @@ stream
</dc:language>
<dc:date>
<rdf:Seq>
- <rdf:li>2024-02-29T17:01:20+01:00</rdf:li>
+ <rdf:li>2024-03-26T12:41:03+01:00</rdf:li>
</rdf:Seq>
</dc:date>
<dc:format>application/pdf</dc:format>
<dc:source>ex-tagpdf-template.tex</dc:source>
<xmp:CreatorTool>LaTeX</xmp:CreatorTool>
- <xmp:CreateDate>2024-02-29T17:01:20+01:00</xmp:CreateDate>
- <xmp:ModifyDate>2024-02-29T17:01:20+01:00</xmp:ModifyDate>
- <xmp:MetadataDate>2024-02-29T17:01:20+01:00</xmp:MetadataDate>
+ <xmp:CreateDate>2024-03-26T12:41:03+01:00</xmp:CreateDate>
+ <xmp:ModifyDate>2024-03-26T12:41:03+01:00</xmp:ModifyDate>
+ <xmp:MetadataDate>2024-03-26T12:41:03+01:00</xmp:MetadataDate>
<xmpMM:DocumentID>uuid:f320abfc-f6ab-4d12-8719-d176f4d947cf</xmpMM:DocumentID>
- <xmpMM:InstanceID>uuid:db592c31-57b1-4b03-8ad9-0f2ed0291c7a</xmpMM:InstanceID>
+ <xmpMM:InstanceID>uuid:84306d89-0443-4615-8b86-67eb3a82fb4c</xmpMM:InstanceID>
<prism:complianceProfile>three</prism:complianceProfile>
<prism:pageCount>1</prism:pageCount>
</rdf:Description>
@@ -282,7 +282,8 @@ endobj
<< /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
35 0 obj
-<< /justify <</O/Layout/TextAlign/Justify>> >>
+<< /justify <</O/Layout/TextAlign/Justify>>
+ >>
endobj
9 0 obj
<< /Type /Namespace /NS (http://iso.org/pdf/ssn) >>
@@ -306,28 +307,28 @@ endobj
<< /Type /Namespace /NS (https://www.latex-project.org/ns/book/2022) /RoleMapNS 18 0 R >>
endobj
19 0 obj
-<< /Type /Namespace /NS (data:,6C8EEC8F-449A-97BB-7B8E-86F81B43D9B) >>
+<< /Type /Namespace /NS (data:,626E17C6-5B4F-1E3-226B-789BC1772C4D) >>
endobj
8 0 obj
[ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R ]
endobj
21 0 obj
-<< /Type /StructElem /S /Document /P 5 0 R /K 24 0 R /NS 11 0 R /ID (ID.01) >>
+<< /Type /StructElem /S /Document /NS 11 0 R /P 5 0 R /K 24 0 R /ID (ID.01) >>
endobj
22 0 obj
-<< /Type /StructElem /S /Artifact /P 5 0 R /NS 15 0 R /ID (ID.02) >>
+<< /Type /StructElem /S /Artifact /NS 15 0 R /P 5 0 R /ID (ID.02) >>
endobj
23 0 obj
-<< /Type /StructElem /S /Artifact /P 5 0 R /NS 15 0 R /ID (ID.03) >>
+<< /Type /StructElem /S /Artifact /NS 15 0 R /P 5 0 R /ID (ID.03) >>
endobj
24 0 obj
-<< /Type /StructElem /S /text-unit /P 21 0 R /K 25 0 R /NS 15 0 R /ID (ID.04) >>
+<< /Type /StructElem /S /text-unit /NS 15 0 R /P 21 0 R /K 25 0 R /ID (ID.04) >>
endobj
25 0 obj
-<< /Type /StructElem /S /text /P 24 0 R /K <</Type /MCR /Pg 28 0 R /MCID 0>> /C /justify /NS 15 0 R /ID (ID.05) >>
+<< /Type /StructElem /C /justify /S /text /NS 15 0 R /P 24 0 R /K <</Type /MCR /Pg 28 0 R /MCID 0>> /ID (ID.05) >>
endobj
5 0 obj
-<< /Type /StructTreeRoot /K 21 0 R /IDTree 34 0 R /ParentTree 6 0 R /RoleMap 7 0 R /ClassMap 35 0 R /Namespaces 8 0 R >>
+<< /Type /StructTreeRoot /Namespaces 8 0 R /IDTree 34 0 R /ClassMap 35 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 21 0 R >>
endobj
36 0 obj
[ 28 [ 500 ] 59 [ 500 ] 63 [ 556 ] 84 [ 556 ] 96 [ 392 ] 103 [ 333 ] ]
@@ -398,7 +399,7 @@ endobj
<< /Type /Catalog /Pages 31 0 R /MarkInfo 32 0 R/Lang (en-US)/Metadata 26 0 R/StructTreeRoot 5 0 R >>
endobj
42 0 obj
-<< /Producer (luahbtex-1.17.0)/Creator (LaTeX)/CreationDate (D:20240229170120+01'00')/ModDate (D:20240229170120+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.17.0 (TeX Live 2023)) >>
+<< /Producer (luahbtex-1.18.0)/Creator (LaTeX)/CreationDate (D:20240326124103+01'00')/ModDate (D:20240326124103+01'00') /Trapped /False /PTEX.FullBanner (This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)) >>
endobj
xref
0 43
@@ -407,46 +408,46 @@ xref
0000000003 00000 f
0000000004 00000 f
0000000010 00000 f
-0000014806 00000 n
+0000014807 00000 n
0000012015 00000 n
0000012225 00000 n
-0000014241 00000 n
-0000012867 00000 n
+0000014242 00000 n
+0000012868 00000 n
0000000012 00000 f
-0000012935 00000 n
+0000012936 00000 n
0000000014 00000 f
-0000013005 00000 n
+0000013006 00000 n
0000000020 00000 f
-0000013768 00000 n
-0000013086 00000 n
-0000014046 00000 n
-0000013875 00000 n
-0000014153 00000 n
+0000013769 00000 n
+0000013087 00000 n
+0000014047 00000 n
+0000013876 00000 n
+0000014154 00000 n
0000000000 00000 f
-0000014302 00000 n
-0000014399 00000 n
-0000014486 00000 n
-0000014573 00000 n
-0000014672 00000 n
+0000014303 00000 n
+0000014400 00000 n
+0000014487 00000 n
+0000014574 00000 n
+0000014673 00000 n
0000000020 00000 n
0000011869 00000 n
0000011734 00000 n
0000011500 00000 n
-0000017427 00000 n
-0000017781 00000 n
+0000017428 00000 n
+0000017782 00000 n
0000011979 00000 n
0000012056 00000 n
0000012188 00000 n
0000012804 00000 n
-0000014943 00000 n
-0000016384 00000 n
-0000015030 00000 n
-0000016605 00000 n
-0000017581 00000 n
-0000017843 00000 n
-0000017961 00000 n
+0000014944 00000 n
+0000016385 00000 n
+0000015031 00000 n
+0000016606 00000 n
+0000017582 00000 n
+0000017844 00000 n
+0000017962 00000 n
trailer
-<< /Size 43 /Root 41 0 R /Info 42 0 R /ID [ <AE9962F364939F85E535CAC1752834D1> <AE9962F364939F85E535CAC1752834D1> ] >>
+<< /Size 43 /Root 41 0 R /Info 42 0 R /ID [ <4E141C6BCFC9003D8E382C7DD3DAFCC7> <4E141C6BCFC9003D8E382C7DD3DAFCC7> ] >>
startxref
-18184
+18185
%%EOF
diff --git a/macros/latex/contrib/tagpdf/tagpdf-backend.dtx b/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
index 7640251892..e15316252e 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2024-02-29} {0.98x}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-03-27} {0.99a}
{tagpdf~driver~for~luatex}
% \end{macrocode}
% \section{Loading the lua}
@@ -164,8 +164,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.98x", --TAGVERSION
- date = "2024-02-29", --TAGDATE
+ version = "0.99a", --TAGVERSION
+ date = "2024-03-27", --TAGDATE
description = "tagpdf lua code",
license = "The LATEX Project Public License 1.3c"
}
@@ -704,7 +704,7 @@ end
% TODO: is uses internal l3pdf commands, this should be properly supported by l3pdf
% \begin{macrocode}
local function @@_pdf_object_ref (name)
- local tokenname = 'c__pdf_backend_object_'..name..'_int'
+ local tokenname = 'c__pdf_object_'..name..'_int'
local object = token.create(tokenname).mode ..' 0 R'
return object
end
diff --git a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
index d92c8b36e5..63b0185c47 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-checks.dtx
@@ -48,7 +48,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \section{Commands}
@@ -295,7 +295,11 @@
% if there are (beside Root) other open structures on the stack.
% \end{function}
%
-
+% \begin{function}{tree-statistic}
+% Message issued at the end of the compilation
+% showing the number of objects to write
+% \end{function}
+%
% \begin{function}{show-struct,show-kids}
% These two messages are used in debug mode
% to show the current structures in the log and terminal.
@@ -327,7 +331,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-checks-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-checks-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to checks, conditionals, debugging and messages}
%</header>
% \end{macrocode}
@@ -461,6 +465,22 @@
The~structures~are~automatically~closed,\\
but~their~nesting~can~be~wrong.
}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{tree-statistic}
+% Message issued at the end showing the estimated number of
+% structures and MC-childs
+% \begin{macrocode}
+\msg_new:nnn { tag } {tree-statistic}
+ {
+ Finalizing~the~tagging~structure:\\
+ Writing~out~\c_tilde_str
+ \int_use:N\c@g_@@_struct_abs_int\c_space_tl~structure~objects\\
+ with~\c_tilde_str
+ \int_use:N\c@g_@@_MCID_abs_int\c_space_tl'MC'~leaf~nodes.\\
+ Be~patient~if~there~are~lots~of~objects!
+ }
%</package>
% \end{macrocode}
% \end{macro}
@@ -1128,5 +1148,25 @@
% \begin{macrocode}
%</debug>
% \end{macrocode}
+%
+% \subsection{Benchmarks}
+% It doesn't make much sense to do benchmarks in debug mode or in combination
+% with a log-level as this would slow down the compilation.
+% So we add simple commands that can be activated if l3benchmark has been loaded.
+% TODO: is a warning needed?
+% \begin{macrocode}
+%<*package>
+\cs_new_protected:Npn \@@_check_benchmark_tic:{}
+\cs_new_protected:Npn \@@_check_benchmark_toc:{}
+\cs_new_protected:Npn \tag_check_benchmark_on:
+ {
+ \cs_if_exist:NT \benchmark_tic:
+ {
+ \cs_set_eq:NN \@@_check_benchmark_tic: \benchmark_tic:
+ \cs_set_eq:NN \@@_check_benchmark_toc: \benchmark_toc:
+ }
+ }
+%</package>
+% \end{macrocode}
% \end{implementation}
% \PrintIndex
diff --git a/macros/latex/contrib/tagpdf/tagpdf-code.pdf b/macros/latex/contrib/tagpdf/tagpdf-code.pdf
index 471cf17a79..ffb7984b16 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-code.pdf
+++ b/macros/latex/contrib/tagpdf/tagpdf-code.pdf
Binary files differ
diff --git a/macros/latex/contrib/tagpdf/tagpdf-data.dtx b/macros/latex/contrib/tagpdf/tagpdf-data.dtx
index 70d71e4c57..fd99bcfdec 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-data.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-data.dtx
@@ -47,7 +47,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% This files contains a various data files which are read in
@@ -61,7 +61,7 @@
% latex-lab has also a namespace module, which takes precendence!
% \begin{macrocode}
%<*ns-latex>
-%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-ns-latex.def} {2024-03-27} {0.99a}
%% {latex} {https://www.latex-project.org/ns/dflt/2022}{}
title, Title, pdf2,
part, Title, pdf2,
@@ -93,7 +93,7 @@ text, P, pdf2,
% It is bound to change
% \begin{macrocode}
%<*ns-latex-book>
-%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2024-03-27} {0.99a}
%% {latex-book} {https://www.latex-project.org/ns/book/2022}{}
chapter, H1,pdf2,
section, H2,pdf2,
@@ -107,7 +107,7 @@ subparagraph, H6,pdf2,
% \section{The pdf namespace data}
% \begin{macrocode}
%<*ns-pdf>
-%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2024-03-27} {0.99a}
%% {pdf} {http://iso.org/pdf/ssn}{}
StructTreeRoot,StructTreeRoot,pdf,D,
Document,Document,pdf,D,
@@ -175,7 +175,7 @@ Strong,Span,pdf,I,
% \section{The pdf 2.0 namespace data}
% \begin{macrocode}
%<*ns-pdf2>
-%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2024-03-27} {0.99a}
%% {pdf2} {http://iso.org/pdf2/ssn}{}
StructTreeRoot,StructTreeRoot,pdf2,D,
Document,Document,pdf2,D,
@@ -232,7 +232,7 @@ Strong,Strong,pdf2,I,
% \section{The mathml namespace data}
% \begin{macrocode}
%<*ns-mathml>
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2024-03-27} {0.99a}
% {mathml}{http://www.w3.org/1998/Math/MathML}{}
abs,abs,mathml,
and,and,mathml,
@@ -467,7 +467,7 @@ xor,xor,mathml,
% This will perhaps change in future.
% \begin{macrocode}
%<*parent-child>
-%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-parent-child.csv} {2024-03-27} {0.99a}
,,,StructTreeRoot,Document,Art,Part,Div,Sect,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,MC
Document,both,document level,1,0..n,βˆ…,‑,‑,βˆ…,0..n,‑,βˆ…,βˆ…,βˆ…,0..n,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…
Art,1.7,grouping,βˆ…,0..n,βˆ…,‑,‑,0..n,0..n,‑,βˆ…,βˆ…,βˆ…,0..n,βˆ…,0..n,βˆ…,βˆ…,βˆ…,0..1,0..1,βˆ…,βˆ…,βˆ…,0..n,0..n,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,0..n,βˆ…,βˆ…,0..n,0..n,βˆ…,βˆ…,βˆ…,0..n,0..n,βˆ…,βˆ…
@@ -522,7 +522,7 @@ MC,both,---,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,0..n,‑,βˆ…,βˆ…,βˆ…,0..n,0..n,0..n,0..n,0..
% This will perhaps change in future.
% \begin{macrocode}
%<*parent-child-2>
-%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-02-29} {0.98x}
+%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2024-03-27} {0.99a}
,,,StructTreeRoot,Document,DocumentFragment,Art,Part,Div,Sect,Aside,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Title,Sub,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Em,Strong,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,FENote,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,math,mathml,Artifact,MC
Document,both,document level,1,0..n,0..n,βˆ…,‑,‑,βˆ…,0..n,0..n,‑,βˆ…,βˆ…,βˆ…,0..n,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,0..n,βˆ…
DocumentFragment,2.0,document level,βˆ…,0..n,0..n,0..n,‑,‑,0..n,0..n,0..n,‑,βˆ…,βˆ…,βˆ…,0..n,βˆ…,βˆ…,βˆ…,βˆ…*,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…*,βˆ…,βˆ…,βˆ…,βˆ…*,βˆ…*,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…*,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…,βˆ…*,βˆ…,βˆ…,βˆ…,βˆ…,0..n,βˆ…
diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
index 6254c52b54..e5477fe165 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \end{documentation}
@@ -55,11 +55,11 @@
% \begin{macrocode}
%<@@=tag>
%<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2024-03-27} {0.99a}
{part of tagpdf - code related to marking chunks - generic mode}
%</generic>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-debug-generic} {2024-03-27} {0.99a}
{part of tagpdf - debugging code related to marking chunks - generic mode}
%</debug>
% \end{macrocode}
diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx
index 14872c42e2..c3789356d9 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{implementation}
% The code is splitted into three parts: code shared by all engines,
@@ -86,11 +86,11 @@
% \begin{macrocode}
%<@@=tag>
%<*luamode>
-\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-mc-code-lua} {2024-03-27} {0.99a}
{tagpdf - mc code only for the luamode }
%</luamode>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-lua} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-debug-lua} {2024-03-27} {0.99a}
{part of tagpdf - debugging code related to marking chunks - lua mode}
%</debug>
% \end{macrocode}
diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
index 4f9d059c7d..54f5f2dca6 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-mc-shared.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -181,7 +181,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-mc-code-shared} {2024-03-27} {0.99a}
{part of tagpdf - code related to marking chunks -
code shared by generic and luamode }
%</header>
@@ -191,8 +191,8 @@
% MC chunks must be counted.
% I use a latex counter for the absolute count, so that it is added to
% |\cl@@ckpt| and restored e.g. in tabulars and align.
-% |\int_new:N \c@g_@@_MCID_int| and
-% |\tl_put_right:Nn\cl@@ckpt{\@elt{g_uf_test_int}}|
+% |\int_new:N \c@g_@@_MCID_abs_int| and
+% |\tl_put_right:Nn\cl@@ckpt{\@elt{g_@@_MCID_abs_int}}|
% would work too, but as the name is not expl3 then too, why bother?
% The absolute counter can be used to label and to check if the page
% counter needs a reset.
diff --git a/macros/latex/contrib/tagpdf/tagpdf-roles.dtx b/macros/latex/contrib/tagpdf/tagpdf-roles.dtx
index 6f48db87b1..77379192d5 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-roles.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-roles.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \begin{function}
@@ -98,7 +98,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-roles-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-roles-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to roles and structure names}
%</header>
% \end{macrocode}
diff --git a/macros/latex/contrib/tagpdf/tagpdf-space.dtx b/macros/latex/contrib/tagpdf/tagpdf-space.dtx
index fc0cdd8c75..16adb24051 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-space.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-space.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \begin{function}{activate/space (setup-key),interwordspace (deprecated)}
@@ -66,7 +66,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-space-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-space-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to real space chars}
%</header>
% \end{macrocode}
diff --git a/macros/latex/contrib/tagpdf/tagpdf-struct.dtx b/macros/latex/contrib/tagpdf/tagpdf-struct.dtx
index 64bd8f4c56..8b1a9555d5 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-struct.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-struct.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \section{Public Commands}
@@ -285,7 +285,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-struct-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-struct-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to storing structure}
%</header>
% \end{macrocode}
@@ -791,14 +791,14 @@
% break into two or more mcid. In this case the lua code has to convert
% put the dictionary of the kid into an array. See issue 13 at tagpdf repo.
% We exchange the dummy command for the kids to mark this case.
+% Change 2024-03-19: don't use a regex - that is slow.
% \begin{macrocode}
\cs_new_protected:Npn\@@_struct_exchange_kid_command:N #1 %#1 = seq var
{
\seq_gpop_left:NN #1 \l_@@_tmpa_tl
- \regex_replace_once:nnN
- { \c{\@@_mc_insert_mcid_kids:n} }
- { \c{\@@_mc_insert_mcid_single_kids:n} }
- \l_@@_tmpa_tl
+ \tl_replace_once:Nnn \l_@@_tmpa_tl
+ {\@@_mc_insert_mcid_kids:n}
+ {\@@_mc_insert_mcid_single_kids:n}
\seq_gput_left:NV #1 \l_@@_tmpa_tl
}
@@ -900,49 +900,41 @@
% \begin{macro}{\@@_struct_get_dict_content:nN}
% This maps the dictionary content of a structure into a tl-var.
% Basically it does what |\pdfdict_use:n| does.
-% TODO!! this looks over-complicated. Check if it can be done with pdfdict now.
+% This is used a lot so should be rather fast.
% \begin{macrocode}
\cs_new_protected:Npn \@@_struct_get_dict_content:nN #1 #2 %#1: stucture num
{
\tl_clear:N #2
- \seq_map_inline:cn
+ \prop_map_inline:cn { g_@@_struct_#1_prop }
{
- c_@@_struct_
- \int_compare:nNnTF{#1}={0}{StructTreeRoot}{StructElem}
- _entries_seq
- }
- {
- \tl_put_right:Ne
- #2
+ \tl_put_right:Ne #2
{
- \prop_if_in:cnT
- { g_@@_struct_#1_prop }
- { ##1 }
- {
- \c_space_tl/##1~
-% \end{macrocode}
-% Some keys needs the option to format the key, e.g. add brackets for an
-% array
-% \begin{macrocode}
- \cs_if_exist_use:cTF {@@_struct_format_##1:e}
- {
- { \prop_item:cn{ g_@@_struct_#1_prop } { ##1 } }
- }
- {
- \prop_item:cn{ g_@@_struct_#1_prop } { ##1 }
- }
- }
+% \end{macrocode}
+% Some keys needs the option to format the value, e.g. add brackets for an
+% array, we also need the option to ignore some entries in the properties.
+% \begin{macrocode}
+ \cs_if_exist_use:cTF {@@_struct_format_##1:nn}
+ {{##1}{##2}}
+ {\c_space_tl/##1~##2}
}
}
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\@@_struct_format_Ref:n}
+%
+% \begin{macro}{\@@_struct_format_rolemap:nn,\@@_struct_format_parentrole:nn}
+% This two entries should not end in the PDF.
+% \begin{macrocode}
+\cs_new:Nn\@@_struct_format_rolemap:nn{}
+\cs_new:Nn\@@_struct_format_parentrole:nn{}
+% \end{macrocode}
+% \end{macro}
+
+% \begin{macro}{\@@_struct_format_Ref:nn}
% Ref is an array, we store only the content to be able to extend it
% so the formatting command adds the brackets:
% \begin{macrocode}
-\cs_new:Nn\__tag_struct_format_Ref:n{[#1]}
-\cs_generate_variant:Nn\__tag_struct_format_Ref:n{e}
+\cs_new:Nn\__tag_struct_format_Ref:nn{\c_space_tl/#1~[#2]}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_struct_write_obj:n}
@@ -1433,11 +1425,17 @@
}
},
}
-%</package>
% \end{macrocode}
% \end{macro}
% \section{User commands}
-%
+% We allow to set a language by default
+% \begin{macro}{\l_@@_struct_lang_tl}
+% \begin{macrocode}
+\tl_new:N \l_@@_struct_lang_tl
+%</package>
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\tag_struct_begin:n,\tag_struct_end:}
% \begin{macrocode}
%<base>\cs_new_protected:Npn \tag_struct_begin:n #1 {\int_gincr:N \c@g_@@_struct_abs_int}
@@ -1464,6 +1462,18 @@
{ \int_use:N \c@g_@@_struct_abs_int }
{ Type }
{ /StructElem }
+ \tl_if_empty:NF \l_@@_struct_lang_tl
+ {
+ \@@_struct_prop_gput:nne
+ { \int_use:N \c@g_@@_struct_abs_int }
+ { Lang }
+ { (\l_@@_struct_lang_tl) }
+ }
+ \@@_struct_prop_gput:nnn
+ { \int_use:N \c@g_@@_struct_abs_int }
+ { Type }
+ { /StructElem }
+
\tl_set:Nn \l_@@_struct_stack_parent_tmpa_tl {-1}
\keys_set:nn { @@ / struct} { #1 }
% \end{macrocode}
@@ -1626,7 +1636,7 @@
%<debug> {no~parent:~stashed}
%<debug> {
%<debug> parent~structure:~\l_@@_struct_stack_parent_tmpa_tl\c_space_tl =~
-%<debug> \l_@@_get_parent_tmpa_tl
+%<debug> \prop_item:cn{ g__tag_struct_\l_@@_struct_stack_parent_tmpa_tl _prop }{S}
%<debug> }
%<debug> }
%<debug> \prop_gput:cne
@@ -1928,7 +1938,7 @@
% \section{Attributes and attribute classes}
% \begin{macrocode}
%<*header>
-\ProvidesExplPackage {tagpdf-attr-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-attr-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to attributes and attribute classes}
%</header>
% \end{macrocode}
@@ -1936,12 +1946,12 @@
% \begin{variable}
% {
% ,\g_@@_attr_entries_prop
-% ,\g_@@_attr_class_used_seq
+% ,\g_@@_attr_class_used_prop
% ,\g_@@_attr_objref_prop
% ,\l_@@_attr_value_tl
% }
% |\g_@@_attr_entries_prop| will store attribute names and their dictionary content.\\
-% |\g_@@_attr_class_used_seq| will hold the attributes which have been used as
+% |\g_@@_attr_class_used_prop| will hold the attributes which have been used as
% class name.
% |\l_@@_attr_value_tl| is used to build the attribute array or key.
% Every time an attribute is used for the first time, and object is created
@@ -1950,10 +1960,14 @@
% \begin{macrocode}
%<*package>
\prop_new:N \g_@@_attr_entries_prop
-\seq_new:N \g_@@_attr_class_used_seq
+\prop_new_linked:N \g_@@_attr_class_used_prop
\tl_new:N \l_@@_attr_value_tl
\prop_new:N \g_@@_attr_objref_prop %will contain obj num of used attributes
% \end{macrocode}
+% This seq is currently kept for compability with the table code.
+% \begin{macrocode}
+\seq_new:N\g_@@_attr_class_used_seq
+% \end{macrocode}
% \end{variable}
% \subsection{Commands and keys}
% \begin{macro}{\@@_attr_new_entry:nn,role/new-attribute (setup-key), newattribute (deprecated)}
@@ -2022,7 +2036,7 @@
{
\msg_error:nnn { tag } { attr-unknown } { ##1 }
}
- \seq_gput_left:Nn\g_@@_attr_class_used_seq { ##1}
+ \prop_gput:Nnn\g_@@_attr_class_used_prop { ##1} {}
}
\tl_set:Ne \l_@@_tmpa_tl
{
diff --git a/macros/latex/contrib/tagpdf/tagpdf-tree.dtx b/macros/latex/contrib/tagpdf/tagpdf-tree.dtx
index 36d9e74cbf..bfcbd6b6c9 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-tree.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-tree.dtx
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-tree-code} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-tree-code} {2024-03-27} {0.99a}
{part of tagpdf - code related to writing trees and dictionaries to the pdf}
%</header>
% \end{macrocode}
@@ -92,6 +92,7 @@
\int_step_inline:nnn{2}{\seq_count:N\g_@@_struct_stack_seq}
{\tag_struct_end:}
}
+ \msg_note:nn {tag}{tree-statistic}
}
% \end{macrocode}
% \end{macro}
@@ -265,7 +266,8 @@
{ g_@@_struct_0_prop }
{ RoleMap }
{ \pdf_object_ref:n { @@/tree/rolemap } }
- \@@_struct_fill_kid_key:n { 0 }
+ \@@_struct_fill_kid_key:n { 0 }
+ \prop_gremove:cn { g_@@_struct_0_prop } {S}
\@@_struct_get_dict_content:nN { 0 } \l_@@_tmpa_tl
\pdf_object_write:nne
{ @@/struct/0 }
@@ -503,22 +505,27 @@
\cs_new_protected:Npn \@@_tree_write_classmap:
{
\tl_clear:N \l_@@_tmpa_tl
- \seq_gremove_duplicates:N \g_@@_attr_class_used_seq
- \seq_set_map:NNn \l_@@_tmpa_seq \g_@@_attr_class_used_seq
- {
- ##1\c_space_tl
- <<
- \prop_item:Nn
+% \end{macrocode}
+% We process the older sec for compability with the table code.
+% TODO: check if still needed
+% \begin{macrocode}
+ \seq_map_inline:Nn \g_@@_attr_class_used_seq
+ {
+ \prop_gput:Nnn \g_@@_attr_class_used_prop {##1}{}
+ }
+ \prop_map_inline:Nn \g_@@_attr_class_used_prop
+ {
+ \tl_put_right:Ne \l_@@_tmpa_tl
+ {
+ ##1\c_space_tl
+ <<
+ \prop_item:Nn
\g_@@_attr_entries_prop
{##1}
- >>
- }
- \tl_set:Ne \l_@@_tmpa_tl
- {
- \seq_use:Nn
- \l_@@_tmpa_seq
- { \iow_newline: }
- }
+ >>
+ \iow_newline:
+ }
+ }
\tl_if_empty:NF
\l_@@_tmpa_tl
{
@@ -585,15 +592,37 @@
{
\hook_use:n {tagpdf/finish/before}
\@@_tree_final_checks:
+ \iow_term:n{Package~tagpdf~Info:~writing~ParentTree}
+ \@@_check_benchmark_tic:
\@@_tree_write_parenttree:
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~IDTree}
+ \@@_check_benchmark_tic:
\@@_tree_write_idtree:
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~RoleMap}
+ \@@_check_benchmark_tic:
\@@_tree_write_rolemap:
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~ClassMap}
+ \@@_check_benchmark_tic:
\@@_tree_write_classmap:
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~NameSpaces}
+ \@@_check_benchmark_tic:
\@@_tree_write_namespaces:
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~StructElems}
+ \@@_check_benchmark_tic:
\@@_tree_write_structelements: %this is rather slow!!
+ \@@_check_benchmark_toc:
+ \iow_term:n{Package~tagpdf~Info:~writing~Root}
+ \@@_check_benchmark_tic:
\@@_tree_write_structtreeroot:
+ \@@_check_benchmark_toc:
}
}
+%</package>
% \end{macrocode}
% \end{macro}
%
@@ -601,6 +630,7 @@
% We need to add to the Page resources the |StructParents| entry, this is simply the
% absolute page number.
% \begin{macrocode}
+%<*package>
\hook_gput_code:nnn{begindocument}{tagpdf}
{
\bool_if:NT\g_@@_active_tree_bool
diff --git a/macros/latex/contrib/tagpdf/tagpdf-user.dtx b/macros/latex/contrib/tagpdf/tagpdf-user.dtx
index e51bb9d35f..82732b4458 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-user.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-user.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98x, released 2024-02-29}
+% \date{Version 0.99a, released 2024-03-27}
% \maketitle
% \begin{documentation}
% \section{Setup commands}
@@ -309,7 +309,7 @@
% \begin{macrocode}
%<@@=tag>
%<*header>
-\ProvidesExplPackage {tagpdf-user} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-user} {2024-03-27} {0.99a}
{tagpdf - user commands}
%</header>
% \end{macrocode}
@@ -763,6 +763,7 @@
% this will hold the structure number of the current text-unit.
% \begin{macrocode}
\tl_new:N \g_@@_para_main_struct_tl
+\tl_gset:Nn \g_@@_para_main_struct_tl {1}
\tl_new:N \l_@@_para_tag_default_tl
\tl_set:Nn \l_@@_para_tag_default_tl { text }
\tl_new:N \l_@@_para_tag_tl
@@ -1197,6 +1198,18 @@
{{\use:c{@@_mc_disable_marks:} #1}}
% \end{macrocode}
% \end{macro}
+% \subsection{Language support}
+%
+% With the following key the lang variable is set. All structures in the current group will
+% then set this lang variable.
+% \begin{macro}{test/lang (setup-key)}
+% \begin{macrocode}
+\keys_define:nn { @@ / setup }
+ {
+ text / lang .tl_set:N = \l_@@_struct_lang_tl
+ }
+% \end{macrocode}
+% \end{macro}
% \subsection{Header and footer}
% Header and footer should normally be tagged as artifacts. The following code
% requires the new hooks.
diff --git a/macros/latex/contrib/tagpdf/tagpdf.dtx b/macros/latex/contrib/tagpdf/tagpdf.dtx
index a14273f8b9..ffdb147b45 100644
--- a/macros/latex/contrib/tagpdf/tagpdf.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf.dtx
@@ -87,7 +87,7 @@
% \begin{macrocode}
%<@@=tag>
%<*package>
-\ProvidesExplPackage {tagpdf} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf} {2024-03-27} {0.99a}
{ A package to experiment with pdf tagging }
\bool_if:nF
@@ -113,7 +113,7 @@
% \end{macrocode}
%<*debug>
% \begin{macrocode}
-\ProvidesExplPackage {tagpdf-debug} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-debug} {2024-03-27} {0.99a}
{ debug code for tagpdf }
\@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput}
% \end{macrocode}
@@ -136,7 +136,7 @@
% we define a base package with dummy functions
% \begin{macrocode}
%<*base>
-\ProvidesExplPackage {tagpdf-base} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdf-base} {2024-03-27} {0.99a}
{part of tagpdf - provide base, no-op versions of the user commands }
%</base>
% \end{macrocode}
@@ -487,7 +487,7 @@
% \begin{macrocode}
\cs_set_protected:Npn \tag_stop:
{
-%<debug> \msg_note:nnx {tag / debug }{tag-stop}{ \int_use:N \l_@@_tag_stop_int }
+%<debug> \msg_note:nne {tag / debug }{tag-stop}{ \int_use:N \l_@@_tag_stop_int }
\int_incr:N \l_@@_tag_stop_int
\bool_set_false:N \l_@@_active_struct_bool
\bool_set_false:N \l_@@_active_mc_bool
@@ -504,7 +504,7 @@
\bool_set_true:N \l_@@_active_socket_bool
\@@_start_para_ints:
}
-%<debug> \msg_note:nnx {tag / debug }{tag-start}{ \int_use:N \l_@@_tag_stop_int }
+%<debug> \msg_note:nne {tag / debug }{tag-start}{ \int_use:N \l_@@_tag_stop_int }
}
\cs_set_eq:NN\tagstop\tag_stop:
\cs_set_eq:NN\tagstart\tag_start:
@@ -512,7 +512,7 @@
% \begin{macrocode}
\cs_set_protected:Npn \tag_stop:n #1
{
-%<debug> \msg_note:nnxx {tag / debug }{tag-stop}{ \int_use:N \l_@@_tag_stop_int }{#1}
+%<debug> \msg_note:nnee {tag / debug }{tag-stop}{ \int_use:N \l_@@_tag_stop_int }{#1}
\int_incr:N \l_@@_tag_stop_int
\bool_set_false:N \l_@@_active_struct_bool
\bool_set_false:N \l_@@_active_mc_bool
@@ -529,7 +529,7 @@
\bool_set_true:N \l_@@_active_socket_bool
\@@_start_para_ints:
}
-%<debug> \msg_note:nnxx {tag / debug }{tag-start}{ \int_use:N \l_@@_tag_stop_int }{#1}
+%<debug> \msg_note:nnee {tag / debug }{tag-start}{ \int_use:N \l_@@_tag_stop_int }{#1}
}
%</package|debug>
%<*base>
diff --git a/macros/latex/contrib/tagpdf/tagpdf.pdf b/macros/latex/contrib/tagpdf/tagpdf.pdf
index 6b3be5e36c..771fe1ed0f 100644
--- a/macros/latex/contrib/tagpdf/tagpdf.pdf
+++ b/macros/latex/contrib/tagpdf/tagpdf.pdf
Binary files differ
diff --git a/macros/latex/contrib/tagpdf/tagpdf.tex b/macros/latex/contrib/tagpdf/tagpdf.tex
index 59eacee0b4..b8b718482b 100644
--- a/macros/latex/contrib/tagpdf/tagpdf.tex
+++ b/macros/latex/contrib/tagpdf/tagpdf.tex
@@ -16,8 +16,8 @@
}
\DebugBlocksOff
\makeatletter
-\def\UlrikeFischer@package@version{0.98x}
-\def\UlrikeFischer@package@date{2024-02-29}
+\def\UlrikeFischer@package@version{0.99a}
+\def\UlrikeFischer@package@date{2024-03-27}
\makeatother
\documentclass[bibliography=totoc,a4paper]{article}
@@ -34,8 +34,8 @@
\usepackage[style=numeric]{biblatex}
\addbibresource{tagpdf.bib}
-\usepackage[noparboxrestore]{marginnote}
\reversemarginpar
+\NewDocumentCommand\sidenote{m}{\marginpar{#1}}
\usepackage{booktabs}
\setlength\belowcaptionskip{10pt}
\usepackage{tcolorbox}
@@ -384,10 +384,11 @@ command so that \pkg{tagpdf} can pick up the correct code path.
\begin{taglstlisting}
\DocumentMetadata
{
- % testphase = phase-I, % tagging without paragraph tagging
- testphase = phase-II % tagging with paragraph tagging and other new stuff.
- % testphase = phase-III % tagging with paragraph sec, toc, block tagging and more
- % pdfversion = 2.0 % pdfversion must be set here.
+ % testphase = phase-I, % tagging without paragraph tagging
+ % testphase = phase-II, % tagging with paragraph tagging
+ testphase = phase-III, % tagging with paragraph sec, toc, blocks and more
+ pdfversion = 2.0, % pdfversion must be set here.
+ pdfstandard=ua-2, % pdfstandard can be set too
}
\documentclass{article}
\begin{document}
@@ -1028,7 +1029,7 @@ The key-val list understands the following keys:
The validators complain if some text is not marked up, but it is not
quite clear if this is a serious problem.
- The\sidenote{lua mode only} lua mode will mark up everything unmarked as
+ The\sidenote{lua mode} lua mode will mark up everything unmarked as
\texttt{artifact=notype}. You can suppress this behavior by setting the
tagpdfsetup key \texttt{activate/tagunmarked} to false. See section
\ref{ssec:setup}.
@@ -1199,7 +1200,7 @@ This (expandable) command returns the values of some variables. Currently, the w
\subsubsection{Luamode: global or not global -- that is the question}\label{sec:global-local}
-In\sidenote{Luamode mode only} luamode the mc-commands set and unset an
+In\sidenote{lua mode} luamode the mc-commands set and unset an
attribute to mark the nodes. One can view such an attribute like a font
change or a color: they affect all following chars and glue nodes until
stopped.
@@ -1858,7 +1859,8 @@ The key-val list understands the following keys:
\item[\PrintKeyName{lang}] This key allows to set the language for
a structure element. The value should be a bcp-identifier,
- e.g. |de-De|.
+ e.g. |de-De|. It can also be set \enquote{from the outside} for all
+ structures in the current group with \cs{tagpdfsetup} and the |text/lang| key.
\item[\PrintKeyName{ref}] This key allows to add references to
other structure elements, it adds the |/Ref| array to the
@@ -2472,8 +2474,6 @@ perhaps insert break points.
\section{Storing and reusing boxes}\label{sec:savebox}
-\section{Saving and using boxes}
-
\TeX{} allows to store material in boxes and to use these box once or
multiple times in other places. This poses some challenges to tagging. The
listings in the following examples uses low-level \TeX{} box commands to
@@ -2523,7 +2523,7 @@ The box can in both modes be used without problems many times.
We assume in the following that the box contains only well balanced tagging
commands and no parts that are \enquote{untagged}. It should be possible to
-copy the whole box inside a \verb+\tagstructbegin+/\verb+\tagstructend+
+copy the whole box inside a \verb+\tagstructbegin+/\hspace{0pt}\verb+\tagstructend+
pair. So the following is fine as box content
\begin{taglstlisting}
box=\tagstructbegin{...}\tagmcbegin{} balanced content\tagmcend\tagstructend
diff --git a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
index 17baec2298..c3e663cecd 100644
--- a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
+++ b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
@@ -1,5 +1,5 @@
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2024-02-29} {0.98x}
+\ProvidesExplPackage {tagpdfdocu-patches} {2024-03-27} {0.99a}
{patches/commands for the tagpdf documentation}
\RequirePackage{etoolbox,xpatch}
@@ -69,15 +69,17 @@
}
% ======== marginnote ==========
+% 2024-03-23 currently marginnote is no longer used, we use marginpar
% TODO marginnote has a bug (a \par is missing) so it messes up tagging.
% but currently unneeded as we marked them up as artifacts anyway as they don't contain
% meaningful contents
-\renewcommand*{\mn@parboxrestore}{\tagpdfparaOff}%
+%\renewcommand*{\mn@parboxrestore}{\tagpdfparaOff}%
-\NewDocumentCommand\sidenote{m}
- {
- \tag_mc_artifact_group_begin:n{notype}\tagpdfparaOff\marginnote{#1}\tag_mc_artifact_group_end:
- }
+%\NewDocumentCommand\sidenote{m}
+% {%
+% %\tag_mc_artifact_group_begin:n{notype}\tagpdfparaOff\marginnote{#1}\tag_mc_artifact_group_end:
+% \marginpar{#1}%
+% }
\ExplSyntaxOff
% ======== tikzpicture ==========
diff --git a/macros/latex/contrib/tagpdf/tagpdfsetup-keys.tex b/macros/latex/contrib/tagpdf/tagpdfsetup-keys.tex
index 2c255fbf23..2484a42020 100644
--- a/macros/latex/contrib/tagpdf/tagpdfsetup-keys.tex
+++ b/macros/latex/contrib/tagpdf/tagpdfsetup-keys.tex
@@ -66,6 +66,8 @@ math/tex/AF & --- &boolean &bool &latex-lab-math\\[4p
%% table key path
% true/false/layout
table/tagging & table-tagging &choice &code &latex-lab-table\\
-table/header-rows & table-header-rows& clist &clist &latex-lab-table\\
+table/header-rows & table-header-rows& clist &clist &latex-lab-table\\[4pt]\midrule
+% change for text
+text/lang & --- & string & code &tagpdf-user \\
\bottomrule
\end{tabular}