[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Internal changes to message names (61119824)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Aug 27 12:41:26 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/611198242c660c3c304cd905bacdaa5a32652e53
>---------------------------------------------------------------
commit 611198242c660c3c304cd905bacdaa5a32652e53
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Aug 27 11:32:57 2021 +0100
Internal changes to message names
>---------------------------------------------------------------
611198242c660c3c304cd905bacdaa5a32652e53
base/changes.txt | 3 +++
base/ltfilehook.dtx | 3 ++-
base/lthooks.dtx | 13 +++++++------
base/ltpara.dtx | 12 ++++++------
4 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 1afd1738..48031151 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -12,6 +12,9 @@ are not part of the distribution.
Use \msg_... instead of \__kernel_msg... commands for normalized
error and warning commands.
+ * ltfilehooks.dtx, lthooks.dtx, ltpara.dtx:
+ Internal changes to message names
+
2021-08-20 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* lthooks.dtx:
diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 510c0188..56df35b4 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -613,6 +613,7 @@
% \changes{v1.0h}{2021/03/18}
% {Define \cs{g_@@_input_file_seq} to avoid losing data when
% rolling back.}
+% \changes{v1.0l}{2021/08/27}{Internal message name changes}
% \begin{macrocode}
\tl_new:N \l_@@_internal_tl
\seq_if_exist:NF \g_@@_input_file_seq
@@ -630,7 +631,7 @@
\seq_gpop:NNTF \g_@@_input_file_seq \l_@@_internal_tl
{ \exp_after:wN \@@_file_pop_assign:nnnn \l_@@_internal_tl }
{
- \msg_error:nnn { kernel } { should-not-happen }
+ \msg_error:nnn { latex2e } { should-not-happen }
{ Tried~to~pop~from~an~empty~file~name~stack. }
}
}
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index ec9433df..afacfd71 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
%%% From File: lthooks.dtx
%
% \begin{macrocode}
-\def\lthooksversion{v1.0p}
-\def\lthooksdate{2021/08/20}
+\def\lthooksversion{v1.0q}
+\def\lthooksdate{2021/08/27}
% \end{macrocode}
%
%<*driver>
@@ -2734,7 +2734,7 @@
{
\tl_if_empty:NTF \@currname
{
- \msg_expandable_error:nnn { kernel } { should-not-happen }
+ \msg_expandable_error:nnn { latex2e } { should-not-happen }
{ Empty~default~label. }
\@@_make_name:n { label-missing }
}
@@ -4711,10 +4711,11 @@
% \begin{macrocode}
\prop_gput:Nnn \g_msg_module_type_prop { hooks } { LaTeX }
% \end{macrocode}
+% \changes{v1.0q}{2021/08/27}{Internal message name changes}
% And so are kernel errors (this should move elsewhere eventually).
% \begin{macrocode}
-\prop_gput:Nnn \g_msg_module_type_prop { kernel } { LaTeX }
-%\prop_gput:Nnn \g_msg_module_name_prop { kernel } { } % <-- currently not working
+\prop_gput:Nnn \g_msg_module_type_prop { latex2e } { LaTeX }
+\prop_gput:Nnn \g_msg_module_name_prop { latex2e } { kernel }
% \end{macrocode}
%
% \begin{macrocode}
@@ -4820,7 +4821,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\msg_new:nnn { kernel } { should-not-happen }
+\msg_new:nnn { latex2e } { should-not-happen }
{
This~should~not~happen.~#1 \\
Please~report~at~https://github.com/latex3/latex2e.
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 5ebecffe..741ac66b 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -14,8 +14,8 @@
%%% From File: ltpara.dtx
%
% \begin{macrocode}
-\def\ltparaversion{v1.0h}
-\def\ltparadate{2021/06/27}
+\def\ltparaversion{v1.0i}
+\def\ltparadate{2021/08/27}
% \end{macrocode}
%<*driver>
\documentclass{l3doc}
@@ -1114,7 +1114,7 @@
\@@_handle_indent:
\the\everypar }
}
- { \msg_error:nn { kernel }{ raw-para } }
+ { \msg_error:nn { latex2e }{ raw-para } }
\tex_indent:D
}
% \end{macrocode}
@@ -1127,7 +1127,7 @@
\tex_everypar:D { \g_@@_standard_everypar_tl }
\the\everypar }
}
- { \msg_error:nn { kernel }{ raw-para } }
+ { \msg_error:nn { latex2e }{ raw-para } }
\tex_noindent:D
}
% \end{macrocode}
@@ -1199,10 +1199,11 @@
}
% \end{macrocode}
%
+% \changes{v1.0i}{2021/08/27}{Internal message name changes}
% And here is one used in the \enquote{raw} commands when they are
% used outside of vertical mode.
% \begin{macrocode}
-\msg_new:nnnn { kernel } { raw-para }
+\msg_new:nnnn { latex2e } { raw-para }
{
Not~ in~ vertical~ mode.
}
@@ -1244,4 +1245,3 @@
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-
More information about the latex3-commits
mailing list.