[latex3-commits] [git/LaTeX3-latex3-latex2e] LM-tagging: tests for 6-1 (cad89afd)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Apr 1 23:36:19 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : LM-tagging
Link : https://github.com/latex3/latex2e/commit/cad89afdb173eac2490e3724579846724fd6284a
>---------------------------------------------------------------
commit cad89afdb173eac2490e3724579846724fd6284a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Apr 1 23:36:19 2023 +0200
tests for 6-1
>---------------------------------------------------------------
cad89afdb173eac2490e3724579846724fd6284a
required/latex-lab/testfiles-LM/LM-5-1+2+3.lvt | 65 ----------------
.../testfiles-LM/{LM-5-1+2.lvt => LM-6-1a.lvt} | 24 +++---
.../testfiles-LM/{LM-5-1+2.tlg => LM-6-1a.tlg} | 82 +++++++++++---------
.../testfiles-LM/{LM-5-1+2.lvt => LM-6-1b.lvt} | 24 +++---
.../testfiles-LM/{LM-5-1+2.tlg => LM-6-1b.tlg} | 89 ++++++++++++----------
required/latex-lab/update-LM-all.sh | 4 +-
6 files changed, 117 insertions(+), 171 deletions(-)
diff --git a/required/latex-lab/testfiles-LM/LM-5-1+2+3.lvt b/required/latex-lab/testfiles-LM/LM-5-1+2+3.lvt
deleted file mode 100644
index ce39cb24..00000000
--- a/required/latex-lab/testfiles-LM/LM-5-1+2+3.lvt
+++ /dev/null
@@ -1,65 +0,0 @@
-
-\DocumentMetadata{
- testphase={phase-III
-% ,math
- }
- ,uncompress
-% ,pdfversion=2.0
- ,debug={
-% para,
- log=vv}
-}
-
-\input{regression-test}
-
-\documentclass{report}
-
-\usepackage{kantlipsum}
-
-
-\begin{document}
-
-\START
-
-\title{Testing the document elements from the \LaTeX{} Manual -- 4.2 \& 4.3}
-\author{Frank Mittelbach}
-\date{2023-03-17}
-
-\maketitle
-
-\section*{Issues/ToDos}
-
-\begin{itemize}
-\item
-\end{itemize}
-
-
-
-\setcounter{chapter}{4}
-\setcounter{section}{4}
-
-\section{Making an Index or Glossary}
-
-
-\subsection{Compiling the Entries}
-
-
-\emph{--- make examples ---}
-
-
-
-\subsection{Producing an Index or Glossary by Yourself}
-
-
-\emph{--- make examples ---}
-
-
-
-\subsection{Doing It Yourself}
-
-
-\emph{--- make examples ---}
-
-\newpage
-\OMIT
-\end{document}
diff --git a/required/latex-lab/testfiles-LM/LM-5-1+2.lvt b/required/latex-lab/testfiles-LM/LM-6-1a.lvt
similarity index 65%
copy from required/latex-lab/testfiles-LM/LM-5-1+2.lvt
copy to required/latex-lab/testfiles-LM/LM-6-1a.lvt
index f9892172..51a116b5 100644
--- a/required/latex-lab/testfiles-LM/LM-5-1+2.lvt
+++ b/required/latex-lab/testfiles-LM/LM-6-1a.lvt
@@ -12,7 +12,7 @@
\input{regression-test}
-\documentclass{book}
+\documentclass[titlepage,leqno]{article}
\usepackage{kantlipsum}
@@ -21,12 +21,16 @@
\START
-\title{Testing the document elements from the \LaTeX{} Manual -- 5.1 \& 5.2}
+\title{Testing the document elements from the \LaTeX{} Manual -- 6.1(a)}
\author{Frank Mittelbach}
-\date{2023-03-17}
+\date{2023-04-01}
\maketitle
+\begin{abstract}
+ \kant[1][1]
+\end{abstract}
+
\section*{Issues/ToDos}
\begin{itemize}
@@ -34,21 +38,15 @@
\end{itemize}
-
-\setcounter{chapter}{5}
+\setcounter{chapter}{6}
\setcounter{section}{0}
-\section{Books}
-
-\emph{--- make examples ---}
+\section{Document-Class Options}
+This is testing the \texttt{titlepage} and the \texttt{leqno} option.
-
-\section{Slides}
-
-Guess this can be safely ignored.
+\emph{--- make examples ---}
-\newpage
\OMIT
\end{document}
diff --git a/required/latex-lab/testfiles-LM/LM-5-1+2.tlg b/required/latex-lab/testfiles-LM/LM-6-1a.tlg
similarity index 66%
copy from required/latex-lab/testfiles-LM/LM-5-1+2.tlg
copy to required/latex-lab/testfiles-LM/LM-6-1a.tlg
index 34e9d657..51852774 100644
--- a/required/latex-lab/testfiles-LM/LM-5-1+2.tlg
+++ b/required/latex-lab/testfiles-LM/LM-6-1a.tlg
@@ -23,12 +23,31 @@ The sequence \g__tag_mc_main_marks_seq is empty
[1
]
Package tagpdf Info: The rule between parent 'Document'
+(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Part (inherited from Document)'
+(tagpdf) and child 'P (from text)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'P (from text)'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 7 tagged /text
+Package tagpdf Info: The rule between parent 'Part (inherited from Document)'
+(tagpdf) and child 'P (from text)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'P (from text)'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 8 tagged /text
+Package tagpdf Info: closing structure 6 tagged /text-unit
+The sequence \g__tag_mc_main_marks_seq contains the items (without outer
+braces):
+> {e+}
+> {3}
+> {5}.
+[1]
+Package tagpdf Info: The rule between parent 'Document'
(tagpdf) and child 'Sect' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+(tagpdf) and child 'H1 (from section)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 7 tagged /section
+Package tagpdf Info: closing structure 10 tagged /section
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
@@ -39,7 +58,7 @@ Package tagpdf Info: The rule between parent 'LI'
(tagpdf) and child 'Lbl' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Lbl'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 11 tagged /Lbl
+Package tagpdf Info: closing structure 14 tagged /Lbl
Package tagpdf Info: The rule between parent 'LI'
(tagpdf) and child 'LBody' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'LBody'
@@ -48,46 +67,41 @@ Package tagpdf Info: The rule between parent 'Part (inherited from LBody)'
(tagpdf) and child 'P (from text)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 14 tagged /text
-Package tagpdf Info: closing structure 13 tagged /text-unit
-Package tagpdf Info: closing structure 12 tagged /LBody
-Package tagpdf Info: closing structure 10 tagged /LI
-Package tagpdf Info: closing structure 9 tagged /itemize
-Package tagpdf Info: closing structure 8 tagged /text-unit
-Package tagpdf Info: closing structure 6 tagged /Sect
+Package tagpdf Info: closing structure 17 tagged /text
+Package tagpdf Info: closing structure 16 tagged /text-unit
+Package tagpdf Info: closing structure 15 tagged /LBody
+Package tagpdf Info: closing structure 13 tagged /LI
+Package tagpdf Info: closing structure 12 tagged /itemize
+Package tagpdf Info: closing structure 11 tagged /text-unit
+! LaTeX Error: No counter 'chapter' defined.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type H <return> for immediate help.
+ ...
+l. ...\setcounter{chapter}{6}
+Your command was ignored.
+Type I <command> <return> to replace it with another command,
+or <return> to continue without it.
+Package tagpdf Info: closing structure 9 tagged /Sect
Package tagpdf Info: The rule between parent 'Document'
(tagpdf) and child 'Sect' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+(tagpdf) and child 'H1 (from section)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'Lbl' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Lbl'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 17 tagged /Lbl
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+Package tagpdf Info: closing structure 20 tagged /Lbl
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 16 tagged /section
+Package tagpdf Info: closing structure 19 tagged /section
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
(tagpdf) and child 'P (from text)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 19 tagged /text
-Package tagpdf Info: closing structure 18 tagged /text-unit
-Package tagpdf Info: closing structure 15 tagged /Sect
-Package tagpdf Info: The rule between parent 'Document'
-(tagpdf) and child 'Sect' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
-(tagpdf) and child 'Lbl' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'Lbl'
-(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 22 tagged /Lbl
-Package tagpdf Info: The rule between parent 'H2 (from section)'
-(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 21 tagged /section
+Package tagpdf Info: closing structure 22 tagged /text
+Package tagpdf Info: closing structure 21 tagged /text-unit
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
@@ -96,9 +110,3 @@ Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
Package tagpdf Info: closing structure 24 tagged /text
Package tagpdf Info: closing structure 23 tagged /text-unit
-The sequence \g__tag_mc_main_marks_seq contains the items (without outer
-braces):
-> {e+}
-> {3}
-> {5}.
-[2]
diff --git a/required/latex-lab/testfiles-LM/LM-5-1+2.lvt b/required/latex-lab/testfiles-LM/LM-6-1b.lvt
similarity index 69%
copy from required/latex-lab/testfiles-LM/LM-5-1+2.lvt
copy to required/latex-lab/testfiles-LM/LM-6-1b.lvt
index f9892172..6a6c97e3 100644
--- a/required/latex-lab/testfiles-LM/LM-5-1+2.lvt
+++ b/required/latex-lab/testfiles-LM/LM-6-1b.lvt
@@ -12,7 +12,7 @@
\input{regression-test}
-\documentclass{book}
+\documentclass[fleqn]{article}
\usepackage{kantlipsum}
@@ -21,12 +21,16 @@
\START
-\title{Testing the document elements from the \LaTeX{} Manual -- 5.1 \& 5.2}
+\title{Testing the document elements from the \LaTeX{} Manual -- 6.1(b)}
\author{Frank Mittelbach}
-\date{2023-03-17}
+\date{2023-04-01}
\maketitle
+\begin{abstract}
+ \kant[1][1]
+\end{abstract}
+
\section*{Issues/ToDos}
\begin{itemize}
@@ -34,21 +38,15 @@
\end{itemize}
-
-\setcounter{chapter}{5}
+\setcounter{chapter}{6}
\setcounter{section}{0}
-\section{Books}
-
-\emph{--- make examples ---}
+\section{Document-Class Options}
+This is testing the \texttt{fleqn} option.
-
-\section{Slides}
-
-Guess this can be safely ignored.
+\emph{--- make examples ---}
-\newpage
\OMIT
\end{document}
diff --git a/required/latex-lab/testfiles-LM/LM-5-1+2.tlg b/required/latex-lab/testfiles-LM/LM-6-1b.tlg
similarity index 65%
copy from required/latex-lab/testfiles-LM/LM-5-1+2.tlg
copy to required/latex-lab/testfiles-LM/LM-6-1b.tlg
index 34e9d657..7749d8d8 100644
--- a/required/latex-lab/testfiles-LM/LM-5-1+2.tlg
+++ b/required/latex-lab/testfiles-LM/LM-6-1b.tlg
@@ -18,17 +18,33 @@ Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
Package tagpdf Info: closing structure 5 tagged /text
Package tagpdf Info: closing structure 2 tagged /text-unit
-The sequence \g__tag_mc_main_marks_seq is empty
-> .
-[1
-]
+Package tagpdf Info: The rule between parent 'Document'
+(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Part (inherited from Document)'
+(tagpdf) and child 'P (from text)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'P (from text)'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 7 tagged /text
+Package tagpdf Info: The rule between parent 'Part (inherited from Document)'
+(tagpdf) and child 'BlockQuote (from quotation)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'BlockQuote (from quotation)'
+(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Part (inherited from
+(tagpdf) BlockQuote)'
+(tagpdf) and child 'P (from text)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'P (from text)'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 10 tagged /text
+Package tagpdf Info: closing structure 9 tagged /text-unit
+Package tagpdf Info: closing structure 8 tagged /quotation
+Package tagpdf Info: closing structure 6 tagged /text-unit
Package tagpdf Info: The rule between parent 'Document'
(tagpdf) and child 'Sect' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+(tagpdf) and child 'H1 (from section)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 7 tagged /section
+Package tagpdf Info: closing structure 12 tagged /section
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
@@ -39,7 +55,7 @@ Package tagpdf Info: The rule between parent 'LI'
(tagpdf) and child 'Lbl' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Lbl'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 11 tagged /Lbl
+Package tagpdf Info: closing structure 16 tagged /Lbl
Package tagpdf Info: The rule between parent 'LI'
(tagpdf) and child 'LBody' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'LBody'
@@ -48,57 +64,46 @@ Package tagpdf Info: The rule between parent 'Part (inherited from LBody)'
(tagpdf) and child 'P (from text)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 14 tagged /text
+Package tagpdf Info: closing structure 19 tagged /text
+Package tagpdf Info: closing structure 18 tagged /text-unit
+Package tagpdf Info: closing structure 17 tagged /LBody
+Package tagpdf Info: closing structure 15 tagged /LI
+Package tagpdf Info: closing structure 14 tagged /itemize
Package tagpdf Info: closing structure 13 tagged /text-unit
-Package tagpdf Info: closing structure 12 tagged /LBody
-Package tagpdf Info: closing structure 10 tagged /LI
-Package tagpdf Info: closing structure 9 tagged /itemize
-Package tagpdf Info: closing structure 8 tagged /text-unit
-Package tagpdf Info: closing structure 6 tagged /Sect
+! LaTeX Error: No counter 'chapter' defined.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type H <return> for immediate help.
+ ...
+l. ...\setcounter{chapter}{6}
+Your command was ignored.
+Type I <command> <return> to replace it with another command,
+or <return> to continue without it.
+Package tagpdf Info: closing structure 11 tagged /Sect
Package tagpdf Info: The rule between parent 'Document'
(tagpdf) and child 'Sect' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+(tagpdf) and child 'H1 (from section)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'Lbl' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Lbl'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 17 tagged /Lbl
-Package tagpdf Info: The rule between parent 'H2 (from section)'
+Package tagpdf Info: closing structure 22 tagged /Lbl
+Package tagpdf Info: The rule between parent 'H1 (from section)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 16 tagged /section
+Package tagpdf Info: closing structure 21 tagged /section
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
(tagpdf) and child 'P (from text)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 19 tagged /text
-Package tagpdf Info: closing structure 18 tagged /text-unit
-Package tagpdf Info: closing structure 15 tagged /Sect
-Package tagpdf Info: The rule between parent 'Document'
-(tagpdf) and child 'Sect' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'Sect'
-(tagpdf) and child 'H2 (from section)' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'H2 (from section)'
-(tagpdf) and child 'Lbl' is '1 (0..n)'
-Package tagpdf Info: The rule between parent 'Lbl'
-(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 22 tagged /Lbl
-Package tagpdf Info: The rule between parent 'H2 (from section)'
-(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 21 tagged /section
+Package tagpdf Info: closing structure 24 tagged /text
+Package tagpdf Info: closing structure 23 tagged /text-unit
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'Part (inherited from Sect)'
(tagpdf) and child 'P (from text)' is '1 (0..n)'
Package tagpdf Info: The rule between parent 'P (from text)'
(tagpdf) and child 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 24 tagged /text
-Package tagpdf Info: closing structure 23 tagged /text-unit
-The sequence \g__tag_mc_main_marks_seq contains the items (without outer
-braces):
-> {e+}
-> {3}
-> {5}.
-[2]
+Package tagpdf Info: closing structure 26 tagged /text
+Package tagpdf Info: closing structure 25 tagged /text-unit
diff --git a/required/latex-lab/update-LM-all.sh b/required/latex-lab/update-LM-all.sh
index f9f7e122..f47c459d 100644
--- a/required/latex-lab/update-LM-all.sh
+++ b/required/latex-lab/update-LM-all.sh
@@ -9,4 +9,6 @@ l3build save -cconfig-LM-tagging \
LM-4-2+3 \
LM-4-5 \
LM-5-1+2 \
- LM-5-3
+ LM-5-3 \
+ LM-6-1a \
+ LM-6-1b
More information about the latex3-commits
mailing list.