diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3sys.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3sys.dtx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/macros/latex/contrib/l3kernel/l3sys.dtx b/macros/latex/contrib/l3kernel/l3sys.dtx index 1c1ad4b0d9..be0d31d005 100644 --- a/macros/latex/contrib/l3kernel/l3sys.dtx +++ b/macros/latex/contrib/l3kernel/l3sys.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-27} % % \maketitle % @@ -211,7 +211,7 @@ % \cs{sys_get_shell:nnN} \Arg{shell~command} \Arg{setup} \meta{tl~var} % \cs{sys_get_shell:nnNTF} \Arg{shell~command} \Arg{setup} \meta{tl~var} \Arg{true code} \Arg{false code} % \end{syntax} -% Defines \meta{tl} to the text returned by the \meta{shell command}. +% Defines \meta{tl~var} to the text returned by the \meta{shell command}. % The \meta{shell command} is converted to a string using % \cs{tl_to_str:n}. Category codes may need to be set appropriately % via the \meta{setup} argument, which is run just before running the @@ -494,7 +494,7 @@ \str_if_exist:NTF \c_sys_backend_str { \str_if_eq:VnF \c_sys_backend_str {#1} - { \__kernel_msg_error:nn { sys } { backend-set } } + { \msg_error:nn { sys } { backend-set } } } { \tl_if_blank:nF {#1} @@ -516,7 +516,7 @@ { xetex } { } } { - \__kernel_msg_error:nnxx { sys } { wrong-backend } + \msg_error:nnxx { sys } { wrong-backend } #1 { xetex } \tl_gset:Nn #1 { xetex } } @@ -535,7 +535,7 @@ { \str_if_eq_p:Vn #1 { luatex } } { \str_if_eq_p:Vn #1 { pdftex } } { - \__kernel_msg_error:nnxx { sys } { wrong-backend } + \msg_error:nnxx { sys } { wrong-backend } #1 { \sys_if_engine_luatex:TF { luatex } { pdftex } } \sys_if_engine_luatex:TF { \tl_gset:Nn #1 { luatex } } @@ -551,7 +551,7 @@ { dvisvgm } { } } { - \__kernel_msg_error:nnxx { sys } { wrong-backend } + \msg_error:nnxx { sys } { wrong-backend } #1 { dvips } \tl_gset:Nn #1 { dvips } } @@ -623,7 +623,7 @@ { \tl_if_in:nnTF {#1} { " } { - \__kernel_msg_error:nnx + \msg_error:nnx { kernel } { quote-in-shell } {#1} \prg_return_false: } @@ -844,7 +844,7 @@ end \cs_new:Npn \sys_rand_seed: { \int_value:w - \__kernel_msg_expandable_error:nnn { kernel } { fp-no-random } + \msg_expandable_error:nnn { kernel } { fp-no-random } { \sys_rand_seed: } \c_zero_int } @@ -866,7 +866,7 @@ end { \cs_new_protected:Npn \sys_gset_rand_seed:n #1 { - \__kernel_msg_error:nnn { kernel } { fp-no-random } + \msg_error:nnn { kernel } { fp-no-random } { \sys_gset_rand_seed:n {#1} } } } @@ -903,13 +903,13 @@ end { \int_value:w \tex_elapsedtime:D } } { - \__kernel_msg_new:nnnn { kernel } { no-elapsed-time } + \msg_new:nnnn { kernel } { no-elapsed-time } { No~clock~detected~for~#1. } { The~current~engine~provides~no~way~to~access~the~system~time. } \cs_new:Npn \sys_timer: { \int_value:w - \__kernel_msg_expandable_error:nnn { kernel } { no-elapsed-time } + \msg_expandable_error:nnn { kernel } { no-elapsed-time } { \sys_timer: } \c_zero_int } |