[latex3-commits] [git/LaTeX3-latex3-latex3] gh1010-doc: Mark-up changes in l3tl (fixes #1006) (414e179d0)

Bruno Le Floch blflatex at gmail.com
Mon Nov 1 20:41:49 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : gh1010-doc
Link       : https://github.com/latex3/latex3/commit/414e179d006a3b63499d4fa64b3deff6d0422f30

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

commit 414e179d006a3b63499d4fa64b3deff6d0422f30
Author: Bruno Le Floch <blflatex at gmail.com>
Date:   Mon Nov 1 20:41:49 2021 +0100

    Mark-up changes in l3tl (fixes #1006)


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

414e179d006a3b63499d4fa64b3deff6d0422f30
 l3kernel/l3tl.dtx | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 13625c254..0db67df2e 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -473,7 +473,7 @@
 %     \cs{tl_if_single_p:N} \meta{tl~var}
 %     \cs{tl_if_single:NTF} \meta{tl~var} \Arg{true code} \Arg{false code}
 %   \end{syntax}
-%   Tests if the content of the \meta{tl~var} consists of a single item,
+%   Tests if the content of the \meta{tl~var} consists of a single \meta{item},
 %   \emph{i.e.}~is a single normal token (neither an explicit space
 %   character nor a begin-group character) or a single brace group,
 %   surrounded by optional spaces on both sides. In other words, such a
@@ -485,7 +485,7 @@
 %     \cs{tl_if_single_p:n} \Arg{token list}
 %     \cs{tl_if_single:nTF} \Arg{token list} \Arg{true code} \Arg{false code}
 %   \end{syntax}
-%   Tests if the \meta{token list} has exactly one item, \emph{i.e.}~is
+%   Tests if the \meta{token list} has exactly one \meta{item}, \emph{i.e.}~is
 %   a single normal token (neither an explicit space character nor a
 %   begin-group character) or a single brace group, surrounded by
 %   optional spaces on both sides. In other words, such a token list has
@@ -498,7 +498,7 @@
 %   \cs{tl_if_single_token:nTF} \Arg{token list} \Arg{true code} \Arg{false code}
 %   \end{syntax}
 %   Tests if the token list consists of exactly one token, \emph{i.e.}~is
-%   either a single space character or a single \enquote{normal} token.
+%   either a single space character or a single normal token.
 %   Token groups (|{|\ldots|}|) are not single tokens.
 % \end{function}
 %
@@ -581,13 +581,13 @@
 %     \cs{tl_map_tokens:nn} \Arg{tokens} \Arg{code}
 %   \end{syntax}
 %   Analogue of \cs{tl_map_function:NN} which maps several tokens
-%   instead of a single function.  The \meta{code} receives each item in
+%   instead of a single function.  The \meta{code} receives each \meta{item} in
 %   the \meta{tl~var} or in \meta{tokens} as a trailing brace group. For
 %   instance,
 %   \begin{verbatim}
 %     \tl_map_tokens:Nn \l_my_tl { \prg_replicate:nn { 2 } }
 %   \end{verbatim}
-%   expands to twice each item in the \meta{tl~var}: for each item in
+%   expands to twice each \meta{item} in the \meta{tl~var}: for each \meta{item} in
 %   \cs[no-index]{l_my_tl} the function \cs{prg_replicate:nn} receives |2| and
 %   \meta{item} as its two arguments.  The function
 %   \cs{tl_map_inline:Nn} is typically faster but is not expandable.
@@ -752,7 +752,7 @@
 %   \begin{syntax}
 %     \cs{tl_count:N} \meta{tl~var}
 %   \end{syntax}
-%   Counts the number of token groups in the \meta{tl~var}
+%   Counts the number of \meta{items} in the \meta{tl~var}
 %   and leaves this information in the input stream. Unbraced tokens
 %   count as one element as do each token group (|{|\ldots|}|). This
 %   process ignores any unprotected spaces within the \meta{tl~var}.
@@ -1040,7 +1040,7 @@
 %   (explicit token with character code~$32$ and category code~$10$)
 %   nor an explicit begin-group character
 %   (with category code~1 and any character code). An empty
-%   argument yields \texttt{false}, as it does not have a \enquote{normal}
+%   argument yields \texttt{false}, as it does not have a normal
 %   first token.
 %   This function is useful to implement actions on token lists on
 %   a token by token basis.
@@ -1442,7 +1442,7 @@
 %   By using \cs{exp_not:n} token list variables can contain |#| tokens,
 %   which makes the token list registers provided by \TeX{}
 %   more or less redundant. The \cs{tl_set:No} version is done
-%   \enquote{by hand} as it is used quite a lot.
+%   by hand as it is used quite a lot.
 %    \begin{macrocode}
 \cs_new_protected:Npn \tl_set:Nn #1#2
   { \__kernel_tl_set:Nx #1 { \__kernel_exp_not:w {#2} } }





More information about the latex3-commits mailing list.