Skip to content

Commit

Permalink
Merge branch 'develop' into tlc3-errata
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Feb 6, 2025
2 parents 1d328e0 + baa5656 commit b866808
Show file tree
Hide file tree
Showing 133 changed files with 6,246 additions and 10,501 deletions.
65 changes: 46 additions & 19 deletions base/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ to completeness or accuracy and it contains some references to files that are
not part of the distribution.
================================================================================

2025-02-03 Frank Mittelbach <[email protected]>

* lthooks.dtx:

Document more prominently that using a hook with \UseHook or similar
commands requires that the hook to be declared first (gh/1519)

2025-01-31 Frank Mittelbach <[email protected]>

* latexrelease.dtx (subsection{Ignoring \texttt{\string_new} errors when rolling back}):
Silence \NewSocket and \NewSocketPlug in rollback

2025-01-29 Frank Mittelbach <[email protected]>

* ltoutput.dtx (subsubsection{Float control}):
When floats are to be placed and a test fails, \@reqcolroom needs
to be reset to the value prior to the failed test (gh/1645)

2025-01-23 Frank Mittelbach <[email protected]>

* ltoutput.dtx (subsection{Floats}):
Expand Down Expand Up @@ -212,6 +230,15 @@ not part of the distribution.
All changes above are only part of the development branch for the next release.
================================================================================

#########################
# 2024-11-01 PL2 Release
#########################

2025-01-26 Frank Mittelbach <[email protected]>

* ltlists.dtx:
Only migrate \@doendpe out of simple and semi-simple groups (gh/1641)

#########################
# 2024-11-01 PL1 Release
#########################
Expand All @@ -237,7 +264,7 @@ All changes above are only part of the development branch for the next release.

* fontdef.dtx:
Preload ts1cmr.fd, ts1cmss.fd, and ts1cmtt in the kernel
Drop unnecessary \DeclareFontSubstitution declarations
Drop unnessary \DeclareFontSubstitution declarations

#########################
# 2024-11-01 Release
Expand Down Expand Up @@ -386,7 +413,7 @@ All changes above are only part of the development branch for the next release.
2024-07-13 Frank Mittelbach <[email protected]>

* lttagging.dtx (subsection{Tagging support for table/tabular packages}):
Sockets for \cs{cline} leaders added (tagging/134)
Sockets for \cline leaders added (tagging/134)

2024-07-10 Frank Mittelbach <[email protected]>

Expand Down Expand Up @@ -1041,7 +1068,7 @@ All changes above are only part of the development branch for the next release.
2022-11-14 Frank Mittelbach <[email protected]>

* latexrelease.dtx (subsection{Ignoring \texttt{\string_new} errors when rolling back}):
Silence \cs{NewMarkClass} in rollback (gh/955)
Silence \NewMarkClass in rollback (gh/955)

2022-11-13 Frank Mittelbach <[email protected]>

Expand Down Expand Up @@ -2235,7 +2262,7 @@ All changes above are only part of the development branch for the next release.
2020-12-10 Frank Mittelbach <[email protected]>

* ltbibl.dtx (section{Bibliography Generation}):
Delay any \cs{nocite} in the preamble instead of raising
Delay any \nocite in the preamble instead of raising
an error (gh/424)

2020-12-06 Johannes Braams <[email protected]>
Expand Down Expand Up @@ -2799,7 +2826,7 @@ All changes above are only part of the development branch for the next release.

2020-03-07 Frank Mittelbach <[email protected]>

* ltspace.dtx: Moved \cs{thinspace}, \cs{negthinspace} and \cs{,} to
* ltspace.dtx: Moved \thinspace, \negthinspace and \, to
ltmath.dtx (gh/303)

* ltmath.dtx (subsubsection{The UNSORTED Rest}):
Expand Down Expand Up @@ -4836,7 +4863,7 @@ All changes above are only part of the development branch for the next release.
2003-08-27 Frank Mittelbach <[email protected]>

* ltpictur.dtx (section{Picture Mode}):
check for \cs{@linechar} being empty (pr/3570)
check for \@linechar being empty (pr/3570)
(subsection{Curves}): added missing displacement (pr/3566)

