diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3msg.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3msg.sty | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty b/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty index d4991bc760c..7090d10d2a5 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/l3msg.sty @@ -46,7 +46,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3msg.dtx 3029 2011-12-06 22:47:30Z joseph $ +\GetIdInfo$Id: l3msg.dtx 3086 2011-12-22 17:55:46Z bruno $ {L3 Experimental messages} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -206,16 +206,16 @@ \iow_term:x { ************************************************* } } \int_set:Nn \tex_errorcontextlines:D { -1 } -\cs_new_nopar:Npn \msg_fatal_text:n #1 { Fatal~#1~error } -\cs_new_nopar:Npn \msg_critical_text:n #1 { Critical~#1~error } -\cs_new_nopar:Npn \msg_error_text:n #1 { #1~error } -\cs_new_nopar:Npn \msg_warning_text:n #1 { #1~warning } -\cs_new_nopar:Npn \msg_info_text:n #1 { #1~info } -\cs_new_nopar:Npn \msg_see_documentation_text:n #1 +\cs_new:Npn \msg_fatal_text:n #1 { Fatal~#1~error } +\cs_new:Npn \msg_critical_text:n #1 { Critical~#1~error } +\cs_new:Npn \msg_error_text:n #1 { #1~error } +\cs_new:Npn \msg_warning_text:n #1 { #1~warning } +\cs_new:Npn \msg_info_text:n #1 { #1~info } +\cs_new:Npn \msg_see_documentation_text:n #1 { \\ \\ See~the~#1~documentation~for~further~information. } \prop_new:N \l_msg_redirect_classes_prop \prop_new:N \l_msg_redirect_names_prop -\cs_new_protected_nopar:Npn \msg_class_set:nn #1#2 +\cs_new_protected:Npn \msg_class_set:nn #1#2 { \prop_clear_new:c { l_msg_redirect_ #1 _prop } \cs_set_protected:cpn { msg_ #1 :nnxxxx } ##1##2##3##4##5##6 @@ -337,7 +337,7 @@ { \msg_use_aux:nnn {#1} {#3} {#4} } { \msg_kernel_error:nnxx { msg } { message-unknown } {#3} {#4} } } -\cs_new_protected_nopar:Npn \msg_use_aux:nnn #1#2#3 +\cs_new_protected:Npn \msg_use_aux:nnn #1#2#3 { \tl_set:Nn \l_msg_current_class_tl {#1} \tl_set:Nn \l_msg_current_module_tl {#2} @@ -345,7 +345,7 @@ { \msg_use_loop_check:nn { names } { // #2 / #3 / } } { \msg_use_aux:nn {#1} {#2} } } -\cs_new_protected_nopar:Npn \msg_use_aux:nn #1#2 +\cs_new_protected:Npn \msg_use_aux:nn #1#2 { \prop_if_in:cnTF { l_msg_redirect_ #1 _prop } {#2} { \msg_use_loop_check:nn {#1} {#2} } @@ -367,19 +367,19 @@ \cs_new_protected_nopar:Npn \msg_use_code: { } \cs_new_protected:Npn \msg_use_loop:n #1 { } \cs_generate_variant:Nn \msg_use_loop:n { o } -\cs_new_protected_nopar:Npn \msg_redirect_class:nn #1#2 +\cs_new_protected:Npn \msg_redirect_class:nn #1#2 { \prop_put:cnn { l_msg_redirect_ #1 _prop } { * } {#2} } -\cs_new_protected_nopar:Npn \msg_redirect_module:nnn #1#2#3 +\cs_new_protected:Npn \msg_redirect_module:nnn #1#2#3 { \prop_put:cnn { l_msg_redirect_ #2 _prop } {#1} {#3} } -\cs_new_protected_nopar:Npn \msg_redirect_name:nnn #1#2#3 +\cs_new_protected:Npn \msg_redirect_name:nnn #1#2#3 { \prop_put:Nnn \l_msg_redirect_names_prop { // #1 / #2 / } {#3} } -\cs_new_protected_nopar:Npn \msg_kernel_new:nnnn #1#2 +\cs_new_protected:Npn \msg_kernel_new:nnnn #1#2 { \msg_new:nnnn { LaTeX } { #1 / #2 } } -\cs_new_protected_nopar:Npn \msg_kernel_new:nnn #1#2 +\cs_new_protected:Npn \msg_kernel_new:nnn #1#2 { \msg_new:nnn { LaTeX } { #1 / #2 } } -\cs_new_protected_nopar:Npn \msg_kernel_set:nnnn #1#2 +\cs_new_protected:Npn \msg_kernel_set:nnnn #1#2 { \msg_set:nnnn { LaTeX } { #1 / #2 } } -\cs_new_protected_nopar:Npn \msg_kernel_set:nnn #1#2 +\cs_new_protected:Npn \msg_kernel_set:nnn #1#2 { \msg_set:nnn { LaTeX } { #1 / #2 } } \cs_new_protected:Npn \msg_kernel_fatal:nnxxxx #1#2#3#4#5#6 { @@ -555,12 +555,21 @@ LaTeX~has~been~asked~to~replace~an~empty~pattern~by~'#1':~that~% would~lead~to~an~infinite~loop! } +\msg_kernel_new:nnnn { scan } { already-defined } + { Scan~mark~#1~already~defined. } + { + \c_msg_coding_error_text_tl + LaTeX~has~been~asked~to~create~a~new~scan~mark~'#1'~ + but~this~name~has~already~been~used~for~a~scan~mark. + } \msg_kernel_new:nnn { seq } { misused } { A~sequence~was~misused. } \msg_kernel_new:nnn { kernel } { bad-var } { Erroneous~variable~#1 used! } \msg_kernel_new:nnn { prg } { zero-step } { Zero~step~size~for~stepwise~function~#1. } +\msg_kernel_new:nnn { prg } { replicate-neg } + { Negative~argument~for~\prg_replicate:nn. } \msg_kernel_new:nnn { seq } { show } { Sequence~\token_to_str:N #1~ |