[latex3-commits] [git/LaTeX3-latex3-latex3] main: Clarify doc of \seq_set_split_keep_spaces:Nnn [ci skip] (69edf9a63)
Bruno Le Floch
blflatex at gmail.com
Thu Apr 22 11:30:36 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/69edf9a631f219fec395b384327d53b5e45612fe
>---------------------------------------------------------------
commit 69edf9a631f219fec395b384327d53b5e45612fe
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Thu Apr 22 11:27:47 2021 +0200
Clarify doc of \seq_set_split_keep_spaces:Nnn [ci skip]
>---------------------------------------------------------------
69edf9a631f219fec395b384327d53b5e45612fe
l3kernel/l3seq.dtx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 2a5978eaa..a0a806589 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -144,20 +144,21 @@
% (assuming \TeX{}'s normal category code r\'egime).
% If the \meta{delimiter} is empty, the \meta{token list} is split
% into \meta{items} as a \meta{token list}.
+% See also \cs{seq_set_split_keep_spaces:Nnn}, which omits space stripping.
% \end{function}
%
% \begin{function}[added = 2021-03-24]
% {
% \seq_set_split_keep_spaces:Nnn , \seq_set_split_keep_spaces:NnV ,
-% \seq_gset_split_keep_spaces:Nnn, \seq_gset_split:_keep_spaces:NnV
+% \seq_gset_split_keep_spaces:Nnn, \seq_gset_split_keep_spaces:NnV
% }
% \begin{syntax}
% \cs{seq_set_split_keep_spaces:Nnn} \meta{sequence} \Arg{delimiter} \Arg{token list}
% \end{syntax}
% Splits the \meta{token list} into \meta{items} separated
% by \meta{delimiter}, and assigns the result to the \meta{sequence}.
-% One set of outer braces is removed (if any) but any surround spaces
-% are retained: a single set of braces \emph{inside} one or more spaces are
+% One set of outer braces is removed (if any) but any surrounding spaces
+% are retained: any braces \emph{inside} one or more spaces are
% therefore kept. Empty \meta{items} are preserved by
% \cs{seq_set_split_keep_spaces:Nnn}, and can be removed afterwards using
% \cs{seq_remove_all:Nn} \meta{sequence} |{}|.
@@ -165,6 +166,7 @@
% (assuming \TeX{}'s normal category code r\'egime).
% If the \meta{delimiter} is empty, the \meta{token list} is split
% into \meta{items} as a \meta{token list}.
+% See also \cs{seq_set_split:Nnn}, which removes spaces around the delimiters.
% \end{function}
%
% \begin{function}
More information about the latex3-commits
mailing list.