[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: Add changes entries; change ! -> . in one message (should error somewhere) (e6fc4a17)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Jun 9 10:49:50 CEST 2021


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

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

commit e6fc4a17e3578bdb724a096cd32ff96af5559068
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Jun 9 10:49:50 2021 +0200

    Add changes entries; change ! -> . in one message (should error somewhere)


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

e6fc4a17e3578bdb724a096cd32ff96af5559068
 base/ltcmd.dtx    | 1 +
 base/ltdefns.dtx  | 2 +-
 base/ltmiscen.dtx | 1 +
 base/utf8ienc.dtx | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index a01a8d32..e9c6a3a0 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3504,6 +3504,7 @@
 % \end{macro}
 %
 % Some messages intended as errors when defining commands/environments.
+% \changes{v1.0f}{2021/06/04}{Normalize various error messages}
 %    \begin{macrocode}
 \msg_new:nnnn { cmd } { arg-after-body }
   { Argument~type~'b'~must~be~last~in~#1. }
diff --git a/base/ltdefns.dtx b/base/ltdefns.dtx
index 72daadd2..6c85ca91 100644
--- a/base/ltdefns.dtx
+++ b/base/ltdefns.dtx
@@ -1231,7 +1231,7 @@
   \count@=\escapechar
   \escapechar=`\\
   \@ifundefined{\expandafter\@gobble\string#1}{%
-    \@latex at error{Command `\string#1' undefined!%
+    \@latex at error{Command `\string#1' undefined.%
       \MessageBreak There is nothing here to make robust}%
     \@eha
   }%
diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 697e71ae..6cc58907 100644
--- a/base/ltmiscen.dtx
+++ b/base/ltmiscen.dtx
@@ -1471,6 +1471,7 @@
 \def\@sverb#1{\if\noexpand#1 \expandafter\@sverb\else\@@sverb{#1}\fi}
 %    \end{macrocode}
 %    
+% \changes{v1.1z}{2021/06/05}{Normalize error message}
 %    \begin{macrocode}
 \def\@@sverb#1{%
   \catcode`#1\active
diff --git a/base/utf8ienc.dtx b/base/utf8ienc.dtx
index d85a4155..c75f854b 100644
--- a/base/utf8ienc.dtx
+++ b/base/utf8ienc.dtx
@@ -443,6 +443,7 @@
 % \changes{v1.1g}{2005/09/27}{Real spaces do not show up so use \cs{space}}
 % \changes{v1.1o}{2015/08/28}{Show Unicode number of character in hex}
 % \changes{v1.2a}{2018/03/24}{Error message improved for non-UTF-8 sequences}%
+% \changes{v1.2m}{2021/06/08}{Normalize various error messages as kernel errors}
 %    \begin{macrocode}
       \UTFviii at undefined@err{#1}%
 %    \end{macrocode}





More information about the latex3-commits mailing list.