summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3keys.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-15 00:22:17 +0000
committerKarl Berry <karl@freefriends.org>2010-01-15 00:22:17 +0000
commitd2c9abc412c2f0c16609b23cafea3f64c43089d0 (patch)
tree4ab083429197fe57621940a2f454748214cc3146 /Master/texmf-dist/tex/latex/expl3/l3keys.sty
parent9a67e99a67abb5407d276cea4024eaa8c0ee23f9 (diff)
expl3 1766 (12jan10)
git-svn-id: svn://tug.org/texlive/trunk@16718 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3keys.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3keys.sty33
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 }
}