[latex3-commits] [git/LaTeX3-latex3-latex3] main: Document list of msg classes (2fc2f11d1)

Bruno Le Floch blflatex at gmail.com
Tue May 18 23:08:36 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/2fc2f11d150aba03ef82c274b5d6300eebadc97d

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

commit 2fc2f11d150aba03ef82c274b5d6300eebadc97d
Author: Bruno Le Floch <blflatex at gmail.com>
Date:   Tue May 18 23:08:36 2021 +0200

    Document list of msg classes


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

2fc2f11d150aba03ef82c274b5d6300eebadc97d
 l3kernel/l3msg.dtx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index e3766fe48..050967394 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -278,6 +278,19 @@
 % effect, which means that shorthands such as |\~| or |\\| are
 % \emph{not} available; instead one should use \cs{iow_char:N} |\~| and
 % \cs{iow_newline:}, respectively.
+% The following message classes exist:
+% \begin{itemize}
+% \item \texttt{fatal}, ending the \TeX{} run;
+% \item \texttt{critical}, ending the file being input;
+% \item \texttt{error}, interrupting the \TeX{} run without ending it;
+% \item \texttt{warning}, written to terminal and log, for important
+%   messages that may need the user's attention;
+% \item \texttt{info} and \texttt{info_term} for information messages
+%   written to the log or terminal;
+% \item \texttt{log} and \texttt{term} for un-decorated messages written
+%   to the log or terminal;
+% \item \texttt{none} for suppressed messages.
+% \end{itemize}
 %
 % \begin{function}[updated = 2012-08-11]
 %   {
@@ -565,6 +578,9 @@
 %   \end{syntax}
 %   Changes the behaviour of messages of \meta{class one} so that they
 %   are processed using the code for those of \meta{class two}.
+%   Each \meta{class} can be one of \texttt{fatal}, \texttt{critical},
+%   \texttt{error}, \texttt{warning}, \texttt{info_term}, \texttt{info},
+%   \texttt{term}, \texttt{log}, \texttt{none}.
 % \end{function}
 %
 % \begin{function}[updated = 2012-04-27]{\msg_redirect_module:nnn}





More information about the latex3-commits mailing list.