diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-27 22:42:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-27 22:42:05 +0000 |
commit | eeb7f50af3eaecaf525bfdb721b837386ceb9935 (patch) | |
tree | 7f18c91a76e29970f6c361b17eea0a6db002989f /Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx | |
parent | ed2f495bcd8d0143ff2053a21ac19555fd477846 (diff) |
l3 (28aug21)
git-svn-id: svn://tug.org/texlive/trunk@60338 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx index e73eadf6d1b..41acb5d6293 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-parse.dtx @@ -40,7 +40,7 @@ % {latex-team@latex-project.org}^^A % }^^A % } -% \date{Released 2021-07-12} +% \date{Released 2021-08-27} % % \maketitle % @@ -789,14 +789,14 @@ } } { - \__kernel_msg_expandable_error:nn { fp } { early-end } + \msg_expandable_error:nn { fp } { early-end } \exp_after:wN \c_nan_fp \exp:w \exp_end_continue_f:w } #1 } \cs_new:cpn { @@_exp_after_?_f:nw } #1#2 { - \__kernel_msg_expandable_error:nnn { kernel } { bad-variable } + \msg_expandable_error:nnn { kernel } { bad-variable } {#2} \exp_after:wN \c_nan_fp \exp:w \exp_end_continue_f:w #1 } @@ -811,12 +811,12 @@ { \cs_if_eq:NNTF ##2 #1 { \use_i:nn } { \use:n } { - \__kernel_msg_expandable_error:nnn { fp } + \msg_expandable_error:nnn { fp } { robust-cmd } } } { - \__kernel_msg_expandable_error:nnn { kernel } + \msg_expandable_error:nnn { kernel } { bad-variable } {##2} } } @@ -927,7 +927,7 @@ #3 \str_if_eq:nnTF {#1} {#2} { - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { infty-pi } {#1} \c_nan_fp } @@ -1025,7 +1025,7 @@ \cs_if_exist_use:cF { @@_parse_caseless_ \str_foldcase:n {#2} :N } { - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { unknown-fp-word } {#2} \exp_after:wN \c_nan_fp \exp:w \exp_end_continue_f:w \@@_parse_infix:NN @@ -1080,13 +1080,13 @@ { \cs_if_exist:cTF { @@_parse_infix_ \token_to_str:N #1 :N } { - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { missing-number } {#1} \exp_after:wN \c_nan_fp \exp:w \exp_end_continue_f:w \@@_parse_infix:NN #3 #1 } { - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { unknown-symbol } {#1} \@@_parse_one:Nw #3 } @@ -1759,12 +1759,12 @@ \@@_str_if_eq:nn { \s_@@ } { \exp_not:N #1 } = \c_zero_int 0 - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { after-e } { floating~point~ } \prg_return_true: \else: 0 - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { kernel } { bad-variable } {#1} \prg_return_false: \fi: @@ -1775,14 +1775,14 @@ \int_value:w #1 \else: 0 - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { after-e } { dimension~#1 } \fi: \prg_return_false: \fi: \else: 0 - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { missing } { exponent } \prg_return_true: \fi: @@ -1954,7 +1954,7 @@ \exp_not:N \@@_parse_expand:w } { - \exp_not:N \__kernel_msg_expandable_error:nnn + \exp_not:N \msg_expandable_error:nnn { fp } { missing } { ) } \exp_not:N \tl_if_empty:nT {#2} \exp_not:N \c_@@_empty_tuple_fp #2 @ @@ -1977,7 +1977,7 @@ \if_int_compare:w #1 = \c_@@_prec_tuple_int \exp_after:wN \c_@@_empty_tuple_fp \exp:w \else: - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { missing-number } { ) } \exp_after:wN \c_nan_fp \exp:w \fi: @@ -2293,7 +2293,7 @@ \cs_new:Npn \@@_parse_infix_check:NNN #1#2#3 { \if_meaning:w \scan_stop: #1 - \__kernel_msg_expandable_error:nnn + \msg_expandable_error:nnn { fp } { missing } { * } \exp_after:wN \@@_parse_infix_mul:N \exp_after:wN #2 @@ -2380,7 +2380,7 @@ \exp_after:wN \use_none:n \exp_after:wN #1 \else: - \__kernel_msg_expandable_error:nnn { fp } { extra } { ) } + \msg_expandable_error:nnn { fp } { extra } { ) } \exp_after:wN \@@_parse_infix:NN \exp_after:wN ##1 \exp:w \exp_after:wN \@@_parse_expand:w @@ -2583,7 +2583,7 @@ \exp_args:Nc \@@_tmp:w { @@_parse_infix_::N } \@@_ternary_auxii:NwwN \c_@@_prec_colon_int { - \__kernel_msg_expandable_error:nnnn + \msg_expandable_error:nnnn { fp } { missing } { ? } { ~for~?: } } % \end{macrocode} @@ -2624,7 +2624,7 @@ } \cs_new:Npn \@@_parse_excl_error: { - \__kernel_msg_expandable_error:nnnn + \msg_expandable_error:nnnn { fp } { missing } { = } { ~after~!. } } \cs_new:Npn \@@_parse_compare:NNNNNNN #1 @@ -2859,37 +2859,37 @@ % \subsection{Messages} % % \begin{macrocode} -\__kernel_msg_new:nnn { fp } { deprecated } +\msg_new:nnn { fp } { deprecated } { '#1'~deprecated;~use~'#2' } -\__kernel_msg_new:nnn { fp } { unknown-fp-word } +\msg_new:nnn { fp } { unknown-fp-word } { Unknown~fp~word~#1. } -\__kernel_msg_new:nnn { fp } { missing } +\msg_new:nnn { fp } { missing } { Missing~#1~inserted #2. } -\__kernel_msg_new:nnn { fp } { extra } +\msg_new:nnn { fp } { extra } { Extra~#1~ignored. } -\__kernel_msg_new:nnn { fp } { early-end } +\msg_new:nnn { fp } { early-end } { Premature~end~in~fp~expression. } -\__kernel_msg_new:nnn { fp } { after-e } +\msg_new:nnn { fp } { after-e } { Cannot~use~#1 after~'e'. } -\__kernel_msg_new:nnn { fp } { missing-number } +\msg_new:nnn { fp } { missing-number } { Missing~number~before~'#1'. } -\__kernel_msg_new:nnn { fp } { unknown-symbol } +\msg_new:nnn { fp } { unknown-symbol } { Unknown~symbol~#1~ignored. } -\__kernel_msg_new:nnn { fp } { extra-comma } +\msg_new:nnn { fp } { extra-comma } { Unexpected~comma~turned~to~nan~result. } -\__kernel_msg_new:nnn { fp } { no-arg } +\msg_new:nnn { fp } { no-arg } { #1~got~no~argument;~used~nan. } -\__kernel_msg_new:nnn { fp } { multi-arg } +\msg_new:nnn { fp } { multi-arg } { #1~got~more~than~one~argument;~used~nan. } -\__kernel_msg_new:nnn { fp } { num-args } +\msg_new:nnn { fp } { num-args } { #1~expects~between~#2~and~#3~arguments. } -\__kernel_msg_new:nnn { fp } { bad-args } +\msg_new:nnn { fp } { bad-args } { Arguments~in~#1#2~are~invalid. } -\__kernel_msg_new:nnn { fp } { infty-pi } +\msg_new:nnn { fp } { infty-pi } { Math~command~#1 is~not~an~fp } \cs_if_exist:cT { @unexpandable@protect } { - \__kernel_msg_new:nnn { fp } { robust-cmd } + \msg_new:nnn { fp } { robust-cmd } { Robust~command~#1 invalid~in~fp~expression! } } % \end{macrocode} |