summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3quark.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3quark.dtx30
1 files changed, 17 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx b/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx
index 2516c123615..90c38e62699 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3quark.dtx
@@ -24,7 +24,7 @@
\documentclass[full]{l3doc}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: l3quark.dtx 6805 2016-12-28 22:15:52Z joseph $
+\GetIdInfo$Id: l3quark.dtx 6947 2017-02-17 21:27:18Z bruno $
{L3 Quarks}
%</driver|package>
%<*driver>
@@ -206,8 +206,9 @@
% \cs{quark_if_recursion_tail_stop:N} \meta{token}
% \end{syntax}
% Tests if \meta{token} contains only the marker
-% \cs{q_recursion_tail}, and if so terminates the recursion this is
-% part of using \cs{use_none_delimit_by_q_recursion_stop:w}. The
+% \cs{q_recursion_tail}, and if so uses
+% \cs{use_none_delimit_by_q_recursion_stop:w} to terminate the
+% recursion that this belongs to. The
% recursion input must include the marker tokens \cs{q_recursion_tail}
% and \cs{q_recursion_stop} as the last two items.
% \end{function}
@@ -218,8 +219,9 @@
% \cs{quark_if_recursion_tail_stop:n} \Arg{token list}
% \end{syntax}
% Tests if the \meta{token list} contains only
-% \cs{q_recursion_tail}, and if so terminates the recursion this is
-% part of using \cs{use_none_delimit_by_q_recursion_stop:w}. The
+% \cs{q_recursion_tail}, and if so uses
+% \cs{use_none_delimit_by_q_recursion_stop:w} to terminate the
+% recursion that this belongs to. The
% recursion input must include the marker tokens \cs{q_recursion_tail}
% and \cs{q_recursion_stop} as the last two items.
% \end{function}
@@ -229,8 +231,9 @@
% \cs{quark_if_recursion_tail_stop_do:Nn} \meta{token} \Arg{insertion}
% \end{syntax}
% Tests if \meta{token} contains only the marker
-% \cs{q_recursion_tail}, and if so terminates the recursion this is
-% part of using \cs{use_none_delimit_by_q_recursion_stop:w}. The
+% \cs{q_recursion_tail}, and if so uses
+% \cs{use_none_delimit_by_q_recursion_stop:w} to terminate the
+% recursion that this belongs to. The
% recursion input must include the marker tokens \cs{q_recursion_tail}
% and \cs{q_recursion_stop} as the last two items. The \meta{insertion}
% code is then added to the input stream after the recursion has
@@ -243,8 +246,9 @@
% \cs{quark_if_recursion_tail_stop_do:nn} \Arg{token list} \Arg{insertion}
% \end{syntax}
% Tests if the \meta{token list} contains only
-% \cs{q_recursion_tail}, and if so terminates the recursion this is
-% part of using \cs{use_none_delimit_by_q_recursion_stop:w}. The
+% \cs{q_recursion_tail}, and if so uses
+% \cs{use_none_delimit_by_q_recursion_stop:w} to terminate the
+% recursion that this belongs to. The
% recursion input must include the marker tokens \cs{q_recursion_tail}
% and \cs{q_recursion_stop} as the last two items. The \meta{insertion}
% code is then added to the input stream after the recursion has
@@ -505,7 +509,7 @@
% a string like |aabc| instead of a single token.\footnote{It may
% still loop in special circumstances however!}
% \begin{macrocode}
-\prg_new_conditional:Nnn \quark_if_nil:N { p, T , F , TF }
+\prg_new_conditional:Npnn \quark_if_nil:N #1 { p, T , F , TF }
{
\if_meaning:w \q_nil #1
\prg_return_true:
@@ -513,7 +517,7 @@
\prg_return_false:
\fi:
}
-\prg_new_conditional:Nnn \quark_if_no_value:N { p, T , F , TF }
+\prg_new_conditional:Npnn \quark_if_no_value:N #1 { p, T , F , TF }
{
\if_meaning:w \q_no_value #1
\prg_return_true:
@@ -549,13 +553,13 @@
% second case, the result is not empty since the first~|?!| in the
% definition of \cs{quark_if_nil:n} stop~|#3|.
% \begin{macrocode}
-\prg_new_conditional:Nnn \quark_if_nil:n { p, T , F , TF }
+\prg_new_conditional:Npnn \quark_if_nil:n #1 { p, T , F , TF }
{
\__tl_if_empty_return:o
{ \@@_if_nil:w {} #1 {} ? ! \q_nil ? ? ! }
}
\cs_new:Npn \@@_if_nil:w #1 \q_nil #2 ? #3 ? ! { #1 #2 }
-\prg_new_conditional:Nnn \quark_if_no_value:n { p, T , F , TF }
+\prg_new_conditional:Npnn \quark_if_no_value:n #1 { p, T , F , TF }
{
\__tl_if_empty_return:o
{ \@@_if_no_value:w {} #1 {} ? ! \q_no_value ? ? ! }