From d470efdd8b7b603d5d048f896fa1dce095a3e245 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 23 May 2023 03:00:46 +0000 Subject: CTAN sync 202305230300 --- macros/latex/contrib/l3kernel/l3msg.dtx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'macros/latex/contrib/l3kernel/l3msg.dtx') diff --git a/macros/latex/contrib/l3kernel/l3msg.dtx b/macros/latex/contrib/l3kernel/l3msg.dtx index c256def116..41812fd5f7 100644 --- a/macros/latex/contrib/l3kernel/l3msg.dtx +++ b/macros/latex/contrib/l3kernel/l3msg.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2023-05-15} +% \date{Released 2023-05-22} % % \maketitle % @@ -91,6 +91,18 @@ % \end{verbatim} % will allow to filter out specifically messages from the \texttt{submodule}. % +% Some authors may find the need to include spaces as |~| characters +% tedious. This can be avoided by locally reseting the cateogry code +% of \verb*| |. +% \begin{verbatim} +% \char_set_catcode_space:n { `\ } +% \msg_new:nnn { foo } { bar } +% {Some message text using '#1' and usual message shorthands \{ \ \ \}.} +% \char_set_catcode_ignore:n { `\ } +% \end{verbatim} +% although in general this may be confusing; simply writing the messages +% using |~| characters is the method favored by the team. +% % \begin{function}[updated = 2011-08-16]{\msg_new:nnnn, \msg_new:nnn} % \begin{syntax} % \cs{msg_new:nnnn} \Arg{module} \Arg{message} \Arg{text} \Arg{more text} @@ -1940,6 +1952,8 @@ { Cannot~generate~null~char~as~a~space. } \msg_new:nnn { char } { out-of-range } { Charcode~requested~out~of~engine~range. } +\msg_new:nnn { dim } { zero-unit } + { Zero~unit~in~conversion. } \msg_new:nnnn { kernel } { quote-in-shell } { Quotes~in~shell~command~'#1'. } { Shell~commands~cannot~contain~quotes~("). } @@ -2218,7 +2232,7 @@ \prop_gput:Nnn \g_msg_module_type_prop { kernel } { } \clist_map_inline:nn { - char , clist , coffin , debug , deprecation , msg , + char , clist , coffin , debug , deprecation , dim, msg , quark , prg , prop , scanmark , seq , sys } { -- cgit v1.2.3