diff options
author | Karl Berry <karl@freefriends.org> | 2023-01-17 21:08:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-01-17 21:08:34 +0000 |
commit | f8b1993f28ed85af42a3809ff0fd179f19ffb777 (patch) | |
tree | 26078a2a26a7c09ea9fd950543e0a37b30adaac4 /Master/texmf-dist/tex/latex/l3packages | |
parent | cc2ad09a1062656737be065ea1559fc5d715a94e (diff) |
l3 (17jan23)
git-svn-id: svn://tug.org/texlive/trunk@65573 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages')
6 files changed, 21 insertions, 39 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty index 1c1b8bd8c2a..6ea77e80273 100644 --- a/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty +++ b/Master/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty @@ -6,7 +6,7 @@ %% %% l3keys2e.dtx (with options: `package') %% -%% Copyright (C) 2009-2022 The LaTeX Project +%% Copyright (C) 2009-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{l3keys2e}{2022-12-17}{} +\ProvidesExplPackage{l3keys2e}{2023-01-16}{} {LaTeX2e option processing using LaTeX3 keys} \cs_if_exist:NT \ProcessKeysOptions { \file_input_stop: } diff --git a/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty b/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty index 7f37c23f0e2..1794c3b0331 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty @@ -6,7 +6,7 @@ %% %% xfp.dtx (with options: `package') %% -%% Copyright (C) 2017-2022 The LaTeX Project +%% Copyright (C) 2017-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xfp}{2022-12-17}{} +\ProvidesExplPackage{xfp}{2023-01-16}{} {L3 Floating point unit} \ProvideExpandableDocumentCommand \fpeval { m } { \fp_eval:n {#1} } \ProvideExpandableDocumentCommand \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 4b8d3453384..dfe754be795 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty @@ -7,7 +7,7 @@ %% xfrac.dtx (with options: `package') %% %% Copyright (C) 2004,2008-2010 Morten Hoegholm -%% (C) 2011-2022 The LaTeX Project +%% (C) 2011-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -34,7 +34,7 @@ \endinput } \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate} -\ProvidesExplPackage{xfrac}{2022-12-17}{} +\ProvidesExplPackage{xfrac}{2023-01-16}{} {L3 Experimental split-level fractions} \keys_define:nn { xfrac } { diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx index b6ad354870f..f7bf6c7be35 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.ltx @@ -6,7 +6,7 @@ %% %% xparse.dtx (with options: `2ekernel') %% -%% Copyright (C) 2009-2022 The LaTeX Project +%% Copyright (C) 2009-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty index 32d92a199e7..ab903b316cd 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -6,7 +6,7 @@ %% %% xparse.dtx (with options: `package') %% -%% Copyright (C) 2009-2022 The LaTeX Project +%% Copyright (C) 2009-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -60,7 +60,7 @@ } } \ExplSyntaxOff -\ProvidesExplPackage{xparse}{2022-12-17}{} +\ProvidesExplPackage{xparse}{2023-01-16}{} {L3 Experimental document command parser} \clist_new:N \l__cmd_options_clist \DeclareOption* { \clist_put_right:NV \l__cmd_options_clist \CurrentOption } diff --git a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty index 87548085c87..519f8af04a4 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty @@ -6,7 +6,7 @@ %% %% xtemplate.dtx (with options: `package') %% -%% Copyright (C) 2011-2022 The LaTeX Project +%% Copyright (C) 2011-2023 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xtemplate}{2022-12-17}{} +\ProvidesExplPackage{xtemplate}{2023-01-16}{} {L3 Experimental prototype document functions} \cs_generate_variant:Nn \keys_define:nn { nx } \cs_generate_variant:Nn \tl_trim_spaces:n { e } @@ -397,11 +397,11 @@ \cs_new:Npn \__xtemplate_split_keytype_arg_aux:w #1 \s__xtemplate_stop { } \cs_new_protected:Npn \__xtemplate_store_value_boolean:n #1 { \prop_put:Non \l__xtemplate_values_prop \l__xtemplate_key_name_tl {#1} } -\cs_new_protected:Npn \__xtemplate_store_value_code:n #1 +\cs_new_protected:Npn \__xtemplate_store_value:n #1 { \prop_put:Non \l__xtemplate_values_prop \l__xtemplate_key_name_tl {#1} } -\cs_new_eq:NN \__xtemplate_store_value_choice:n \__xtemplate_store_value_code:n -\cs_new_eq:NN \__xtemplate_store_value_function:n \__xtemplate_store_value_code:n -\cs_new_eq:NN \__xtemplate_store_value_instance:n \__xtemplate_store_value_code:n +\cs_new_eq:NN \__xtemplate_store_value_choice:n \__xtemplate_store_value:n +\cs_new_eq:NN \__xtemplate_store_value_function:n \__xtemplate_store_value:n +\cs_new_eq:NN \__xtemplate_store_value_instance:n \__xtemplate_store_value:n \cs_new_protected:Npn \__xtemplate_store_value_aux:Nn #1#2 { \prop_put:Non \l__xtemplate_values_prop \l__xtemplate_key_name_tl {#2} } \cs_new_protected:Npn \__xtemplate_store_value_integer:n @@ -498,16 +498,6 @@ \str_case:VnF \l__xtemplate_keytype_tl { { choice } { \__xtemplate_implement_choices:nn {#1} {#3} } - { code } - { - \__xtemplate_parse_vars_elt_key:nn {#1} - { - .cs_ \str_if_eq:nnT {#1} { global } { g } - set_protected:Np = \exp_not:N #3 - } - \prop_put:Non \l__xtemplate_vars_prop - \l__xtemplate_key_name_tl {#2#3} - } { function } { \cs_if_exist:NF #3 @@ -516,9 +506,12 @@ { .code:n = { - \exp_not:c - { cs_ \str_if_eq:nnT {#1} { global } { g } seq_eq:NN } - \exp_not:N #3 ####1 + \cs_generate_from_arg_count:NNnn + \exp_not:N #3 + \exp_not:c + { cs_ \str_if_eq:nnT {#1} { global } { g } set:Npn } + { \exp_not:o \l__xtemplate_keytype_arg_tl } + {####1} } } \prop_put:Non \l__xtemplate_vars_prop @@ -900,16 +893,6 @@ { \tl_put_right:No \l__xtemplate_assignments_tl \l__xtemplate_tmp_tl } } \cs_generate_variant:Nn \__xtemplate_assign_choice_aux:nF { x } -\cs_new_protected:Npn \__xtemplate_assign_code: - { - \tl_put_right:Nx \l__xtemplate_assignments_tl - { - \cs_set_protected:Npn \__xtemplate_assign_code:n \exp_not:n {##1} - { \exp_not:o \l__xtemplate_var_tl } - \__xtemplate_assign_code:n { \exp_not:o \l__xtemplate_value_tl } - } - } -\cs_new_protected:Npn \__xtemplate_assign_code:n #1 { } \cs_new_protected:Npn \__xtemplate_assign_function: { \bool_if:NTF \l__xtemplate_global_bool @@ -1279,7 +1262,6 @@ Valid~key-types~are:\\ -~boolean;\\ -~choice;\\ - -~code;\\ -~commalist;\\ -~function;\\ -~instance;\\ |