[latex3-commits] [latex3/latex2e] UF-latexlab-toc, defaultT1, develop, tlc3-errata, update-UseTaggingSocket: Correct typos introduced in gh1398 and gh1401 (#1402) (eebb4ea0d)
github at latex-project.org
github at latex-project.org
Mon Jul 8 15:29:34 CEST 2024
Repository : https://github.com/latex3/latex2e
On branches: UF-latexlab-toc,defaultT1,develop,tlc3-errata,update-UseTaggingSocket
Link : https://github.com/latex3/latex2e/commit/eebb4ea0d5df1e81c1f4270701f8db792ecf2524
>---------------------------------------------------------------
commit eebb4ea0d5df1e81c1f4270701f8db792ecf2524
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Mon Jul 8 21:29:34 2024 +0800
Correct typos introduced in gh1398 and gh1401 (#1402)
* Correct typos introduced in #1401
* Correct typos introduced in #1398
And reformat longtable.dtx.
>---------------------------------------------------------------
eebb4ea0d5df1e81c1f4270701f8db792ecf2524
base/doc/ltnews40.tex | 6 +++---
base/ltcmd.dtx | 4 ++--
required/tools/longtable.dtx | 42 +++++++++++++++++++++---------------------
3 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/base/doc/ltnews40.tex b/base/doc/ltnews40.tex
index 2e2c1cfa4..b83e01a69 100644
--- a/base/doc/ltnews40.tex
+++ b/base/doc/ltnews40.tex
@@ -247,12 +247,12 @@ the counter and caption type used by the \cs{caption} command from longtable.
So with \verb+\renewcommand\LTcaptype{figure}+, a longtable will step the
figure counter instead of the table counter and produce an
entry in the list of figures. An empty definition, \verb+\renewcommand\LTcaptype{}+,
-will suppress increase of the counter. This makes it easy to define a
+will suppress increasing of the counter. This makes it easy to define an
unnumbered variant of longtable:
\begin{verbatim}
\newenvironment{longtable*}
- {\renewcommand\LTcaptype{}\longtable}
- {\endlongtable}
+ {\renewcommand\LTcaptype{}\longtable}
+ {\endlongtable}
\end{verbatim}
%\section{Changes to files in the \pkg{cyrillic} category}
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 66d86ad5f..eccb104bb 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -621,7 +621,7 @@
% \end{macro}
%
% \begin{macro}{\@@_declare_env:nnnn, \@@_declare_env:ennn}
-% \changes{v1.2f}{2024/07/06}{Use space-trimmed envname directly}
+% \changes{v1.2f}{2024/07/06}{Use space-trimmed envname directly (gh/1399)}
% \begin{macro}{\@@_declare_env_internal:nnnn}
% \begin{macro}{\@@_set_environment_end:n}
% The lead-off to creating an environment is much the same as that for
@@ -5043,7 +5043,7 @@
%
% \begin{macro}{\NewDocumentEnvironment}
% \changes{v1.0h}{2021/08/27}{Check for end-of-environment command}
-% \changes{v1.0h}{2024/07/06}{Trim spaces from envname first}
+% \changes{v1.2f}{2024/07/06}{Trim spaces from envname first (gh/1399)}
% \begin{macro}{\RenewDocumentEnvironment}
% \begin{macro}{\ProvideDocumentEnvironment}
% \begin{macro}{\DeclareDocumentEnvironment}
diff --git a/required/tools/longtable.dtx b/required/tools/longtable.dtx
index e4afb35ae..2844d34c6 100644
--- a/required/tools/longtable.dtx
+++ b/required/tools/longtable.dtx
@@ -38,7 +38,7 @@
%<driver> \ProvidesFile{longtable.drv}
% \fi
% \ProvidesFile{longtable.dtx}
- [2024-07-04 v4.21 Multi-page Table package (DPC)]
+ [2024-07-06 v4.21 Multi-page Table package (DPC)]
%
% \iffalse
%<*driver>
@@ -1525,12 +1525,12 @@
% the case if it is empty.}
% \begin{macrocode}
\tl_if_empty:eTF{\LTcaptype}
- {
- \MakeLinkTarget{LT at tables}
- }
- {
- \MakeLinkTarget{\LTcaptype}
- }
+ {
+ \MakeLinkTarget{LT at tables}
+ }
+ {
+ \MakeLinkTarget{\LTcaptype}
+ }
% \end{macrocode}
% Put the table head on the page, and then switch to the new output
% routine.
@@ -1635,7 +1635,7 @@
\tl_if_empty:eTF{\LTcaptype}
{longtable~ \theLT at tables}
{\LTcaptype\c_space_tl\use:c{the\LTcaptype}}
- }%
+ }
\LT at final@warn
\fi
% \end{macrocode}
@@ -2245,18 +2245,18 @@
% \changes{v4.21}{2024/07/04}
% {Use \cs{LTcaptype} to support other types beside table.}
% \begin{macrocode}
-\def\LT at c@ption#1[#2]#3{%
- \tl_if_empty:eTF{\LTcaptype}
- {\LT at makecaption\@gobble{}{#3}}%
- {\LT at makecaption#1{\csname fnum@\LTcaptype\endcsname}{#3}
- \def\@tempa{#2}%
- \ifx\@tempa\@empty\else
- {\let\\\space
- \addcontentsline
- {\@nameuse{ext@\LTcaptype}}
- {\LTcaptype}
- {\protect\numberline{\@nameuse{the\LTcaptype}}{#2}}}%
- \fi}}
+\def\LT at c@ption#1[#2]#3{
+ \tl_if_empty:eTF{\LTcaptype}
+ {\LT at makecaption\@gobble{}{#3}}
+ {\LT at makecaption#1{\csname fnum@\LTcaptype\endcsname}{#3}
+ \def\@tempa{#2}
+ \ifx\@tempa\@empty\else
+ {\let\\\space
+ \addcontentsline
+ {\@nameuse{ext@\LTcaptype}}
+ {\LTcaptype}
+ {\protect\numberline{\@nameuse{the\LTcaptype}}{#2}}}
+ \fi}}
\ExplSyntaxOff
% \end{macrocode}
% \end{macro}
@@ -2564,7 +2564,7 @@
\bgroup
% \end{macrocode}
% \changes{v4.12}{2019/02/06}{Color group to match array package}
-% \changes{v4.18}{2023/08/25}{Use \cs{everypar} to match array package, github 1128}%
+% \changes{v4.18}{2023/08/25}{Use \cs{everypar} to match array package, github 1128}
% \begin{macrocode}
\color at begingroup
\let\@footnotetext\LT at p@ftntext
More information about the latex3-commits
mailing list.