[latex3-commits] [git/LaTeX3-latex3-latex2e] latex-lab-toc-sec: address issues from review (59204429)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Feb 24 12:29:34 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : latex-lab-toc-sec
Link : https://github.com/latex3/latex2e/commit/59204429de2913924bc548558535646a9da4e34c
>---------------------------------------------------------------
commit 59204429de2913924bc548558535646a9da4e34c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Feb 24 12:29:34 2023 +0100
address issues from review
>---------------------------------------------------------------
59204429de2913924bc548558535646a9da4e34c
required/latex-lab/latex-lab-sec-tagging.dtx | 5 +++--
required/latex-lab/latex-lab-toc-kernel-changes.dtx | 4 ++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/latex-lab-sec-tagging.dtx b/required/latex-lab/latex-lab-sec-tagging.dtx
index 25685ef9..ad2bf503 100644
--- a/required/latex-lab/latex-lab-sec-tagging.dtx
+++ b/required/latex-lab/latex-lab-sec-tagging.dtx
@@ -137,7 +137,7 @@
%
% \item The number in \cs{part} and \cs{chapter} is currently not correctly
% tagged as a \texttt{Lbl} as this requires to redefine the internal (class dependant)
-% commans to.
+% commands too.
%
% \end{itemize}
%
@@ -162,7 +162,8 @@
%
% \subsubsection{Assigning the headings level numbers}
% [kernel?]
-% Also done in the toc-tagging, only repeated here for the record.
+% Also done in the toc-tagging, only repeated here for the record and
+% for consistency in case the toc-tagging code is not loaded.
% We assume that all sectioning commands have a well-defined
% level. We use here the commands also used by the toc-tagging \cs{toclevel at xx}.
% and by hyperref.
diff --git a/required/latex-lab/latex-lab-toc-kernel-changes.dtx b/required/latex-lab/latex-lab-toc-kernel-changes.dtx
index 74624f35..c9f7ff05 100644
--- a/required/latex-lab/latex-lab-toc-kernel-changes.dtx
+++ b/required/latex-lab/latex-lab-toc-kernel-changes.dtx
@@ -123,6 +123,10 @@
% |hyperref| for the bookmark levels. While headings are more a class thing, it
% could make sense to provide a standard set already in the kernel.
% The numbers are a bit different to the one in hyperref, but imho sensible.
+%
+% Note for the future:
+% once that heading stuff is turned into template
+% instances the template should set that number.
% \begin{macrocode}
\def\toclevel at part{-1}
\def\toclevel at chapter{0}
More information about the latex3-commits
mailing list.