diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3keys.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/expl3/l3keys.sty | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3keys.sty b/Master/texmf-dist/tex/latex/expl3/l3keys.sty index d1a19278a5c..03090e32afe 100644 --- a/Master/texmf-dist/tex/latex/expl3/l3keys.sty +++ b/Master/texmf-dist/tex/latex/expl3/l3keys.sty @@ -48,7 +48,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3keys.dtx 1748 2009-11-18 08:48:04Z joseph $ +\GetIdInfo$Id: l3keys.dtx 1766 2010-01-12 08:59:24Z joseph $ {L3 Experimental key-value support} \ProvidesExplPackage {\filename}{\filedate}{\fileversion}{\filedescription} @@ -336,6 +336,7 @@ \exp_not:c { #2 _ #3 set:N #4 } \exp_not:N #1 {##1} } } +\cs_generate_variant:Nn \keys_variable_set:NnNN { c } \keys_property_new_arg:nn { .bool_set:N } { \keys_bool_set:NN #1 { } } @@ -366,18 +367,30 @@ \keys_property_new_arg:nn { .dim_set:N } { \keys_variable_set:NnNN #1 { dim } { } n } +\keys_property_new_arg:nn { .dim_set:c } { + \keys_variable_set:cnNN {#1} { dim } { } n +} \keys_property_new_arg:nn { .dim_gset:N } { \keys_variable_set:NnNN #1 { dim } g n } +\keys_property_new_arg:nn { .dim_gset:c } { + \keys_variable_set:cnNN {#1} { dim } g n +} \keys_property_new_arg:nn { .generate_choices:n } { \keys_choices_generate:n {#1} } \keys_property_new_arg:nn { .int_set:N } { \keys_variable_set:NnNN #1 { int } { } n } +\keys_property_new_arg:nn { .int_set:c } { + \keys_variable_set:cnNN {#1} { int } { } n +} \keys_property_new_arg:nn { .int_gset:N } { \keys_variable_set:NnNN #1 { int } g n } +\keys_property_new_arg:nn { .int_gset:c } { + \keys_variable_set:cnNN {#1} { int } g n +} \keys_property_new_arg:nn { .meta:n } { \keys_meta_make:n {#1} } @@ -387,21 +400,39 @@ \keys_property_new_arg:nn { .skip_set:N } { \keys_variable_set:NnNN #1 { skip } { } n } +\keys_property_new_arg:nn { .skip_set:c } { + \keys_variable_set:cnNN {#1} { skip } { } n +} \keys_property_new_arg:nn { .skip_gset:N } { \keys_variable_set:NnNN #1 { skip } g n } +\keys_property_new_arg:nn { .skip_gset:c } { + \keys_variable_set:cnNN {#1} { skip } g n +} \keys_property_new_arg:nn { .tl_set:N } { \keys_variable_set:NnNN #1 { tl } { } n } +\keys_property_new_arg:nn { .tl_set:c } { + \keys_variable_set:cnNN {#1} { tl } { } n +} \keys_property_new_arg:nn { .tl_set_x:N } { \keys_variable_set:NnNN #1 { tl } { } x } +\keys_property_new_arg:nn { .tl_set_x:c } { + \keys_variable_set:cnNN {#1} { tl } { } x +} \keys_property_new_arg:nn { .tl_gset:N } { \keys_variable_set:NnNN #1 { tl } g n } +\keys_property_new_arg:nn { .tl_gset:c } { + \keys_variable_set:cnNN {#1} { tl } g n +} \keys_property_new_arg:nn { .tl_gset_x:N } { \keys_variable_set:NnNN #1 { tl } g x } +\keys_property_new_arg:nn { .tl_gset_x:c } { + \keys_variable_set:cnNN {#1} { tl } g x +} \keys_property_new:nn { .value_forbidden: } { \keys_value_requirement:n { forbidden } } |