[latex3-commits] [git/LaTeX3-latex3-latex2e] LM-tagging: rework LM-6-1 examples (d03d38a1)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Apr 2 12:47:34 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : LM-tagging
Link : https://github.com/latex3/latex2e/commit/d03d38a1764a404fcfe74135bae755cf1b98e785
>---------------------------------------------------------------
commit d03d38a1764a404fcfe74135bae755cf1b98e785
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Apr 2 12:47:34 2023 +0200
rework LM-6-1 examples
>---------------------------------------------------------------
d03d38a1764a404fcfe74135bae755cf1b98e785
.../testfiles-LM/{LM-6-1a.lvt => LM-6-1-1a.lvt} | 0
.../testfiles-LM/{LM-6-1a.tlg => LM-6-1-1a.tlg} | 0
.../testfiles-LM/{LM-6-1b.lvt => LM-6-1-1b.lvt} | 0
.../testfiles-LM/{LM-6-1b.tlg => LM-6-1-1b.tlg} | 0
.../testfiles-LM/{LM-6-2.lvt => LM-6-1-2.lvt} | 25 +++--
.../testfiles-LM/{LM-6-2.tlg => LM-6-1-2.tlg} | 105 ++++++++++++++-------
required/latex-lab/update-LM-all.sh | 6 +-
7 files changed, 90 insertions(+), 46 deletions(-)
diff --git a/required/latex-lab/testfiles-LM/LM-6-1a.lvt b/required/latex-lab/testfiles-LM/LM-6-1-1a.lvt
similarity index 100%
rename from required/latex-lab/testfiles-LM/LM-6-1a.lvt
rename to required/latex-lab/testfiles-LM/LM-6-1-1a.lvt
diff --git a/required/latex-lab/testfiles-LM/LM-6-1a.tlg b/required/latex-lab/testfiles-LM/LM-6-1-1a.tlg
similarity index 100%
rename from required/latex-lab/testfiles-LM/LM-6-1a.tlg
rename to required/latex-lab/testfiles-LM/LM-6-1-1a.tlg
diff --git a/required/latex-lab/testfiles-LM/LM-6-1b.lvt b/required/latex-lab/testfiles-LM/LM-6-1-1b.lvt
similarity index 100%
rename from required/latex-lab/testfiles-LM/LM-6-1b.lvt
rename to required/latex-lab/testfiles-LM/LM-6-1-1b.lvt
diff --git a/required/latex-lab/testfiles-LM/LM-6-1b.tlg b/required/latex-lab/testfiles-LM/LM-6-1-1b.tlg
similarity index 100%
rename from required/latex-lab/testfiles-LM/LM-6-1b.tlg
rename to required/latex-lab/testfiles-LM/LM-6-1-1b.tlg
diff --git a/required/latex-lab/testfiles-LM/LM-6-2.lvt b/required/latex-lab/testfiles-LM/LM-6-1-2.lvt
similarity index 73%
rename from required/latex-lab/testfiles-LM/LM-6-2.lvt
rename to required/latex-lab/testfiles-LM/LM-6-1-2.lvt
index 2c3a7dbd..b43ddae0 100644
--- a/required/latex-lab/testfiles-LM/LM-6-2.lvt
+++ b/required/latex-lab/testfiles-LM/LM-6-1-2.lvt
@@ -22,36 +22,45 @@
\START
-\title{Testing the document elements from the \LaTeX{} Manual -- 6.2}
+\title{Testing the document elements from the \LaTeX{} Manual -- 6.1.2}
\author{Frank Mittelbach}
-\date{2023-04-01}
+\date{2023-04-02}
\maketitle
+\pagestyle{headings}
+
+\setcounter{chapter}{5}
+
+\chapter{Designing it yourself}
+
\section*{Issues/ToDos}
\begin{itemize}
\item
- What happened to the running headers on page 3--4?
+ We should also make tests for the new mark mechanism (even if that isn't part of Lamport)!
\end{itemize}
-\setcounter{chapter}{6}
-\setcounter{section}{1}
-\section{Page Styles}
+\section{document and Page Styles}
-\pagestyle{plain}
+\setcounter{subsection}{1} % match the section number in LM
+
+\subsection{Page Styles}
+
+\thispagestyle{plain}
This is testing different page styles, this page uses \text{plain}.
\newpage
-\pagestyle{headings}
+% \pagestyle{headings} set above
Here we have two pages using \texttt{headings}.
+
\newpage
Here is the second page (we use class option \texttt{twoside}).
diff --git a/required/latex-lab/testfiles-LM/LM-6-2.tlg b/required/latex-lab/testfiles-LM/LM-6-1-2.tlg
similarity index 65%
rename from required/latex-lab/testfiles-LM/LM-6-2.tlg
rename to required/latex-lab/testfiles-LM/LM-6-1-2.tlg
index 9078deae..e4e0dbca 100644
--- a/required/latex-lab/testfiles-LM/LM-6-2.tlg
+++ b/required/latex-lab/testfiles-LM/LM-6-1-2.tlg
@@ -25,10 +25,32 @@ The sequence \g__tag_mc_main_marks_seq is empty
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 'H1 (from chapter)' is '1 (0..n)'
+Chapter 6.
+Package tagpdf Info: The rule between parent 'H1 (from chapter)'
+(tagpdf) and child 'NonStruct' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'NonStruct (inherited from H1)'
+(tagpdf) and child 'Span' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Span'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 9 tagged /Span
+Package tagpdf Info: closing structure 8 tagged /NonStruct
+Package tagpdf Info: The rule between parent 'H1 (from chapter)'
+(tagpdf) and child 'NonStruct' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'NonStruct (inherited from H1)'
+(tagpdf) and child 'Span' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Span'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 11 tagged /Span
+Package tagpdf Info: closing structure 10 tagged /NonStruct
+Package tagpdf Info: closing structure 7 tagged /chapter
+Package tagpdf Info: The rule between parent 'Sect'
+(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 'MC' is '1 (0..n)'
-Package tagpdf Info: closing structure 7 tagged /section
+Package tagpdf Info: closing structure 13 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 +61,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 17 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,14 +70,14 @@ 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: The rule between parent 'Document'
+Package tagpdf Info: closing structure 20 tagged /text
+Package tagpdf Info: closing structure 19 tagged /text-unit
+Package tagpdf Info: closing structure 18 tagged /LBody
+Package tagpdf Info: closing structure 16 tagged /LI
+Package tagpdf Info: closing structure 15 tagged /itemize
+Package tagpdf Info: closing structure 14 tagged /text-unit
+Package tagpdf Info: closing structure 12 tagged /Sect
+Package tagpdf Info: The rule between parent 'Sect'
(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)'
@@ -63,37 +85,50 @@ 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 17 tagged /Lbl
+Package tagpdf Info: closing structure 23 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 16 tagged /section
+Package tagpdf Info: closing structure 22 tagged /section
+Package tagpdf Info: The rule between parent 'Sect'
+(tagpdf) and child 'Sect' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'Sect'
+(tagpdf) and child 'H3 (from subsection)' is '1 (0..n)'
+Package tagpdf Info: The rule between parent 'H3 (from subsection)'
+(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 26 tagged /Lbl
+Package tagpdf Info: The rule between parent 'H3 (from subsection)'
+(tagpdf) and child 'MC' is '1 (0..n)'
+Package tagpdf Info: closing structure 25 tagged /subsection
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 28 tagged /text
+Package tagpdf Info: closing structure 27 tagged /text-unit
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
> {3}
> {5}.
-[2]
+[2
+]
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 21 tagged /text
-Package tagpdf Info: closing structure 20 tagged /text-unit
+Package tagpdf Info: closing structure 30 tagged /text
+Package tagpdf Info: closing structure 29 tagged /text-unit
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
-> {11}
-> {19}.
+> {15}
+> {28}.
[3]
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
@@ -101,13 +136,13 @@ 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 23 tagged /text
-Package tagpdf Info: closing structure 22 tagged /text-unit
+Package tagpdf Info: closing structure 32 tagged /text
+Package tagpdf Info: closing structure 31 tagged /text-unit
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
-> {14}
-> {21}.
+> {18}
+> {30}.
[4]
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
@@ -120,13 +155,13 @@ LaTeX Font Info: No file OMScmtt.fd. on input line ....
LaTeX Font Warning: Font shape `OMS/cmtt/m/n' undefined
(Font) using `OMS/cmsy/m/n' instead
(Font) for symbol `textbackslash' on input line ....
-Package tagpdf Info: closing structure 25 tagged /text
-Package tagpdf Info: closing structure 24 tagged /text-unit
+Package tagpdf Info: closing structure 34 tagged /text
+Package tagpdf Info: closing structure 33 tagged /text-unit
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
-> {17}
-> {23}.
+> {21}
+> {32}.
[5]
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
@@ -134,13 +169,13 @@ 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 27 tagged /text
-Package tagpdf Info: closing structure 26 tagged /text-unit
+Package tagpdf Info: closing structure 36 tagged /text
+Package tagpdf Info: closing structure 35 tagged /text-unit
The sequence \g__tag_mc_main_marks_seq contains the items (without outer
braces):
> {e+}
-> {20}
-> {25}.
+> {24}
+> {34}.
[6]
Package tagpdf Info: The rule between parent 'Sect'
(tagpdf) and child 'Part (from text-unit)' is '1 (0..n)'
@@ -148,13 +183,13 @@ 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 29 tagged /text
-Package tagpdf Info: closing structure 28 tagged /text-unit
+Package tagpdf Info: closing structure 38 tagged /text
+Package tagpdf Info: closing structure 37 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 31 tagged /text
-Package tagpdf Info: closing structure 30 tagged /text-unit
+Package tagpdf Info: closing structure 40 tagged /text
+Package tagpdf Info: closing structure 39 tagged /text-unit
diff --git a/required/latex-lab/update-LM-all.sh b/required/latex-lab/update-LM-all.sh
index 2a0bb292..ab55350c 100644
--- a/required/latex-lab/update-LM-all.sh
+++ b/required/latex-lab/update-LM-all.sh
@@ -10,6 +10,6 @@ l3build save -cconfig-LM-tagging \
LM-4-5 \
LM-5-1+2 \
LM-5-3 \
- LM-6-1a \
- LM-6-1b \
- LM-6-2
+ LM-6-1-1a \
+ LM-6-1-1b \
+ LM-6-1-2
More information about the latex3-commits
mailing list.