[latex3-commits] [git/LaTeX3-latex3-latex3] master: Fix documentation of 'f' specifier (#579) (0ce1a31)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat May 25 17:47:14 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/0ce1a313dbf75ceda714b37472d9f0a94fc3a80c

>---------------------------------------------------------------

commit 0ce1a313dbf75ceda714b37472d9f0a94fc3a80c
Author: Florent Rougon <frougon at users.noreply.github.com>
Date:   Sat May 25 17:47:14 2019 +0200

    Fix documentation of 'f' specifier (#579)
    
    Mention the fact that if the first non-expandable token found during the
    expansion is a <space token>, it is gobbled.


>---------------------------------------------------------------

0ce1a313dbf75ceda714b37472d9f0a94fc3a80c
 l3kernel/source3body.tex |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/l3kernel/source3body.tex b/l3kernel/source3body.tex
index 2c55586..94f7426 100644
--- a/l3kernel/source3body.tex
+++ b/l3kernel/source3body.tex
@@ -168,9 +168,10 @@ following argument specifiers:
     precisely in non-\LuaTeX{} engines older than 2019.
   \item[\texttt{f}] The \texttt{f} specifier stands for \emph{full
     expansion}, and in contrast to \texttt{x} stops at the first
-    non-expandable item (reading the argument from left to right) without
-    trying to expand it. For example, when setting a token list
-    variable (a macro used for storage), the sequence
+    non-expandable token (reading the argument from left to right) without
+    trying to expand it. If this token is a \meta{space token}, it is gobbled,
+    and thus won't be part of the resulting argument. For example, when
+    setting a token list variable (a macro used for storage), the sequence
     \begin{verbatim}
       \tl_set:Nn \l_mya_tl { A }
       \tl_set:Nn \l_myb_tl { B }





More information about the latex3-commits mailing list