[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: improve warning about extra "m" in font shape declaration (33adec58)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Jun 9 13:28:45 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : TL21-2-kernel-msgs
Link       : https://github.com/latex3/latex2e/commit/33adec5871ef2549f05c491b43a89f9c2bb8d8ac

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

commit 33adec5871ef2549f05c491b43a89f9c2bb8d8ac
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Jun 9 13:28:45 2021 +0200

    improve warning about extra "m" in font shape declaration


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

33adec5871ef2549f05c491b43a89f9c2bb8d8ac
 base/changes.txt  | 5 +++++
 base/ltfssbas.dtx | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 33868dc1..a25943e7 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2021-06-09  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltfssbas.dtx (section{Macros for setting up the tables}):
+	Improve one warning message
+
 2021-06-08  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* utf8ienc.dtx:
diff --git a/base/ltfssbas.dtx b/base/ltfssbas.dtx
index df265d0b..b7ef460c 100644
--- a/base/ltfssbas.dtx
+++ b/base/ltfssbas.dtx
@@ -35,7 +35,7 @@
 %
 %
 \ProvidesFile{ltfssbas.dtx}
-             [2021/04/26 v3.2i LaTeX Kernel (NFSS Basic Macros)]
+             [2021/06/09 v3.2j LaTeX Kernel (NFSS Basic Macros)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -280,11 +280,12 @@
 %    may have dropped an ``m''. If nothing has changes,
 %    fine. Otherwise there was a wrong value which is now corrected in
 %    \cs{reservedb} so we use that and also issue a warning.
+% \changes{v3.2j}{2021/06/09}{Improve warning message}
 %    \begin{macrocode}
      \edef\reserved at a{#3}%
      \series at maybe@drop at one@m\reserved at a\reserved at b
      \ifx\reserved at a\reserved at b\else
-       \@latex at warning{Font shape declaration has incorrect series
+       \@latex at warning{Font shape #1/#2/#3/#4 has incorrect series
          value `#3'.\MessageBreak It should not contain an `m'!
          Please correct it.\MessageBreak Found}%
      \fi





More information about the latex3-commits mailing list.