[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: fix for #395 (216e388b)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Sep 30 16:00:37 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/216e388b9a823f6ef158a9a6f996f5efd7522080

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

commit 216e388b9a823f6ef158a9a6f996f5efd7522080
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Sep 30 16:00:37 2020 +0200

    fix for #395


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

216e388b9a823f6ef158a9a6f996f5efd7522080
 base/changes.txt  |  7 +++++++
 base/ltfssini.dtx | 12 ++++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 4dff75c4..136bfe3d 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,13 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2020-09-30  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltfssini.dtx (section{Custom series settings for main document families}):
+	\bfdefault at previous was called \bfseries at previous by mistake
+	\mddefault at previous was called \mdseries at previous by mistake
+        (gh/395)
+
 2020-09-26  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltfinal.dtx (subsection{Some last minute initializations \ldots}):
diff --git a/base/ltfssini.dtx b/base/ltfssini.dtx
index 61d0a793..10f3dc58 100644
--- a/base/ltfssini.dtx
+++ b/base/ltfssini.dtx
@@ -36,7 +36,7 @@
 %
 %
 \ProvidesFile{ltfssini.dtx}
-             [2020/08/27 v3.2c LaTeX Kernel (NFSS Initialisation)]
+             [2020/09/30 v3.2d LaTeX Kernel (NFSS Initialisation)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -800,7 +800,7 @@
 %    \begin{macrocode}
   \expand at font@defaults
 %    \end{macrocode}
-%    If \cs{bfdefault} and \cs{befdefault at previous} are different then
+%    If \cs{bfdefault} and \cs{bfdefault at previous} are different then
 %    the default got changed directly through the legacy interface
 %    (i.e., via \cs{def} or \cs{renewcommand}. In that case we reset
 %    all meta family defaults so that the document behaves like it was
@@ -812,10 +812,12 @@
 %    \end{macrocode}
 %    We add \cs{@empty} and then let \cs{bfdefault at previous} to
 %    \cs{bfdefault} so that we can detect any further change.
+% \changes{v3.2d}{2020/09/30}{\cs{bfdefault at previous} not \cs{bfseries at previous}
+%        (gh/395)}
 %    \begin{macrocode}
     \expandafter\def\expandafter\bfdefault
                     \expandafter{\bfdefault\@empty}%
-    \let\bfseries at previous\bfdefault
+    \let\bfdefault at previous\bfdefault
 %    \end{macrocode}
 %    And we reset the meta family defaults (\cs{bfdef at ult} is an
 %    expanded version of \cs{bfdefault}.
@@ -861,13 +863,15 @@
 %            of \cs{fontseries} argument so that it is not done several times}
 % \changes{v3.1k}{2020/03/19}{Support legacy use of \cs{bfdefault}
 %        and \cs{mddefault} (gh/306)}
+% \changes{v3.2d}{2020/09/30}{\cs{mddefault at previous} not \cs{mdseries at previous}
+%        (gh/395)}
 %    \begin{macrocode}
 \DeclareRobustCommand\mdseries{%
   \not at math@alphabet\mdseries\relax
   \expand at font@defaults
   \ifx\mddefault\mddefault at previous\else
     \expandafter\def\expandafter\mddefault\expandafter{\mddefault\@empty}%
-    \let\mdseries at previous\mddefault
+    \let\mddefault at previous\mddefault
     \let\mdseries at rm\mddef at ult
     \let\mdseries at sf\mddef at ult
     \let\mdseries at tt\mddef at ult





More information about the latex3-commits mailing list.