[latex3-commits] [latex3/latex2e] lab-review-02: remove ltugboat firstaid, it is done by the class (4556ef1a)
github at latex-project.org
github at latex-project.org
Fri Jul 21 18:00:53 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : lab-review-02
Link : https://github.com/latex3/latex2e/commit/4556ef1a2d8cac00f712eec027d6e96c4705cfe5
>---------------------------------------------------------------
commit 4556ef1a2d8cac00f712eec027d6e96c4705cfe5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jul 21 18:00:53 2023 +0200
remove ltugboat firstaid, it is done by the class
>---------------------------------------------------------------
4556ef1a2d8cac00f712eec027d6e96c4705cfe5
required/latex-lab/changes.txt | 5 +++++
required/latex-lab/latex-lab-firstaid.dtx | 29 -----------------------------
2 files changed, 5 insertions(+), 29 deletions(-)
diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index 0d115958..f2ef318f 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,8 @@
+2023-07-21 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+ * rename latex-lab-toc-tagging.dtx to latex-lab-toc.dtx
+ * clean up versions and package declarations
+ * remove firstaid for ltugboat, this is now handled by the class
+
2023-07-19 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
* really rename sec-tagging to sec
* really rename toc-tagging to toc
diff --git a/required/latex-lab/latex-lab-firstaid.dtx b/required/latex-lab/latex-lab-firstaid.dtx
index 98fff0f7..e2ee78b2 100644
--- a/required/latex-lab/latex-lab-firstaid.dtx
+++ b/required/latex-lab/latex-lab-firstaid.dtx
@@ -106,35 +106,6 @@
}%
}
% \end{macrocode}
-% \subsection{ltugboat}
-% ltugboat need only a redefinition of \cs{l at section} to add the hooks
-% \begin{macrocode}
-\AddToHook{file/ltugboat.cls/after}
- {
- \def\l at section#1#2{\addpenalty{\@secpenalty}%
- \addvspace{\TBtocsectionspace}%
- \@tempdima 1.5em
- \begingroup
- \parindent\z@ \rightskip\z@ % article style makes \rightskip > 0
- \parfillskip\z@
- \TBtocsectionfont
- \leavevmode\advance\leftskip\@tempdima\hskip-\leftskip
- \UseHookWithArguments{contentsline/text/before}{4}
- {\toclevel at part}{#1}{#2}{\@contentsline at destination}%
- \csname contentsline at text@1 at format\endcsname{#1}%
- \UseHookWithArguments{contentsline/text/after}{4}
- {\toclevel at part}{#1}{#2}{\@contentsline at destination}%
- \nobreak\hfil
- \nobreak\hb at xt@\@pnumwidth{\hss
- \UseHookWithArguments{contentsline/page/before}{4}
- {\toclevel at part}{#1}{#2}{\@contentsline at destination}%
- #2%
- \UseHookWithArguments{contentsline/page/after}{4}
- {\toclevel at part}{#1}{#2}{\@contentsline at destination}%
- }\par
- \endgroup}
- }
-% \end{macrocode}
% \subsection{cleveref}
% The cleveref package redefines \cs{@makefntext} and this means that the patches in
% the new footnote code fails. We use a hook instead
More information about the latex3-commits
mailing list.