summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-30 22:06:14 +0000
committerKarl Berry <karl@freefriends.org>2015-01-30 22:06:14 +0000
commit1d5214eef547cee6ca964581213f2ce9e225405f (patch)
tree8ec01ec0918933109486cc058a6f1ee277d9727b /Master/texmf-dist/source/latex/l3kernel/l3expan.dtx
parenteeb7bfc039d7f1751252a8e2bc1e1fa1701f3d1b (diff)
l3kernel (30jan15)
git-svn-id: svn://tug.org/texlive/trunk@36174 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3expan.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3expan.dtx22
1 files changed, 21 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx
index 701a2ab6b02..7d708c411ac 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx
@@ -37,7 +37,7 @@
\documentclass[full]{l3doc}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: l3expan.dtx 5349 2014-08-22 21:46:59Z bruno $
+\GetIdInfo$Id: l3expan.dtx 5472 2014-11-27 09:10:40Z joseph $
{L3 Argument expansion}
%</driver|package>
%<*driver>
@@ -222,6 +222,26 @@
% you should stick to using |TF| type functions only as it does not
% try to finish any |\if... \fi:| itself!
%
+% If is important to not that both \texttt{f}- and \texttt{o}-type
+% expansion are concerned with the expansion of tokens from left to
+% right in their arguments. In particular, \texttt{o}-type expansion
+% applies to the first \emph{token} in the argument it receives: it
+% is conceptually similar to
+% \begin{verbatim}
+% \exp_after:wN <base function> \exp_after:wN { <argument> }
+% \end{verbatim}
+% At the same time, \texttt{f}-type expansion stops at the emph{first}
+% non-expandable token. This means for example that both
+% \begin{verbatim}
+% \tl_set:No \l_tmpa_tl { { \l_tmpa_tl } }
+% \end{verbatim}
+% and
+% \begin{verbatim}
+% \tl_set:Nf \l_tmpa_tl { { \l_tmpa_tl } }
+% \end{verbatim}
+% leave |\l_tmpa_tl| unchanged: |{| is the first token in the
+% argument and is non-expandable.
+%
% \section{Manipulating the first argument}
%
% These functions are described in detail: expansion of multiple tokens follows