[latex3-commits] [git/LaTeX3-latex3-latex2e] gh444: added documentation in ltnews (4c3f258d)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Jan 6 11:35:12 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh444
Link       : https://github.com/latex3/latex2e/commit/4c3f258d04333856f1161ee1677ca608ca05649a

>---------------------------------------------------------------

commit 4c3f258d04333856f1161ee1677ca608ca05649a
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Jan 6 11:35:12 2021 +0100

    added documentation in ltnews


>---------------------------------------------------------------

4c3f258d04333856f1161ee1677ca608ca05649a
 base/doc/ltnews33.tex | 15 +++++++++++----
 base/ltfsstrc.dtx     |  2 +-
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/base/doc/ltnews33.tex b/base/doc/ltnews33.tex
index 3c0344d5..13a4ec4f 100644
--- a/base/doc/ltnews33.tex
+++ b/base/doc/ltnews33.tex
@@ -142,15 +142,22 @@ the name. The coding has now been slightly altered to allow for this.
 
 \subsection{Provide hook in \cs{selectfont}}
 
-\emph{write}
-
+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}
 
-\emph{write}
-
+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}
 
 
diff --git a/base/ltfsstrc.dtx b/base/ltfsstrc.dtx
index 78caead6..10a69745 100644
--- a/base/ltfsstrc.dtx
+++ b/base/ltfsstrc.dtx
@@ -549,7 +549,7 @@
 %    \end{macrocode}
 %    
 %    After switching fonts we run a hook, so that packages can make
-%    last stage alterations based on the new font (originally provided
+%    last minute alterations based on the new font (originally provided
 %    in \pkg{everysel} but using a different interface).
 % \changes{v3.0m}{2020/12/03}{Install a hook in \cs{selectfont} (gh/444)}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.