[latex3-commits] [git/LaTeX3-latex3-latex2e] kernel-msgs: adjust an ltpara message (5a643995)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu May 27 14:53:42 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : kernel-msgs
Link       : https://github.com/latex3/latex2e/commit/5a6439956344a18ce3806318283132f857475880

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

commit 5a6439956344a18ce3806318283132f857475880
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu May 27 14:53:42 2021 +0200

    adjust an ltpara message


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

5a6439956344a18ce3806318283132f857475880
 base/ltpara.dtx                        | 10 +++++-----
 base/testfiles-lthooks2/ltpara-008.tlg |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 68fc120c..5ab52a5e 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -15,7 +15,7 @@
 %
 %    \begin{macrocode}
 \def\ltparaversion{v1.0g}
-\def\ltparadate{2021/05/24}
+\def\ltparadate{2021/05/27}
 %    \end{macrocode}
 %<*driver>
 \documentclass{l3doc}
@@ -1090,7 +1090,7 @@
            \@@_handle_indent:
            \the\everypar }
        }
-       { \__kernel_msg_error:nn { kernel }{ raw-para } }
+       { \msg_error:nn { kernel }{ raw-para } }
   \tex_indent:D
 }
 %    \end{macrocode}
@@ -1103,7 +1103,7 @@
            \tex_everypar:D { \g_@@_standard_everypar_tl }
            \the\everypar }
        }
-       { \__kernel_msg_error:nn { kernel }{ raw-para } }
+       { \msg_error:nn { kernel }{ raw-para } }
   \tex_noindent:D
 }
 %    \end{macrocode}
@@ -1178,9 +1178,9 @@
 %    And here is one used in the \enquote{raw} commands when they are
 %    used outside of vertical mode. 
 %    \begin{macrocode}
-\__kernel_msg_new:nnnn { kernel } { raw-para }
+\msg_new:nnnn { kernel } { raw-para }
   {
-     Paragraph~ started~ while~ not~ in~ vertical~ mode.
+     Not~ in~ vertical~ mode.
   }
   {
     Starting~ a~ paragraph~ with~ \iow_char:N \\RawIndent~ or~
diff --git a/base/testfiles-lthooks2/ltpara-008.tlg b/base/testfiles-lthooks2/ltpara-008.tlg
index 07424a19..fa48bdd2 100644
--- a/base/testfiles-lthooks2/ltpara-008.tlg
+++ b/base/testfiles-lthooks2/ltpara-008.tlg
@@ -5,7 +5,7 @@ PARA: 1 end   (document level on input line ...)
 PARA: 1 start (document level on input line ...)
 PARA: 1 end   (document level on input line ...)
 PARA: 1 start (document level on input line ...)
-! LaTeX3 Error: Paragraph started while not in vertical mode.
+! LaTeX kernel Error: Not in vertical mode.
 For immediate help type H <return>.
  ...                                              
 l. ...Test error 1 \RawIndent
@@ -13,7 +13,7 @@ l. ...Test error 1 \RawIndent
 Starting a paragraph with \RawIndent or \RawNoindent
 (or \para_raw_indent: or \para_raw_noindent:) is only allowed
 if LaTeX is in vertical mode.
-! LaTeX3 Error: Paragraph started while not in vertical mode.
+! LaTeX kernel Error: Not in vertical mode.
 For immediate help type H <return>.
  ...                                              
 l. ...Test error 1 \RawIndent 2 \RawNoindent





More information about the latex3-commits mailing list.