2003-05-18 Frank Mittelbach <[email protected]>
Expand Down Expand Up @@ -4922,11 +4949,11 @@ All changes above are only part of the development branch for the next release.
* ltvers.dtx: error message still talked about 1 year old sources
being too old (though in fact it is 30 months)

* ltoutenc.dtx: Corrected \cs{c} for T1 (pr/3442)
* ltoutenc.dtx: Corrected \c for T1 (pr/3442)
Added \cs{textbardbl} (pr/3400)
Definition of \textexclamdown changed (pr/3368)
Definition of \textexclamdown changed (pr/3368)
Definition of \textquestiondown changed (pr/3368)
Changed def for \textregistered to avoid small caps (pr/3420)
Changed def for \textregistered to avoid small caps (pr/3420)

2002-06-16 Frank Mittelbach <[email protected]>

Expand Down Expand Up @@ -5233,8 +5260,8 @@ All changes above are only part of the development branch for the next release.
1999-12-08 Frank Mittelbach <[email protected]>

* ltoutenc.dtx (subsection{The fontenc package}):
Changed \cs{CYRRHOOK} and \cs{cyrrhook} to
\cs{CYRRHK} and \cs{cyrrhk} as name changed in the cyrillic
Changed \CYRRHOOK and \cyrrhook to
\CYRRHK and \cyrrhk as name changed in the cyrillic
bundle for naming consistency with other ``hook'' glyphs.

1999-12-01 Frank Mittelbach <[email protected]>
Expand Down Expand Up @@ -5594,7 +5621,7 @@ All changes above are only part of the development branch for the next release.
1999-01-05 Rainer Schoepf <[email protected]>

* fontdef.dtx: Need special protection for character
\texttt{\char62} in \cs{changes} entry, as this is the makeindex
\char62 in \changes entry, as this is the makeindex
actualchar.

1998-12-28 Rainer Schoepf <[email protected]>
Expand Down Expand Up @@ -5652,7 +5679,7 @@ All changes above are only part of the development branch for the next release.

1998-08-17 Rainer Schoepf <[email protected]>

