[latex3-commits] [git/LaTeX3-latex3-latex2e] kernel-msgs: changes entries added; some docu updates (aeff7311)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon May 24 21:33:10 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : kernel-msgs
Link : https://github.com/latex3/latex2e/commit/aeff73110f38098cba507771ba91ea911d5fe973
>---------------------------------------------------------------
commit aeff73110f38098cba507771ba91ea911d5fe973
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon May 24 21:33:10 2021 +0200
changes entries added; some docu updates
>---------------------------------------------------------------
aeff73110f38098cba507771ba91ea911d5fe973
base/changes.txt | 6 ++++++
base/ltcmd.dtx | 7 +++++--
base/ltcmdhooks.dtx | 7 +++++--
base/ltfilehook.dtx | 7 +++++--
base/lthooks.dtx | 10 ++++++----
base/ltpara.dtx | 11 ++++-------
6 files changed, 31 insertions(+), 17 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index a6ed9b9e..40cb587b 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2021-05-24 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltcmd.dtx, ltcmdhooks.dtx, ltfilehook.dtx, lthooks.dtx, ltpara.dtx:
+ Use \msg_... instead of \__kernel_msg... commands for normalized
+ error and warning commands.
+
2021-05-14 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltoutput.dtx: normalize the error commands, always use
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index be3dcb89..806161d5 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -34,8 +34,8 @@
%%% From File: ltcmd.dtx
%
% \begin{macrocode}
-\def\ltcmdversion{v1.0d}
-\def\ltcmddate{2021-04-19}
+\def\ltcmdversion{v1.0e}
+\def\ltcmddate{2021-05-24}
% \end{macrocode}
%
%<*driver>
@@ -80,6 +80,9 @@
% \end{macrocode}
%
% \changes{v1.0b}{2021/03/18}{Use \cs{NewModuleRelease}.}
+% \changes{v1.0e}{2021/05/24}{Use \cs{msg_...} instead of \cs{__kernel_msg..}}
+%
+%
% \pkg{ltcmd} code contains an |^^@| character, which usually has
% catcode~15, so \cs{IncludeInRelease} will break when this code is
% being skipped, so we'll save the catcode of |^^@| to restore later:
diff --git a/base/ltcmdhooks.dtx b/base/ltcmdhooks.dtx
index 6d0d0ac4..a4555f8a 100644
--- a/base/ltcmdhooks.dtx
+++ b/base/ltcmdhooks.dtx
@@ -13,8 +13,8 @@
%
%%% From File: ltcmdhooks.dtx
%
-\def\ltcmdhooksversion{v1.0a}
-\def\ltcmdhooksdate{2021/04/30}
+\def\ltcmdhooksversion{v1.0b}
+\def\ltcmdhooksdate{2021/05/24}
%
%
%
@@ -323,10 +323,13 @@
% throw an error.
% \end{enumerate}
%
+%
% \begin{macrocode}
%<@@=hook>
% \end{macrocode}
%
+% \changes{v1.0b}{2021/05/24}{Use \cs{msg_...} instead of \cs{__kernel_msg..}}
+%
% \begin{macrocode}
%<*2ekernel|latexrelease>
\ExplSyntaxOn
diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index a009d664..a85c921c 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -31,8 +31,8 @@
%%% From File: ltfilehook.dtx
%
% \begin{macrocode}
-\providecommand\ltfilehookversion{v1.0j}
-\providecommand\ltfilehookdate{2021/04/29}
+\providecommand\ltfilehookversion{v1.0k}
+\providecommand\ltfilehookdate{2021/05/24}
% \end{macrocode}
%
%<*driver>
@@ -454,6 +454,7 @@
%
%
% \section{The Implementation}
+%
% \begin{macrocode}
%<*2ekernel>
% \end{macrocode}
@@ -462,6 +463,8 @@
%<@@=filehook>
% \end{macrocode}
%
+% \changes{v1.0k}{2021/05/24}{Use \cs{msg_...} instead of \cs{__kernel_msg..}}
+%
%
% \subsection{Document and package-level commands}
%
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 28bf4004..4991cb61 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
%%% From File: lthooks.dtx
%
% \begin{macrocode}
-\def\lthooksversion{v1.0m}
-\def\lthooksdate{2021/04/29}
+\def\lthooksversion{v1.0n}
+\def\lthooksdate{2021/05/24}
% \end{macrocode}
%
%<*driver>
@@ -1807,8 +1807,9 @@
%<@@=hook>
% \end{macrocode}
%
-% \changes{v1.0i}{2021/03/18}
-% {Use \cs{NewModuleRelease}.}
+% \changes{v1.0i}{2021/03/18}{Use \cs{NewModuleRelease}.}
+% \changes{v1.0n}{2021/05/24}{Use \cs{msg_...} instead of \cs{__kernel_msg..}}
+%
% \begin{macrocode}
%<*2ekernel|latexrelease>
\ExplSyntaxOn
@@ -4537,6 +4538,7 @@
%
% \subsection{Messages}
%
+% Hook errors are LaTeX kernel errors:
% \begin{macrocode}
\prop_gput:Nnn \g_msg_module_type_prop { hooks } { LaTeX }
%\prop_gput:Nnn \g_msg_module_name_prop { hooks } { }
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 1ef0d5a3..68fc120c 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -14,8 +14,8 @@
%%% From File: ltpara.dtx
%
% \begin{macrocode}
-\def\ltparaversion{v1.0f}
-\def\ltparadate{2021/04/16}
+\def\ltparaversion{v1.0g}
+\def\ltparadate{2021/05/24}
% \end{macrocode}
%<*driver>
\documentclass{l3doc}
@@ -672,6 +672,8 @@
%<@@=para>
% \end{macrocode}
%
+% \changes{v1.0g}{2021/05/24}{Use \cs{msg_...} instead of \cs{__kernel_msg..}}
+%
%
% \begin{macrocode}
%<*2ekernel|latexrelease>
@@ -1160,11 +1162,6 @@
% it should have stayed in but didn't.
%
% \begin{macrocode}
-\prop_gput:Nnn \g_msg_module_type_prop { para } { LaTeX }
-%\prop_gput:Nnn \g_msg_module_name_prop { para } { }
-% \end{macrocode}
-%
-% \begin{macrocode}
\msg_new:nnnn { hooks } { para-mode }
{
Illegal~mode~ change~ in~ hook~ 'para/#1'.\\
More information about the latex3-commits
mailing list.