diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-14 22:34:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-14 22:34:22 +0000 |
commit | b8d3ace4447b96b711b2722a4a65e3c9966dd51d (patch) | |
tree | 018d6b04fc9af796e1f39e4f580c51b0d7f4bc0a /Master/texmf-dist/tex | |
parent | f8984c096c7871551016e012a01478e1a193fccd (diff) |
l3 (14feb20)
git-svn-id: svn://tug.org/texlive/trunk@53781 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
9 files changed, 64 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index e5cf8f23b70..c7bb0a92ebf 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -67,7 +67,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2020-02-11}% +\def\ExplFileDate{2020-02-14}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -28025,7 +28025,7 @@ \cs_new:Npn \__text_expand_math_search:NNN #1#2#3 { \quark_if_recursion_tail_stop_do:Nn #2 - { \__text_expand_implicit:N #1 } + { \__text_expand_explicit:N #1 } \token_if_eq_meaning:NNTF #1 #2 { \use_i_delimit_by_q_recursion_stop:nw @@ -28067,11 +28067,6 @@ \__text_expand_store:n { ~ } \__text_expand_math_loop:Nw #1 } -\cs_new:Npn \__text_expand_implicit:N #1 - { - \exp_args:NNe \use:nn \__text_expand_explicit:N - { \__text_token_to_explicit:N #1 } - } \cs_new:Npn \__text_expand_explicit:N #1 { \token_if_cs:NTF #1 @@ -28590,7 +28585,7 @@ \__text_change_case_char_next_lower:nn \cs_new:Npn \__text_change_case_char_next_end:nn #1#2 { \__text_change_case_break:w } -\bool_lazy_or:nnT +\bool_lazy_or:nnTF { \sys_if_engine_luatex_p: } { \sys_if_engine_xetex_p: } { @@ -28599,13 +28594,33 @@ \int_compare:nNnTF { `#4 } = { "00DF } { \__text_change_case_store:e - { \char_generate:nn { "1E9E } { \__text_char_catcode:N #4 } } + { \char_generate:nn { "1E9E } { \__text_char_catcode:N #4 } } \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} } { \__text_change_case_char:nnnN {#1} {#2} {#3} #4 } } } + { + \cs_new:cpx { __text_change_case_upper_de-alt:nnnN } #1#2#3#4 + { + \exp_not:N \int_compare:nNnTF { `#4 } = { "00C3 } + { + \exp_not:c { __text_change_case_upper_de-alt:nnnNN } + {#1} {#2} {#3} #4 + } + { \exp_not:N \__text_change_case_char:nnnN {#1} {#2} {#3} #4 } + } + \cs_new:cpn { __text_change_case_upper_de-alt:nnnNN } #1#2#3#4#5 + { + \int_compare:nNnTF { `#5 } = { "009F } + { + \__text_change_case_store:V \c__text_grosses_Eszett_tl + \use:c { __text_change_case_char_next_ #2 :nn } {#2} {#3} + } + { \__text_change_case_char:nnnN {#1} {#2} {#3} #4#5 } + } + } \bool_lazy_or:nnT { \sys_if_engine_luatex_p: } { \sys_if_engine_xetex_p: } @@ -28979,16 +28994,22 @@ \exp_not:N \char_generate:nn {##1} { 13 } \exp_after:wN \exp_after:wN \exp_after:wN \exp_not:N \char_generate:nn {##2} { 13 } + \tl_if_blank:nF {##3} + { + \exp_after:wN \exp_after:wN \exp_after:wN + \exp_not:N \char_generate:nn {##3} { 13 } + } } } \use:x { \__text_tmp:w \char_to_utfviii_bytes:n { "#2 } } \group_end: } - \__text_tmp:w \c__text_dotless_i_tl { 0131 } - \__text_tmp:w \c__text_dotted_I_tl { 0130 } - \__text_tmp:w \c__text_i_ogonek_tl { 012F } - \__text_tmp:w \c__text_I_ogonek_tl { 012E } + \__text_tmp:w \c__text_dotless_i_tl { 0131 } + \__text_tmp:w \c__text_dotted_I_tl { 0130 } + \__text_tmp:w \c__text_i_ogonek_tl { 012F } + \__text_tmp:w \c__text_I_ogonek_tl { 012E } + \__text_tmp:w \c__text_grosses_Eszett_tl { 1E9E } } \group_end: \group_begin: @@ -29199,22 +29220,29 @@ \AtBeginDocument { \group_begin: - \cs_set_protected:Npn \__text_change_case_setup:NN #1#2 + \cs_set_protected:Npn \__text_change_case_setup:Nn #1#2 { \quark_if_recursion_tail_stop:N #1 - \cs_if_exist:cF { c__text_uppercase_ \token_to_str:N #1 _tl } + \tl_if_single_token:nT {#2} { - \tl_const:cn { c__text_uppercase_ \token_to_str:N #1 _tl } - { #2 } - } - \cs_if_exist:cF { c__text_lowercase_ \token_to_str:N #2 _tl } - { - \tl_const:cn { c__text_lowercase_ \token_to_str:N #2 _tl } - { #1 } + \cs_if_exist:cF + { c__text_uppercase_ \token_to_str:N #1 _tl } + { + \tl_const:cn + { c__text_uppercase_ \token_to_str:N #1 _tl } + { #2 } + } + \cs_if_exist:cF + { c__text_lowercase_ \token_to_str:N #2 _tl } + { + \tl_const:cn + { c__text_lowercase_ \token_to_str:N #2 _tl } + { #1 } + } } - \__text_change_case_setup:NN + \__text_change_case_setup:Nn } - \exp_after:wN \__text_change_case_setup:NN \@uclclist + \exp_after:wN \__text_change_case_setup:Nn \@uclclist \q_recursion_tail ? \q_recursion_stop \group_end: diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-generic.tex index 7e0773eff7a..8a82e25d406 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{2020-02-11}% +\def\ExplFileDate{2020-02-14}% \let\ExplLoaderFileDate\ExplFileDate \begingroup \def\tempa{LaTeX2e}% diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx b/Master/texmf-dist/tex/latex/l3kernel/expl3.ltx index f55598106e2..9d3b5fbd47e 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{2020-02-11}% +\def\ExplFileDate{2020-02-14}% \let\ExplLoaderFileDate\ExplFileDate \everyjob\expandafter{\the\everyjob \message{L3 programming layer <\ExplFileDate>}% diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3.sty b/Master/texmf-dist/tex/latex/l3kernel/expl3.sty index b468305c4d6..b86e9bb944c 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{2020-02-11}% +\def\ExplFileDate{2020-02-14}% \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 8f66812c5dc..551e15dbd1d 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}{2020-02-08}{} +\ProvidesExplPackage{l3keys2e}{2020-02-14}{} {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 5b890cd5d30..3007936c49e 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty @@ -33,7 +33,7 @@ \endinput } \RequirePackage{xparse} -\ProvidesExplPackage{xfp}{2020-02-08}{} +\ProvidesExplPackage{xfp}{2020-02-14}{} {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 0874931afee..e6b317d0832 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty @@ -6,7 +6,8 @@ %% %% xfrac.dtx (with options: `package') %% -%% Copyright (C) 2011-2020 The LaTeX3 Project +%% Copyright (C) 2004,2008-2010 Morten Hoegholm +%% (C) 2011-2020 The LaTeX3 Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -33,7 +34,7 @@ \endinput } \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate} -\ProvidesExplPackage{xfrac}{2020-02-08}{} +\ProvidesExplPackage{xfrac}{2020-02-14}{} {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 27ba207434f..f8822d09fdc 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xparse}{2020-02-08}{} +\ProvidesExplPackage{xparse}{2020-02-14}{} {L3 Experimental document command parser} \tl_new:N \l__xparse_arg_spec_tl \tl_new:N \l__xparse_args_tl @@ -1662,10 +1662,10 @@ } \exp_args:No \__xparse_tmp:w { \c_novalue_tl } \cs_new:Npn \__xparse_expandable_grab_R_alt:w #1 \q__xparse #2#3 - { #2 { \__xparse_expandable_grab_R_alt_aux:NNnwNn #1 \q__xparse #2#3 } } + { #2 { \__xparse_expandable_grab_R_alt_aux:NNwNNn #1 \q__xparse #2#3 } } \cs_set_protected:Npn \__xparse_tmp:w #1 { - \cs_new:Npn \__xparse_expandable_grab_R_alt_aux:NNwNn ##1##2##3 \q__xparse ##4##5##6 + \cs_new:Npn \__xparse_expandable_grab_R_alt_aux:NNwNNn ##1##2##3 \q__xparse ##4##5##6 { \str_if_eq:nnTF {##6} {##2} { diff --git a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty index 488eb3d7c48..90f24a68d27 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}{2020-02-08}{} +\ProvidesExplPackage{xtemplate}{2020-02-14}{} {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~>~ } |