Skip to content
Merged
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
56e04e9
fix for latex3/tagging-project#1521
FrankMittelbach Aug 12, 2026
333f2eb
different soret of typo for a change
FrankMittelbach Aug 12, 2026
a46870f
Apply suggestions from code review
FrankMittelbach Aug 13, 2026
469e5db
Apply suggestions from code review
FrankMittelbach Aug 13, 2026
c785bac
more cases
FrankMittelbach Aug 14, 2026
327aa3b
Merge branch 'tagging-1521' of https://github.com/latex3/latex2e into…
FrankMittelbach Aug 14, 2026
4c499af
add | (WIP)
FrankMittelbach Aug 14, 2026
797b5ae
add | support (done)
FrankMittelbach Aug 14, 2026
add51a4
bummer: | is a verb char by default
FrankMittelbach Aug 14, 2026
8cf1ecf
Merge branch 'develop' into use-order-keys
FrankMittelbach Aug 14, 2026
6ac3011
WIP
FrankMittelbach Aug 16, 2026
0923db2
adjustments
FrankMittelbach Aug 16, 2026
00e3e91
after a first look at the test results
FrankMittelbach Aug 16, 2026
a407a4d
less separators
FrankMittelbach Aug 17, 2026
2d1b0dd
docu (WIP)
FrankMittelbach Aug 18, 2026
2c2198f
forgot to take out a debugging change
FrankMittelbach Aug 18, 2026
ea91328
try again
FrankMittelbach Aug 18, 2026
e54e3d5
and one more
FrankMittelbach Aug 18, 2026
634bcc6
docu adjustments mainly
FrankMittelbach Aug 20, 2026
f4d7291
headformat hang (WIP)
FrankMittelbach Aug 21, 2026
3d96659
WIP hang
FrankMittelbach Aug 22, 2026
af9a348
test files
FrankMittelbach Aug 22, 2026
988d7e1
grummel
FrankMittelbach Aug 22, 2026
90238d3
headformat runin (WIP)
FrankMittelbach Aug 23, 2026
a899456
update some tests
FrankMittelbach Aug 23, 2026
0870697
adjust firstaid for ams classes
FrankMittelbach Aug 23, 2026
288d5de
more test files
FrankMittelbach Aug 23, 2026
9e27a94
more test updates
FrankMittelbach Aug 23, 2026
9c1dc0e
start cleanup (WIP)
FrankMittelbach Aug 23, 2026
33d534a
Merge branch 'develop' into use-order-keys
FrankMittelbach Aug 23, 2026
3bc4e50
WIP
FrankMittelbach Aug 24, 2026
fca3901
Merge branch 'develop' into tagging-1521
FrankMittelbach Aug 24, 2026
55bebee
change test
FrankMittelbach Aug 24, 2026
58ff10a
tagging status changed
FrankMittelbach Aug 24, 2026
0a8b12e
Merge branch 'tagging-1521' into use-order-keys
FrankMittelbach Aug 24, 2026
eae20a4
fix mistake
FrankMittelbach Aug 24, 2026
254acea
fix mistake
FrankMittelbach Aug 24, 2026
364f37f
try moving the tagging sockets to heading templates only
FrankMittelbach Aug 25, 2026
567d57e
update tests
FrankMittelbach Aug 25, 2026
149ef6b
cleanup WIP
FrankMittelbach Aug 25, 2026
20ad39b
cleanup WIP
FrankMittelbach Aug 25, 2026
09d1a99
cleanup WIP
FrankMittelbach Aug 26, 2026
22c0fdf
WIP
FrankMittelbach Aug 26, 2026
188631a
cleanup
FrankMittelbach Aug 26, 2026
ba0ef20
Apply suggestions from code review
FrankMittelbach Aug 27, 2026
c66235a
from review
FrankMittelbach Aug 27, 2026
f6de681
Merge branch 'develop' into use-order-keys
FrankMittelbach Aug 31, 2026
ece0101
more tracing data in \checkstatus
FrankMittelbach Aug 31, 2026
f1ee491
update the tests
FrankMittelbach Aug 31, 2026
47546e6
use \l__tag_para_tag_tl directly
FrankMittelbach Aug 31, 2026
7826b5e
and the last change changed two tests
FrankMittelbach Aug 31, 2026
8c417ca
adjusting parts of the heading SEs
FrankMittelbach Sep 1, 2026
a67c5b4
special support in headings for parboxes
FrankMittelbach Sep 1, 2026
c7e9337
250+ test file updates, sigh
FrankMittelbach Sep 1, 2026
f69a209
missed 3
FrankMittelbach Sep 1, 2026
e8f1f99
Merge branch 'develop' into use-order-keys
FrankMittelbach Sep 3, 2026
ad4c076
change separator- -> -a etc
FrankMittelbach Sep 4, 2026
0536f95
test file changes corresponding to separator-(1|2|...) -> separator-(…
FrankMittelbach Sep 4, 2026
88f40d7
missed firstaid directory
FrankMittelbach Sep 4, 2026
0862a0a
Merge branch 'develop' into use-order-keys
FrankMittelbach Sep 5, 2026
ae074e0
add missing /titleline decls
FrankMittelbach Sep 5, 2026
745709c
fix tests + rename /titleline to /fragment
FrankMittelbach Sep 5, 2026
2eac672
use it everywhere ...
FrankMittelbach Sep 5, 2026
e382c43
take out change in latex-lab-minipage (no longer necessary)
FrankMittelbach Sep 5, 2026
798d68a
and the second instance ...
FrankMittelbach Sep 5, 2026
b30fc2e
fix some blunder in firstaid
FrankMittelbach Sep 5, 2026
4b12888
commit all files
FrankMittelbach Sep 5, 2026
0a5b89c
keep templates from 2026-06 around as -v1 to ease transion
FrankMittelbach Sep 6, 2026
4f2307d
fix tests and also add \IfTemplateExistsTF
FrankMittelbach Sep 7, 2026
338fffc
Apply batched suggestions from code review
FrankMittelbach Sep 7, 2026
c2cd5c7
fixed typos and added an ltnews entry
FrankMittelbach Sep 7, 2026
b435a56
Merge branch 'use-order-keys' of https://github.com/latex3/latex2e in…
FrankMittelbach Sep 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions required/latex-lab/changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
2026-08-23 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* latex-lab-sec-template.dtx (subsubsection{headformat templates interfaces}):
Use order key mechanism in hadformat templates.
Comment thread
FrankMittelbach marked this conversation as resolved.
Outdated

* latex-lab-firstaid.dtx:
Adjust AMS class fixes to new heading templates.

2026-08-19 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* latex-lab-template.dtx (section{The Implementation}):
Support special order key items ?, |, and, !.

2026-08-14 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* latex-lab-template.dtx:
Add support for special | item in order clists.
Add \IfValueLastOrderItemTF to do conditional formatting based on whether
or not last item had a value.

2026-08-12 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* latex-lab-sec-template.dtx (subsubsection{New \cs{@startsection}}):
Provide command to split off last token of a token list if it
is a macro with one argument (tagging/1521)

Split style argument of \@startsection based on type of
last token (tagging/1521)

2026-08-10 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* latex-lab-enumitem.dtx (subsubsection{\cs{newlist}}):
Expand Down
76 changes: 38 additions & 38 deletions required/latex-lab/latex-lab-firstaid.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
%
% https://github.com/latex3/latex2e/issues
%
\def\ltlabfirstaiddate{2026-08-07}
\def\ltlabfirstaidversion{0.85z}
\def\ltlabfirstaiddate{2026-08-23}
\def\ltlabfirstaidversion{0.86a}

%<*driver>
\DocumentMetadata{tagging=on,pdfstandard=ua-2}
Expand Down Expand Up @@ -331,8 +331,8 @@
% \begin{macrocode}
\DeclareInstance{headformat}{chapter}{display}
{
, heading-indent = 0pt %% <-- needed?
, number-title-sep = 18pt
, heading-indent = 0pt %% <-- needed?
, separator-2 = 18pt
}
% \end{macrocode}
%
Expand All @@ -353,7 +353,7 @@
}
\DeclareInstance{headformat}{section}{hang}
{
number-title-sep = 0.5em,
separator-2 = 0.5em,
}
% \end{macrocode}
%
Expand All @@ -380,12 +380,12 @@
, headformat-instance = subsection
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, heading-indent = \normalparindent
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
%
Expand All @@ -401,12 +401,12 @@
, headformat-instance = subsubsection
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsubsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, heading-indent = \normalparindent
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
%
Expand All @@ -422,12 +422,12 @@
, headformat-instance = paragraph
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{paragraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, heading-indent = \normalparindent
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
%
Expand All @@ -443,11 +443,11 @@
, headformat-instance = subparagraph
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subparagraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1.
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand Down Expand Up @@ -486,7 +486,7 @@
}
\DeclareInstance{headformat}{part}{hang}
{
, number-title-sep = 0.5em
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -506,7 +506,7 @@
}
\DeclareInstance{headformat}{section}{hang}
{
, number-title-sep = 0.5em
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand Down Expand Up @@ -534,11 +534,11 @@
, headformat-instance = subsection
, number-format = \theheading .
, number-decls = \mdseries \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -554,11 +554,11 @@
, headformat-instance = subsubsection
, number-format = \theheading .
, number-decls = \mdseries \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsubsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -574,11 +574,11 @@
, headformat-instance = paragraph
, number-format = \theheading .
, number-decls = \mdseries \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{paragraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -594,11 +594,11 @@
, headformat-instance = subparagraph
, number-format = \theheading .
, number-decls = \mdseries \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subparagraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand Down Expand Up @@ -631,7 +631,7 @@
}
\DeclareInstance{headformat}{part}{hang}
{
, number-title-sep = 0.5em
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -651,7 +651,7 @@
}
\DeclareInstance{headformat}{section}{hang}
{
, number-title-sep = 0.5em
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand All @@ -678,12 +678,12 @@
, headformat-instance = subsection
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, heading-indent = \normalparindent
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
%
Expand All @@ -699,12 +699,12 @@
, headformat-instance = subsubsection
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subsubsection}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, heading-indent = \normalparindent
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
%
Expand All @@ -720,11 +720,11 @@
, headformat-instance = paragraph
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{paragraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
, heading-indent = \normalparindent
}
% \end{macrocode}
Expand All @@ -741,11 +741,11 @@
, headformat-instance = subparagraph
, number-format = \theheading .
, number-decls = \upshape
, title-format = #1 \AddPunct{.}
}
\DeclareInstance{headformat}{subparagraph}{runin}
{
, number-title-sep = 0.5em
, title-format = #1 \AddPunct{.}
, separator-2 = 0.5em
}
% \end{macrocode}
%
Expand Down
13 changes: 11 additions & 2 deletions required/latex-lab/latex-lab-namespace.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
% https://www.latex-project.org/lppl.txt
%
%<*package>
\def\ltlabnamesdate{2026-07-29}
\def\ltlabnamesversion{0.8l}
\def\ltlabnamesdate{2026-08-23}
\def\ltlabnamesversion{0.8m}
%</package>
%<*driver>
\DocumentMetadata{tagging=on,pdfstandard=ua-2}
Expand Down Expand Up @@ -183,6 +183,9 @@ text-block, P, pdf2,
text-fragment,Span, pdf2,
% \end{macrocode}
% \subsection{From sec code}
%
% \fmi{don't think this should be called
% \texttt{section-number}. Maybe \texttt{heading-number}?}
% \begin{macrocode}
section-number, Span, pdf2,
% \end{macrocode}
Expand Down Expand Up @@ -278,6 +281,12 @@ tables, Sect, pdf2,
% Sub does not work as part is rolemapped to Title so we use Span
% \begin{macrocode}
\AssignStructureRole{sec/-1/titleline}{Span}
% \end{macrocode}
% \fmi{2026/08/22: I have some serious doubts that defining the structure name for the
% /number on a heading level is in any way useful. It certainly
% doesn't fit nicely with the template approach which is why I'm
% currently not using the declarations here.}
% \begin{macrocode}
\NewStructureName{sec/-1/number}
\AssignStructureRole{sec/-1/number}{section-number}
\NewStructureName{sec/0}
Expand Down
Loading