* (Various source files): Replaced old form `commandname by
* (Various source files): Replaced old form \cmd{\commandname} by
\cs{commandname} in changes entries.

* (Various source files): Replaced \cmd{\commandname} by
Expand Down Expand Up @@ -7992,7 +8019,7 @@ All changes above are only part of the development branch for the next release.
1995-10-23 Rainer Schoepf <[email protected]>

* classes.dtx (subsubsection{Abstract}): Added setting of
\cs{beginparpenalty} to discourage page break before abstract
\beginparpenalty to discourage page break before abstract
heading.

1995-10-22 Rainer Schoepf <[email protected]>
Expand Down Expand Up @@ -8998,8 +9025,8 @@ All changes above are only part of the development branch for the next release.
* classes.dtx: replaced all \hbox to with \hb@xt@; replaced all
constructs such as \arabic{enumi} with \@arabic\c@enumi
(subsection{Footnotes}): Use \@width instead of width
(subsection{The title}): Use \cs{\@makefnmark} in definition of
\cs{@makefntext}
(subsection{The title}): Use \@makefnmark in definition of
\@makefntext
Cleaned up the \changes entries

1995-05-17 David Carlisle <[email protected]>
Expand Down Expand Up @@ -10444,8 +10471,8 @@ All changes above are only part of the development branch for the next release.

1994-09-04 Alan Jeffrey <[email protected]>

* inputenc.dtx: Added \cs{DeclareInputComposite} and the
\cs{ProvidesCommand}s to the encoding files.
* inputenc.dtx: Added \DeclareInputComposite and the
\ProvidesCommand's to the encoding files.
Removed the definition of the accent slots in Latin-1.

1994-08-31 Alan Jeffrey <[email protected]>
Expand Down Expand Up @@ -13071,7 +13098,7 @@ All changes above are only part of the development branch for the next release.
version in ltplain.dtx is no longer \outer.
Comment out the experimental version of \@bsphack.

Remove test for \cs{inputlineno} undefined as it is
Remove test for \inputlineno undefined as it is
defined in ltplain.dtx

* ltplain.dtx: remove \outer from \newskip \newdimen \newwrite
Expand Down
6 changes: 3 additions & 3 deletions base/doc/ltnews40.tex
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ \subsection{Improvement to \textup{\XeTeX}\ \cs{showhyphens}}
%
\githubissue{1380}

\subsection{Improved error raised by empty hook}
\subsection{Improved error raised for empty hook name}

When using the hook management, both hook and label names (if
specified) should be non-empty. Before, empty hook and empty label names both
Expand All @@ -470,9 +470,9 @@ \subsection{Improved error raised by empty hook}
! LaTeX hooks Error: Empty code label on line ..
Using 'top-level' instead.
\end{verbatim}
This has now been improved. Now an empty hook raises
This has now been improved. Now an empty hook name generates
\begin{verbatim}
! LaTeX hooks Error: Empty hook on line ..
! LaTeX hooks Error: Empty hook name on line ..
\end{verbatim}
%
\githubissue{1423}
Expand Down
23 changes: 23 additions & 0 deletions base/doc/ltnews41.tex
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,29 @@ \subsection{Make \cs{label}, \cs{index}, and \cs{glossary} truely invisible in r
%
\githubissue{1638}

\subsection{Correct the float placement algorithm}

When floats are added to the current or next page, \LaTeX{} makes
several tests to find an area that can receive the float. One of these
tests calculates how much space is already used on the page and how
much additional space is needed to place the float in a particular
area. This means that it looks not only at the height of the float but also at the
values from \cs{intextsep} (for \texttt{h} floats) or
\cs{textfloatsep} and \cs{floatsep} (for \texttt{t} and \texttt{b}
floats). The resulting space requirement is then stored in an internal
variable and compared to the space still available on the page.

If the test fails, the algorithm tries the next area. Unfortunately,
it was reusing the value in that internal variable as the starting point
for the next test without removing the added space for the float
separation (\cs{intextsep}, \cs{floatsep}, or \cs{textfloatsep}). Thus
the comparison was being made with the wrong value (i.e., too high); therefore the test
may have incorrectly concluded that a float doesn't
fit, even though in fact it did.

This has now been corrected.
%
\githubissue{1645}


\section{Documentation}
Expand Down
15 changes: 14 additions & 1 deletion base/latexrelease.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
%<*latexrelease>
% \fi
% \ProvidesFile{latexrelease.dtx}
[2024/08/11 v1.0p LaTeX release emulation and tests
[2025/01/31 v1.0q LaTeX release emulation and tests
(including releases up to \latexreleaseversion)]
% \iffalse
%</latexrelease>
Expand Down Expand Up @@ -754,6 +754,14 @@ of this package available from CTAN}
\msg_redirect_name:nnn { mark } { class-already-defined }{ none }
% \end{macrocode}
%
% The same is also needed for \cs{NewSocket} and \cs{NewSocketPlug}.
% \changes{v1.0q}{2025/01/31}
% {Silence \cs{NewSocket} and \cs{NewSocketPlug} in rollback}
% \begin{macrocode}
\msg_redirect_name:nnn { socket } { already-declared } { none }
\msg_redirect_name:nnn { socket } { plug-already-declared } { none }
% \end{macrocode}
%
% Now a one-off for |ltcmd.dtx|: we need to make \cs{NewDocumentCommand}
% not complain on an already existing command, but it has to be done
% after \cs{NewDocumentCommand} is defined, so this is separate from
Expand Down Expand Up @@ -806,9 +814,14 @@ of this package available from CTAN}
% And restore the silenced error messages.
% \changes{v1.0p}{2022/11/14}
% {Unsilence \cs{NewMarkClass} error message after rollback (gh/955)}
% \changes{v1.0q}{2025/01/31}
% {Unsilence \cs{NewSocket} and \cs{NewSocketPlug} error message
% after rollback}
% \begin{macrocode}
\msg_redirect_name:nnn { hooks } { exists } { }
\msg_redirect_name:nnn { mark } { class-already-defined } { }
\msg_redirect_name:nnn { socket } { already-declared } { }
\msg_redirect_name:nnn { socket } { plug-already-declared } { }
% \end{macrocode}
%
% \begin{macrocode}
Expand Down
Loading

0 comments on commit b866808

Please sign in to comment.