diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index 95e0590b7bb..95f3f5f447d 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -75,7 +75,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2024-05-27}% +\def\ExplFileDate{2024-09-10}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -6138,6 +6138,7 @@ Type H <return> for immediate help}\def~{\errmessage{% \exp_after:wN \__seq_map_pairwise_function:wNw #2 \s__seq_stop #3 #1 { ? \prg_break: } { } \prg_break_point: + \prg_break_point:Nn \seq_map_break: { } } \cs_new:Npn \__seq_map_pairwise_function:wNw \s__seq #1 \s__seq_stop #2 { @@ -8385,8 +8386,8 @@ Type H <return> for immediate help}\def~{\errmessage{% \cs_new:Npn \__clist_remove_all: { \exp_after:wN \__clist_remove_all:w \__clist_tmp:w , } \cs_new:Npn \__clist_remove_all:w #1 , \s__clist_mark , #2 , { \exp_not:n {#1} } -\cs_generate_variant:Nn \clist_remove_all:Nn { c , NV , cV } -\cs_generate_variant:Nn \clist_gremove_all:Nn { c , NV , cV } +\cs_generate_variant:Nn \clist_remove_all:Nn { c , NV , cV , Ne , ce } +\cs_generate_variant:Nn \clist_gremove_all:Nn { c , NV , cV , Ne , ce } \cs_new_protected:Npn \clist_reverse:N #1 { \__kernel_tl_set:Nx #1 { \exp_args:No \clist_reverse:n {#1} } } \cs_new_protected:Npn \clist_greverse:N #1 @@ -13859,8 +13860,8 @@ Type H <return> for immediate help}\def~{\errmessage{% { \bool_if:NTF \l__keys_no_value_bool { - \exp_after:wN \__keys_define_code:w - \l__keys_property_str \s__keys_stop + \__keys_define_code:nnn + { \use:c { \c__keys_props_root_str \l__keys_property_str } {#1} } { \use:c { \c__keys_props_root_str \l__keys_property_str } } { \msg_error:nnee { keys } { property-requires-value } @@ -13869,9 +13870,27 @@ Type H <return> for immediate help}\def~{\errmessage{% } { \use:c { \c__keys_props_root_str \l__keys_property_str } {#1} } } -\exp_last_unbraced:NNNNo - \cs_new:Npn \__keys_define_code:w #1 \c_colon_str #2 \s__keys_stop - { \tl_if_empty:nTF {#2} } +\cs_new:Npe \__keys_define_code:nnn + { + \exp_not:N \exp_after:wN \exp_not:N \__keys_define_code:w + \exp_not:N \l__keys_property_str + \c_colon_str \c_colon_str + \exp_not:N \s__keys_stop + } +\use:e + { + \cs_new:Npn \exp_not:N \__keys_define_code:w + #1 \c_colon_str #2 \c_colon_str #3 \exp_not:N \s__keys_stop + } + { + \tl_if_empty:nTF {#3} + { \use_i:nnn } + { + \tl_if_empty:nTF {#2} + { \use_ii:nnn } + { \use_iii:nnn } + } + } \cs_new_protected:Npn \__keys_bool_set:Nn #1#2 { \__keys_bool_set:Nnnn #1 {#2} { true } { false } } \cs_generate_variant:Nn \__keys_bool_set:Nn { c } @@ -33722,15 +33741,17 @@ Type H <return> for immediate help}\def~{\errmessage{% \tl_set:ce { l__codepoint_ #1 _block_tl } { \int_eval:n { \tl_use:c { l__codepoint_ #1 _block_tl } + 1 } } } - \prg_replicate:nn {#2} + \int_step_inline:nnn + { \tl_use:c { l__codepoint_ #1 _pos_tl } + 1 } + { \tl_use:c { l__codepoint_ #1 _pos_tl } + #2 } { - \tl_set:ce { l__codepoint_ #1 _pos_tl } - { \int_eval:n { \tl_use:c { l__codepoint_ #1 _pos_tl } + 1 } } \exp_args:Nc \__kernel_intarray_gset:Nnn { g__codepoint_ #1 _index_intarray } - { \tl_use:c { l__codepoint_ #1 _pos_tl } } + {##1} \l__codepoint_matched_block_tl } + \tl_set:ce { l__codepoint_ #1 _pos_tl } + { \int_eval:n { \tl_use:c { l__codepoint_ #1 _pos_tl } + #2 } } \clist_clear:c { l__codepoint_ #1 _block_clist } } \cs_set_protected:Npn \__codepoint_finalise_blocks: @@ -37377,10 +37398,10 @@ Type H <return> for immediate help}\def~{\errmessage{% { \text_uppercase:nn {#1} {#2} } \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:n } \cs_new:Npn \tl_mixed_case:n #1 - { \text_titlecase_first:n {#1} } + { \text_titlecase_first:n { \text_lowercase:n {#1} } } \__kernel_patch_deprecation:nnNNpn { 2020-01-03 } { \text_titlecase_first:nn } \cs_new:Npn \tl_mixed_case:nn #1#2 - { \text_titlecase_first:nn {#1} {#2} } + { \text_titlecase_first:nn {#1} { \text_lowercase:n {#2} } } \__kernel_patch_deprecation:nnNNpn { 2022-05-23 } { \token_case_meaning:Nn } \cs_new:Npn \tl_case:Nn { \token_case_meaning:Nn } \__kernel_patch_deprecation:nnNNpn { 2022-05-23 } { \token_case_meaning:NnT } |