Skip to content

Commit

Permalink
Merge branch 'gh444' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Jan 6, 2021
2 parents 1721bca + ce17836 commit 880f14a
Show file tree
Hide file tree
Showing 40 changed files with 1,386 additions and 131 deletions.
36 changes: 36 additions & 0 deletions base/changes.txt
Expand Up @@ -6,6 +6,21 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================

2020-12-22 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltfssaxes.dtx (subsection{Changing to a new series}):
Distangle series and shape update by delaying the font series
and font shape merging (gh/444)

Move the rollback info for \normalshape after its main definition
otherwise it will not be undone (gh/458)

2020-12-22 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltfsstrc.dtx (subsection{General font loading}):
Alter \selectfont to do the delayed merging of font series
and font shape (gh/444)

2020-12-27 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* letter.dtx (subsubsection{Page breaking control}):
Expand All @@ -31,6 +46,27 @@ are not part of the distribution.
lttextcomp.dtx, ltvers.dtx, ltxdoc.dtx, ltxref.dtx, nfssfont.dtx,
proc.dtx, slides.dtx, utf8ienc.dtx.

2020-12-04 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltfilehook.dtx (subsection{Declaring a file substitution}):
Don't drop file substitution declarations when rolling back
just render them no-ops

2020-12-04 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
Add a hook to \selectfont to be executed after the switch to the
new font. This implements the functionality formerly in the everysel
package.

2020-12-04 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltfinal.dtx (subsection{File substitutions}):
Emulate everysel package

2020-12-04 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltfssini.dtx (subsection{Miscellaneous}):
Setting up \f@series and \f@shape default values directly (gh/444)

2020-10-26 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltmiscen.dtx (subsection{Environments}):
Expand Down
25 changes: 25 additions & 0 deletions base/doc/ltnews33.tex
Expand Up @@ -128,6 +128,7 @@ \subsection{\cs{end}\texttt{\textbraceleft document\textbraceright}
\githubissue{385}



\subsection{Allow extra space between name and address in \pkg{letter} class}

The \cs{opening} command in the the \pkg{letter} class expects the
Expand All @@ -139,6 +140,30 @@ \subsection{Allow extra space between name and address in \pkg{letter} class}



\subsection{Provide hook in \cs{selectfont}}

After \cs{selectfont} has altered the font we run a hook so that
packages can make final adjustments. This functionality was originally
provided by the \pkg{everysel} package, the new implementation is
slightly different and uses the standard hook management.
%
\githubissue{444}


\subsection{Delay change of font series and shape to \cs{selectfont} call}

With the NFSS extensions introduced in 2020 the font series and shape
settings be be influenced by changes to the font family. The setting
is therefore delayed until \cs{selectfont} is executed to avoid
unnecessary or incorrect substitutions that may otherwise happen due
to the order of declarations.
%
\githubissue{444}





\subsection{\ldots}

\emph{to be written}
Expand Down
6 changes: 3 additions & 3 deletions base/format.ins
Expand Up @@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
%% Copyright (C) 1993-2020
%% Copyright (C) 1993-2021
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
Expand Down Expand Up @@ -48,7 +48,7 @@ reports for it can be opened at https://latex-project.org/bugs.html
(but please observe conditions on bug reports sent to that address!)


Copyright (C) 1993-2020
Copyright (C) 1993-2021
The LaTeX3 Project and any individual authors listed elsewhere
in this file.

Expand Down Expand Up @@ -123,7 +123,7 @@ extension .ins) which are part of the distribution.

This is a generated file.

Copyright (C) 1993-2020
Copyright (C) 1993-2021
The LaTeX3 Project and any individual authors listed elsewhere
in this file.

Expand Down
12 changes: 9 additions & 3 deletions base/ltfilehook.dtx
Expand Up @@ -31,7 +31,7 @@
%%% From File: ltfilehook.dtx
%
% \begin{macrocode}
\providecommand\ltfilehookversion{v1.0c}
\providecommand\ltfilehookversion{v1.0d}
\providecommand\ltfilehookdate{2020/12/05}
% \end{macrocode}
%
Expand Down Expand Up @@ -850,12 +850,18 @@
%<latexrelease>\EndIncludeInRelease
% \end{macrocode}
%
% We are not fully rolling back the file substitutions in case a
% rollback encounters a package that contains them, but is itself
% not setup for rollback. So we just bypass them and hope for the
% best.
% \changes{v1.0d}{2020/12/04}{Don't drop file substitution commands on
% rollback}
% \begin{macrocode}
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\declare@file@substitution}{File substitution}%
%<latexrelease>
%<latexrelease>\let \declare@file@substitution \@undefined
%<latexrelease>\let \undeclare@file@substitution \@undefined
%<latexrelease>\let \declare@file@substitution \@gobbletwo
%<latexrelease>\let \undeclare@file@substitution \@gobble
%<latexrelease>
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
Expand Down
7 changes: 5 additions & 2 deletions base/ltfinal.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
% Copyright (C) 1993-2020
% Copyright (C) 1993-2021
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
Expand Down Expand Up @@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfinal.dtx}
[2020-12-05 v2.2j LaTeX Kernel (Final Settings)]
[2021/01/06 v2.2l LaTeX Kernel (Final Settings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfinal.dtx}
Expand Down Expand Up @@ -90,6 +90,9 @@
% \changes{v2.0s}{2016/10/15}{Tidy up status of char 127}
% \changes{v2.2i}{2020/08/21}{Integration of new hook management interface}
%
%
%
%
% \subsection{Debugging}
%
% By default, \LaTeX{} shows statistics:
Expand Down

0 comments on commit 880f14a

Please sign in to comment.