[latex3-commits] [l3svn] r6663 - l3doc: make most options ".value_forbidden:"
noreply at latex-project.org
noreply at latex-project.org
Mon Aug 15 18:58:56 CEST 2016
Author: bruno
Date: 2016-08-15 18:58:55 +0200 (Mon, 15 Aug 2016)
New Revision: 6663
Modified:
trunk/l3kernel/l3doc.dtx
Log:
l3doc: make most options ".value_forbidden:"
Modified: trunk/l3kernel/l3doc.dtx
===================================================================
--- trunk/l3kernel/l3doc.dtx 2016-08-15 16:43:49 UTC (rev 6662)
+++ trunk/l3kernel/l3doc.dtx 2016-08-15 16:58:55 UTC (rev 6663)
@@ -1956,20 +1956,24 @@
% \begin{macrocode}
\keys_define:nn { l3doc/function }
{
+ TF .value_forbidden: ,
TF .code:n =
{
\bool_set_true:N \l_@@_macro_TF_bool
} ,
+ EXP .value_forbidden: ,
EXP .code:n =
{
\bool_set_true:N \l_@@_macro_EXP_bool
\bool_set_false:N \l_@@_macro_rEXP_bool
} ,
+ rEXP .value_forbidden: ,
rEXP .code:n =
{
\bool_set_false:N \l_@@_macro_EXP_bool
\bool_set_true:N \l_@@_macro_rEXP_bool
} ,
+ pTF .value_forbidden: ,
pTF .code:n =
{
\bool_set_true:N \l_@@_macro_pTF_bool
@@ -1981,6 +1985,7 @@
updated .tl_set:N = \l_@@_date_updated_tl ,
tested .code:n = { } ,
no-label .bool_set:N = \l_@@_no_label_bool ,
+ verb .value_forbidden: ,
verb .bool_set:N = \l_@@_names_verb_bool ,
}
% \end{macrocode}
@@ -2315,22 +2320,27 @@
%
% \subsubsection{The \env{macro} environment}
%
-% Keyval for the \env{macro} environment. TODO: use
-% |.value_forbidden:|. TODO: provide document command for talking about
-% keys.
+% Keyval for the \env{macro} environment.
+% TODO: provide document command for documenting keys.
% \begin{macrocode}
\keys_define:nn { l3doc/macro }
{
+ aux .value_forbidden: ,
aux .code:n =
{ \bool_set_true:N \l_@@_macro_aux_bool } ,
+ internal .value_forbidden: ,
internal .code:n =
{ \bool_set_true:N \l_@@_macro_internal_bool } ,
+ int .value_forbidden: ,
int .code:n =
{ \bool_set_true:N \l_@@_macro_internal_bool } ,
+ var .value_forbidden: ,
var .code:n =
{ \bool_set_true:N \l_@@_macro_var_bool } ,
+ TF .value_forbidden: ,
TF .code:n =
{ \bool_set_true:N \l_@@_macro_TF_bool } ,
+ pTF .value_forbidden: ,
pTF .code:n =
{
\bool_set_true:N \l_@@_macro_TF_bool
@@ -2338,11 +2348,13 @@
\bool_set_true:N \l_@@_macro_EXP_bool
\bool_set_false:N \l_@@_macro_rEXP_bool
} ,
+ EXP .value_forbidden: ,
EXP .code:n =
{
\bool_set_true:N \l_@@_macro_EXP_bool
\bool_set_false:N \l_@@_macro_rEXP_bool
} ,
+ rEXP .value_forbidden: ,
rEXP .code:n =
{
\bool_set_false:N \l_@@_macro_EXP_bool
More information about the latex3-commits
mailing list