[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: Normalize message texts [WIP] (3dfe2693)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Jun 4 11:24:20 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : TL21-2-kernel-msgs
Link : https://github.com/latex3/latex2e/commit/3dfe269315f84a844eb443cf6659578f53d73548
>---------------------------------------------------------------
commit 3dfe269315f84a844eb443cf6659578f53d73548
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Jun 4 11:24:20 2021 +0200
Normalize message texts [WIP]
>---------------------------------------------------------------
3dfe269315f84a844eb443cf6659578f53d73548
base/changes.txt | 7 +++++++
base/ltcmd.dtx | 18 +++++++++---------
base/ltdefns.dtx | 4 ++--
3 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 634eb0e3..ba53bd87 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -1,3 +1,10 @@
+2021-06-04 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltdefns.dtx: Normalize message texts
+
+ * ltcmd.dtx (subsection{Messages}):
+ Normalize message texts
+
================================================================================
This file lists changes to the LaTeX2e files in reverse chronological order of
publication (therefore the dates might be out of sequence if there are hotfixes).
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 806161d5..d1e41f4a 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -34,8 +34,8 @@
%%% From File: ltcmd.dtx
%
% \begin{macrocode}
-\def\ltcmdversion{v1.0e}
-\def\ltcmddate{2021-05-24}
+\def\ltcmdversion{v1.0f}
+\def\ltcmddate{2021-06-04}
% \end{macrocode}
%
%<*driver>
@@ -3526,8 +3526,8 @@
with~a~command~that~already~has~a~definition. \\ \\
The~existing~definition~of~'#1'~will~not~be~altered.
}
-\msg_new:nnnn { cmd } { command-not-yet-defined }
- { Command ~'#1'~not~yet~defined! }
+\msg_new:nnnn { cmd } { command-undefined }
+ { Command ~'#1'~undefined! }
{
You~have~used~#2~
with~a~command~that~was~never~defined.
@@ -3540,8 +3540,8 @@
with~an~environment~that~already~has~a~definition. \\ \\
The~existing~definition~of~'#1'~will~not~be~altered.
}
-\msg_new:nnnn { cmd } { environment-not-yet-defined }
- { Environment~'#1'~not~yet~defined! }
+\msg_new:nnnn { cmd } { environment-undefined }
+ { Environment~'#1'~undefined! }
{
You~have~used~\RenewDocumentEnvironment
with~an~environment~that~was~never~defined.
@@ -3801,7 +3801,7 @@
\cs_if_exist:NTF #1
{ \@@_declare_cmd:Nnn #1 {#2} {#3} }
{
- \msg_error:nnxx { cmd } { command-not-yet-defined }
+ \msg_error:nnxx { cmd } { command-undefined }
{ \use:nnn \token_to_str:N #1 { } }
{ \token_to_str:N \RenewDocumentCommand }
}
@@ -3839,7 +3839,7 @@
{
\cs_if_exist:cTF {#1}
{ \@@_declare_env:nnnn {#1} {#2} {#3} {#4} }
- { \msg_error:nnx { cmd } { environment-not-yet-defined } {#1} }
+ { \msg_error:nnx { cmd } { environment-undefined } {#1} }
}
\cs_new_protected:Npn \ProvideDocumentEnvironment #1#2#3#4
{ \cs_if_exist:cF {#1} { \@@_declare_env:nnnn {#1} {#2} {#3} {#4} } }
@@ -3880,7 +3880,7 @@
\cs_if_exist:NTF #1
{ \@@_declare_expandable_cmd:Nnn #1 {#2} {#3} }
{
- \msg_error:nnxx { cmd } { command-not-yet-defined }
+ \msg_error:nnxx { cmd } { command-undefined }
{ \use:nnn \token_to_str:N #1 { } }
{ \token_to_str:N \RenewExpandableDocumentCommand }
}
diff --git a/base/ltdefns.dtx b/base/ltdefns.dtx
index 4f39d922..72daadd2 100644
--- a/base/ltdefns.dtx
+++ b/base/ltdefns.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltdefns.dtx}
- [2021/05/27 v1.5p LaTeX Kernel (definition commands)]
+ [2021/06/04 v1.5q LaTeX Kernel (definition commands)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltdefns.dtx}
@@ -1231,7 +1231,7 @@
\count@=\escapechar
\escapechar=`\\
\@ifundefined{\expandafter\@gobble\string#1}{%
- \@latex at error{Command `\string#1' is undefined!%
+ \@latex at error{Command `\string#1' undefined!%
\MessageBreak There is nothing here to make robust}%
\@eha
}%
More information about the latex3-commits
mailing list.