diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-18 20:10:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-18 20:10:06 +0000 |
commit | a54b5d30860ad08a82b41adaa4ce3b1dfa1dd7e6 (patch) | |
tree | f877caf22273ef3b268bda53915e064ce5329e16 /Master/texmf-dist/tex/latex | |
parent | cf7fedf4d61e556c21b230441f7823d6057dd60a (diff) |
l3 (18jun21)
git-svn-id: svn://tug.org/texlive/trunk@59627 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
9 files changed, 62 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index 90c113d949e..aad1442bc76 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -70,7 +70,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2021-06-01}% +\def\ExplFileDate{2021-06-18}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -7468,7 +7468,7 @@ } { \tl_if_blank:nF {#1} - { \tl_set:Nn \g__sys_backend_tl {#1} } + { \tl_gset:Nn \g__sys_backend_tl {#1} } \__sys_load_backend_check:N \g__sys_backend_tl \str_const:Nx \c_sys_backend_str { \g__sys_backend_tl } \__kernel_sys_configuration_load:n @@ -31355,7 +31355,6 @@ \exp_args:Ne \__text_expand_exclude:nN { \exp_not:V \l_text_math_arg_tl - \exp_not:V \l_text_accents_tl \exp_not:V \l_text_expand_exclude_tl } #1 @@ -31368,7 +31367,7 @@ \cs_new:Npn \__text_expand_exclude:NN #1#2 { \__text_if_recursion_tail_stop_do:Nn #2 - { \__text_expand_letterlike:N #1 } + { \__text_expand_accent:N #1 } \str_if_eq:nnTF {#1} {#2} { \__text_use_i_delimit_by_q_recursion_stop:nw @@ -31381,6 +31380,26 @@ \__text_expand_store:n { #1 {#2} } \__text_expand_loop:w } +\cs_new:Npn \__text_expand_accent:N #1 + { + \exp_after:wN \__text_expand_accent:NN \exp_after:wN + #1 \l_text_accents_tl + \q__text_recursion_tail \q__text_recursion_stop + } +\cs_new:Npn \__text_expand_accent:NN #1#2 + { + \__text_if_recursion_tail_stop_do:Nn #2 + { \__text_expand_letterlike:N #1 } + \cs_if_eq:NNTF #2 #1 + { + \__text_use_i_delimit_by_q_recursion_stop:nw + { + \__text_expand_store:n {#1} + \__text_expand_loop:w + } + } + { \__text_expand_accent:NN #1 } + } \cs_new:Npn \__text_expand_letterlike:N #1 { \exp_after:wN \__text_expand_letterlike:NN \exp_after:wN @@ -31884,7 +31903,7 @@ { \sys_if_engine_luatex_p: } { \sys_if_engine_xetex_p: } { - \cs_new_eq:NN \__text_change_case_char_aux:nnnN + \cs_new_eq:NN \__text_change_case_char_auxi:nnnN \__text_change_case_char:nnnN \cs_gset:Npn \__text_change_case_char:nnnN #1#2#3#4 { @@ -31892,20 +31911,33 @@ { \int_compare:nNnTF { `#4 } < { "E0 } { \__text_change_case_char_UTFviii:nnnNN } - { - \int_compare:nNnTF { `#4 } < { "F0 } - { \__text_change_case_char_UTFviii:nnnNNN } - { \__text_change_case_char_UTFviii:nnnNNNN } - } - {#1} {#2} {#3} #4 + { \__text_change_case_char_auxii:nnnN } } - { \__text_change_case_char_aux:nnnN {#1} {#2} {#3} #4 } + { \__text_change_case_char_auxi:nnnN } + {#1} {#2} {#3} #4 } + \sys_if_engine_pdftex:TF + { + \cs_new:Npn \__text_change_case_char_auxii:nnnN #1#2#3#4 + { + \int_compare:nNnTF { `#4 } < { "F0 } + { \__text_change_case_char_UTFviii:nnnNNN } + { \__text_change_case_char_UTFviii:nnnNNNN } + {#1} {#2} {#3} #4 + } + } + { + \cs_new:Npn \__text_change_case_char_auxii:nnnN #1#2#3#4 + { + \__text_change_case_store:n {#4} + \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} + } + } \cs_new:Npn \__text_change_case_char_UTFviii:nnnNN #1#2#3#4#5 { \__text_change_case_char_UTFviii:nnnn {#1} {#2} {#3} {#4#5} } \cs_new:Npn \__text_change_case_char_UTFviii:nnnNNN #1#2#3#4#5#6 { \__text_change_case_char_UTFviii:nnnn {#1} {#2} {#3} {#4#5#6} } - \cs_new:Npn \__text_change_case_char_UTFviii:nnnNNNNN #1#2#3#4#5#6#7 + \cs_new:Npn \__text_change_case_char_UTFviii:nnnNNNN #1#2#3#4#5#6#7 { \__text_change_case_char_UTFviii:nnnn {#1} {#2} {#3} {#4#5#6#7} } \cs_new:Npn \__text_change_case_char_UTFviii:nnnn #1#2#3#4 { diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex index a575ebde2df..f271143c1f4 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2021-06-01}% +\def\ExplFileDate{2021-06-18}% \let\ExplLoaderFileDate\ExplFileDate \begingroup \catcode`\_=11 diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx b/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx index 979ecf97af6..d6690948578 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2021-06-01}% +\def\ExplFileDate{2021-06-18}% \let\ExplLoaderFileDate\ExplFileDate \begingroup \catcode`\_=11 diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty index ede8e3273ac..4f528de6b89 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2021-06-01}% +\def\ExplFileDate{2021-06-18}% \let\ExplLoaderFileDate\ExplFileDate \ProvidesPackage{expl3} [% diff --git a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty index 2825f5fec37..0be9d56c5d3 100644 --- a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty +++ b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{l3keys2e}{2021-06-01}{} +\ProvidesExplPackage{l3keys2e}{2021-06-18}{} {LaTeX2e option processing using LaTeX3 keys} \cs_generate_variant:Nn \clist_put_right:Nn { Nv } \cs_generate_variant:Nn \keys_if_exist:nnT { nx } diff --git a/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty b/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty index 21b39e5ae24..995d576709f 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xfp}{2021-06-01}{} +\ProvidesExplPackage{xfp}{2021-06-18}{} {L3 Floating point unit} \NewExpandableDocumentCommand \fpeval { m } { \fp_eval:n {#1} } \NewExpandableDocumentCommand \inteval { m } { \int_eval:n {#1} } diff --git a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty index 44730f73b63..20ca20f2472 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty @@ -34,7 +34,7 @@ \endinput } \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate} -\ProvidesExplPackage{xfrac}{2021-06-01}{} +\ProvidesExplPackage{xfrac}{2021-06-18}{} {L3 Experimental split-level fractions} \keys_define:nn { xfrac } { diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty index 4874acbf24b..b11af04ad95 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -60,21 +60,26 @@ } } \ExplSyntaxOff -\ProvidesExplPackage{xparse}{2021-06-01}{} +\ProvidesExplPackage{xparse}{2021-06-18}{} {L3 Experimental document command parser} \clist_new:N \l__cmd_options_clist \DeclareOption* { \clist_put_right:NV \l__cmd_options_clist \CurrentOption } \ProcessOptions \relax \cs_set_protected:Npn \__cmd_tmp:w #1 { - \keys_define:nn { ltcmd } + \keys_define:nn {#1} { log-declarations .bool_set:N = \l__cmd_log_bool , log-declarations .initial:n = false } - \keys_set:nV { ltcmd } \l__cmd_options_clist + \keys_set:nV {#1} \l__cmd_options_clist \bool_if:NF \l__cmd_log_bool - { \msg_redirect_module:nnn { LaTeX / ltcmd } { info } { none } } + { \msg_redirect_module:nnn { LaTeX / #1 } { info } { none } } + \cs_new_protected:Npn \__cmd_unknown_argument_type_error:n ##1 + { + \__kernel_msg_error:nnxx {#1} { unknown-argument-type } + { \__cmd_environment_or_command: } { \tl_to_str:n {##1} } + } } \msg_if_exist:nnTF { cmd } { define-command } { \__cmd_tmp:w { cmd } } @@ -85,8 +90,7 @@ \int_incr:N \l__cmd_current_arg_int \cs_if_exist_use:cF { __cmd_normalize_type_ \tl_to_str:n {#1} :w } { - \__kernel_msg_error:nnxx { ltcmd } { unknown-argument-type } - { \__cmd_environment_or_command: } { \tl_to_str:n {#1} } + \__cmd_unknown_argument_type_error:n {#1} \__cmd_bad_def:wn } } diff --git a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty index f56d3558d0d..84cf0b86dd7 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xtemplate}{2021-06-01}{} +\ProvidesExplPackage{xtemplate}{2021-06-18}{} {L3 Experimental prototype document functions} \tl_const:Nn \c__xtemplate_code_root_tl { template~code~>~ } \tl_const:Nn \c__xtemplate_defaults_root_tl { template~defaults~>~ } |