[latex3-commits] [latex3/latex2e] latexlab/tagging-9: add test for debug option (9b39b9d2)
github at latex-project.org
github at latex-project.org
Mon Sep 4 14:26:23 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : latexlab/tagging-9
Link : https://github.com/latex3/latex2e/commit/9b39b9d2ad7c1717c69a2426bac605c8c580c43c
>---------------------------------------------------------------
commit 9b39b9d2ad7c1717c69a2426bac605c8c580c43c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 4 14:26:23 2023 +0200
add test for debug option
>---------------------------------------------------------------
9b39b9d2ad7c1717c69a2426bac605c8c580c43c
.../latex-lab/testfiles-toc/toc-debug.luatex.tlg | 171 +++++++++++++++++++++
required/latex-lab/testfiles-toc/toc-debug.lvt | 12 ++
required/latex-lab/testfiles-toc/toc-debug.tlg | 170 ++++++++++++++++++++
3 files changed, 353 insertions(+)
diff --git a/required/latex-lab/testfiles-toc/toc-debug.luatex.tlg b/required/latex-lab/testfiles-toc/toc-debug.luatex.tlg
new file mode 100644
index 00000000..03305089
--- /dev/null
+++ b/required/latex-lab/testfiles-toc/toc-debug.luatex.tlg
@@ -0,0 +1,171 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+(toc-debug.toc)
+\tf at toc=\write...
+[1
+] (toc-debug.aux)
+=========================
+The structure 0 contains:
+> Type => /StructTreeRoot
+> S => /StructTreeRoot
+> rolemap => {StructTreeRoot}{pdf}
+> parentrole => {StructTreeRoot}{pdf}
+The structure has the following kids:
+> Struct 1
+=========================
+=========================
+The structure 1 contains:
+> Type => /StructElem
+> S => /Document
+> rolemap => {Document}{}
+> parentrole => {Document}{}
+> P => parent structure: 0 = StructTreeRoot
+> NS => pdf2
+The structure has the following kids:
+> Struct 4
+> Struct 11
+=========================
+=========================
+The structure 2 contains:
+> Type => /StructElem
+> S => /figures
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => no parent: stashed
+> NS => user
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 3 contains:
+> Type => /StructElem
+> S => /tables
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => no parent: stashed
+> NS => user
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 4 contains:
+> Type => /StructElem
+> S => /Sect
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => parent structure: 1 = Document
+> NS => pdf2
+The structure has the following kids:
+> Struct 5
+> Struct 6
+=========================
+=========================
+The structure 5 contains:
+> Type => /StructElem
+> C => /justify
+> S => /section
+> rolemap => {H1}{}
+> parentrole => {H1}{}
+> P => parent structure: 4 = Sect
+> NS => user
+The structure has the following kids:
+> MC 1
+=========================
+=========================
+The structure 6 contains:
+> Type => /StructElem
+> T => <FEFF0074006F0063>
+> S => /TOC
+> rolemap => {TOC}{}
+> parentrole => {TOC}{}
+> P => parent structure: 4 = Sect
+> NS => pdf
+The structure has the following kids:
+> Struct 7
+=========================
+=========================
+The structure 7 contains:
+> Type => /StructElem
+> T => <FEFF0062006C00750062>
+> S => /TOCI
+> rolemap => {TOCI}{}
+> parentrole => {TOCI}{}
+> P => parent structure: 6 = TOC
+> NS => pdf
+The structure has the following kids:
+> Struct 8
+=========================
+=========================
+The structure 8 contains:
+> Type => /StructElem
+> S => /Reference
+> rolemap => {Reference}{}
+> parentrole => {Reference}{}
+> P => parent structure: 7 = TOCI
+> NS => pdf
+The structure has the following kids:
+> MC 2
+> Struct 9
+> MC 6
+> MC 7
+=========================
+=========================
+The structure 9 contains:
+> Type => /StructElem
+> S => /Link
+> rolemap => {Link}{}
+> parentrole => {Link}{}
+> P => parent structure: 8 = Reference
+> NS => pdf2
+The structure has the following kids:
+> MC 3
+> Struct 10
+> MC 5
+> OBJR reference
+=========================
+=========================
+The structure 10 contains:
+> Type => /StructElem
+> S => /Lbl
+> rolemap => {Lbl}{}
+> parentrole => {Lbl}{}
+> P => parent structure: 9 = Link
+> NS => pdf2
+The structure has the following kids:
+> MC 4
+=========================
+=========================
+The structure 11 contains:
+> Type => /StructElem
+> S => /Sect
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => parent structure: 1 = Document
+> NS => pdf2
+The structure has the following kids:
+> Struct 12
+=========================
+=========================
+The structure 12 contains:
+> Type => /StructElem
+> S => /section
+> rolemap => {H1}{}
+> parentrole => {H1}{}
+> P => parent structure: 11 = Sect
+> NS => user
+The structure has the following kids:
+> Struct 13
+> MC 10
+=========================
+=========================
+The structure 13 contains:
+> Type => /StructElem
+> S => /Lbl
+> rolemap => {Lbl}{}
+> parentrole => {Lbl}{}
+> P => parent structure: 12 = H1
+> NS => pdf2
+The structure has the following kids:
+> MC 8
+> MC 9
+=========================
diff --git a/required/latex-lab/testfiles-toc/toc-debug.lvt b/required/latex-lab/testfiles-toc/toc-debug.lvt
new file mode 100644
index 00000000..929d7366
--- /dev/null
+++ b/required/latex-lab/testfiles-toc/toc-debug.lvt
@@ -0,0 +1,12 @@
+\DocumentMetadata{testphase=phase-III,debug=tagpdf}
+\input{regression-test}
+
+\documentclass{article}
+\usepackage{hyperref}
+\begin{document}
+\START
+\tableofcontents
+\section{blub}
+
+\AddToHook{tagpdf/finish/before}{\ShowTagging{debug/structures}}
+\end{document}
diff --git a/required/latex-lab/testfiles-toc/toc-debug.tlg b/required/latex-lab/testfiles-toc/toc-debug.tlg
new file mode 100644
index 00000000..a8576e61
--- /dev/null
+++ b/required/latex-lab/testfiles-toc/toc-debug.tlg
@@ -0,0 +1,170 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+(toc-debug.toc)
+\tf at toc=\write...
+[1
+] (toc-debug.aux)
+=========================
+The structure 0 contains:
+> Type => /StructTreeRoot
+> S => /StructTreeRoot
+> rolemap => {StructTreeRoot}{pdf}
+> parentrole => {StructTreeRoot}{pdf}
+The structure has the following kids:
+> Struct 1
+=========================
+=========================
+The structure 1 contains:
+> Type => /StructElem
+> S => /Document
+> rolemap => {Document}{}
+> parentrole => {Document}{}
+> P => parent structure: 0 = StructTreeRoot
+> NS => pdf2
+The structure has the following kids:
+> Struct 4
+> Struct 11
+=========================
+=========================
+The structure 2 contains:
+> Type => /StructElem
+> S => /figures
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => no parent: stashed
+> NS => user
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 3 contains:
+> Type => /StructElem
+> S => /tables
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => no parent: stashed
+> NS => user
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 4 contains:
+> Type => /StructElem
+> S => /Sect
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => parent structure: 1 = Document
+> NS => pdf2
+The structure has the following kids:
+> Struct 5
+> Struct 6
+=========================
+=========================
+The structure 5 contains:
+> Type => /StructElem
+> C => /justify
+> S => /section
+> rolemap => {H1}{}
+> parentrole => {H1}{}
+> P => parent structure: 4 = Sect
+> NS => user
+The structure has the following kids:
+> MC 1
+=========================
+=========================
+The structure 6 contains:
+> Type => /StructElem
+> T => <FEFF0074006F0063>
+> S => /TOC
+> rolemap => {TOC}{}
+> parentrole => {TOC}{}
+> P => parent structure: 4 = Sect
+> NS => pdf
+The structure has the following kids:
+> Struct 7
+=========================
+=========================
+The structure 7 contains:
+> Type => /StructElem
+> T => <FEFF0062006C00750062>
+> S => /TOCI
+> rolemap => {TOCI}{}
+> parentrole => {TOCI}{}
+> P => parent structure: 6 = TOC
+> NS => pdf
+The structure has the following kids:
+> Struct 8
+=========================
+=========================
+The structure 8 contains:
+> Type => /StructElem
+> S => /Reference
+> rolemap => {Reference}{}
+> parentrole => {Reference}{}
+> P => parent structure: 7 = TOCI
+> NS => pdf
+The structure has the following kids:
+> MC 2
+> Struct 9
+> MC 6
+> MC 7
+=========================
+=========================
+The structure 9 contains:
+> Type => /StructElem
+> S => /Link
+> rolemap => {Link}{}
+> parentrole => {Link}{}
+> P => parent structure: 8 = Reference
+> NS => pdf2
+The structure has the following kids:
+> MC 3
+> Struct 10
+> MC 5
+> OBJR reference
+=========================
+=========================
+The structure 10 contains:
+> Type => /StructElem
+> S => /Lbl
+> rolemap => {Lbl}{}
+> parentrole => {Lbl}{}
+> P => parent structure: 9 = Link
+> NS => pdf2
+The structure has the following kids:
+> MC 4
+=========================
+=========================
+The structure 11 contains:
+> Type => /StructElem
+> S => /Sect
+> rolemap => {Sect}{}
+> parentrole => {Sect}{}
+> P => parent structure: 1 = Document
+> NS => pdf2
+The structure has the following kids:
+> Struct 12
+=========================
+=========================
+The structure 12 contains:
+> Type => /StructElem
+> S => /section
+> rolemap => {H1}{}
+> parentrole => {H1}{}
+> P => parent structure: 11 = Sect
+> NS => user
+The structure has the following kids:
+> Struct 13
+> MC 9
+=========================
+=========================
+The structure 13 contains:
+> Type => /StructElem
+> S => /Lbl
+> rolemap => {Lbl}{}
+> parentrole => {Lbl}{}
+> P => parent structure: 12 = H1
+> NS => pdf2
+The structure has the following kids:
+> MC 8
+=========================
More information about the latex3-commits
mailing list.