summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3msg.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-08-10 20:48:43 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-08-10 20:48:43 +0000
commitd6948fdf7cc35349aa107a25e8f43884ae30526d (patch)
tree38eea9f9343a2982db5dcf36505acd7009284fa9 /Master/texmf-dist/tex/latex/expl3/l3msg.sty
parent93bdb97aa1c0104884d2e1b3617014642e6b8c58 (diff)
expl3 update
git-svn-id: svn://tug.org/texlive/trunk@14603 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3msg.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3msg.sty61
1 files changed, 33 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3msg.sty b/Master/texmf-dist/tex/latex/expl3/l3msg.sty
index 6d7cee74366..7f5cc5344f0 100644
--- a/Master/texmf-dist/tex/latex/expl3/l3msg.sty
+++ b/Master/texmf-dist/tex/latex/expl3/l3msg.sty
@@ -49,7 +49,7 @@
%% -----------------------------------------------------------------------
%%
\RequirePackage{l3names}
-\GetIdInfo$Id: l3msg.dtx 1362 2009-05-28 20:19:21Z joseph $
+\GetIdInfo$Id: l3msg.dtx 1423 2009-07-12 20:23:53Z joseph $
{L3 Experimental LaTeX Messages module}
\ProvidesExplPackage
{\filename}{\filedate}{\fileversion}{\filedescription}
@@ -268,20 +268,20 @@
}
\cs_set:Nn \msg_use_loop:n {
\clist_if_in:NnTF \l_msg_redirect_classes_clist {#1} {
- \msg_kernel_error:n { message~loop }
+ \msg_kernel_error:n { message-loop }
}{
\clist_put_right:Nn \l_msg_redirect_classes_clist {#1}
\cs_if_exist:cTF { msg_ ##1 :nnxx } {
\use:c { msg_ ##1 :nnxx } {#3} {#4} {#5} {#6}
}{
- \msg_kernel_error:nx { message~class~unknown } { ##1 }
+ \msg_kernel_error:nx { message-class-unknown } { ##1 }
}
}
}
\cs_if_exist:cTF { \c_msg_text_prefix_tl #3 / #4 :nn } {
\msg_use_aux:nnn {#1} {#3} {#4}
}{
- \msg_kernel_error:nxx { message~unknown } { #3 } { #4 }
+ \msg_kernel_error:nxx { message-unknown } { #3 } { #4 }
}
}
\cs_new_nopar:Nn \msg_use_code: { }
@@ -450,30 +450,35 @@
\msg_info:nnxx { LaTeX }
}
\msg_kernel_classes_new:n { info }
-\msg_kernel_new:nnn
- { coding~bug }
- {This is a LaTeX bug: check coding!\\#1}
- {#2}
-\msg_kernel_new:nnn
- { message~unknown }
- {Unknown message `#2' for module `#1'.}
- {LaTeX was asked to display a message by the `#1' module.\\
- The message was supposed to be called `#2', but I can't\\
- find a message with that name.
- \c_msg_return_text_tl}
-\msg_kernel_new:nnn
- { message~class~unknown }
- {Unknown message class `#1'.}
- {You have asked for a message to be redirected to class `#1'\\
- but this class is unknown.
- \c_msg_return_text_tl}
-\msg_kernel_new:nnn
- { message~loop }
- {Message redirection loop.}
- {You have asked for a message to be redirected,\\
- but the redirection instructions form a loop:\\
- you've lost the message.
- \c_msg_return_text_tl}
+\msg_kernel_new:nnn { coding-bug } {%
+ This is a LaTeX bug: check coding!\\%
+ #1%
+}{%
+ #2%
+}
+\msg_kernel_new:nnn { message-unknown } {%
+ Unknown message `#2' for module `#1'.%
+}{%
+ LaTeX was asked to display a message by the `#1' module.\\%
+ The message was supposed to be called `#2', but I can't\\%
+ find a message with that name.
+ \c_msg_return_text_tl
+}
+\msg_kernel_new:nnn { message-class-unknown } {%
+ Unknown message class `#1'.%
+}{%
+ You have asked for a message to be redirected to class `#1'\\%
+ but this class is unknown.
+ \c_msg_return_text_tl
+}
+\msg_kernel_new:nnn { message-loop } {%
+ Message redirection loop.%
+}{%
+ You have asked for a message to be redirected,\\%
+ but the redirection instructions form a loop:\\%
+ you've lost the message.
+ \c_msg_return_text_tl
+}
\cs_set_protected:Nn \msg_kernel_bug:x {
\msg_direct_interrupt:xxxxn
{ \c_msg_kernel_bug_text_tl }