[latex3-commits] [git/LaTeX3-latex3-latex3] main: Adjust mark-up, based on more checking of the index (d2d24c74b)
Bruno Le Floch
blflatex at gmail.com
Mon May 3 16:49:33 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/d2d24c74bc6312699285d483a0c4c9f80227337f
>---------------------------------------------------------------
commit d2d24c74bc6312699285d483a0c4c9f80227337f
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Mon May 3 16:49:33 2021 +0200
Adjust mark-up, based on more checking of the index
>---------------------------------------------------------------
d2d24c74bc6312699285d483a0c4c9f80227337f
l3kernel/expl3.dtx | 2 +-
l3kernel/l3candidates.dtx | 4 ++--
l3kernel/l3clist.dtx | 4 ++--
l3kernel/l3int.dtx | 2 +-
l3kernel/l3kernel-functions.dtx | 2 +-
l3kernel/l3quark.dtx | 6 +++---
l3kernel/l3regex.dtx | 2 +-
l3kernel/l3skip.dtx | 2 +-
l3kernel/l3str.dtx | 2 +-
9 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 23bbb5a80..8950c6a89 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -866,7 +866,7 @@
% \item Where possible, declare all variables and functions (using
% \cs{cs_new:Npn}, \cs{tl_new:N}, etc.) before use.
% \item Prefer \enquote{higher-level} functions over \enquote{lower-level},
-% where possible. So for example use \cs{cs_if_exist:N(TF)} and not
+% where possible. So for example use \cs{cs_if_exist:NTF} and not
% \cs{if_cs_exist:N}.
% \item Use space to make code readable. In general, we recommend
% a layout such as:
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index d6260176a..6cfb0d745 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -216,7 +216,7 @@
% If piped system calls are disabled an error is raised.
%
% For details of handling of the \meta{shell command}, see
-% \cs{sys_get_shell:nnN(TF)}.
+% \cs{sys_get_shell:nnNTF}.
% \end{function}
%
% \section{Additions to \pkg{l3flag}}
@@ -972,7 +972,7 @@
% \begin{macro}{\@@_case:NnTF}
% \begin{macro}{\@@_case_true:w, \@@_case_false:w, \@@_case_end:nw}
% For boolean cases the overall idea is the same as for
-% \cs{tl_case:nn(TF)} as described in \pkg{l3tl}.
+% \cs{tl_case:nnTF} as described in \pkg{l3tl}.
% \begin{macrocode}
\cs_new:Npn \bool_case_true:nTF
{ \exp:w \@@_case:NnTF \c_true_bool }
diff --git a/l3kernel/l3clist.dtx b/l3kernel/l3clist.dtx
index 36ec3bacc..9c87c7cb1 100644
--- a/l3kernel/l3clist.dtx
+++ b/l3kernel/l3clist.dtx
@@ -286,7 +286,7 @@
% \end{syntax}
% Removes duplicate items from the \meta{comma list}, leaving the
% left most copy of each item in the \meta{comma list}. The \meta{item}
-% comparison takes place on a token basis, as for \cs{tl_if_eq:nn(TF)}.
+% comparison takes place on a token basis, as for \cs{tl_if_eq:nnTF}.
% \begin{texnote}
% This function iterates through every item in the \meta{comma list} and
% does a comparison with the \meta{items} already checked. It is therefore
@@ -307,7 +307,7 @@
% \end{syntax}
% Removes every occurrence of \meta{item} from the \meta{comma list}.
% The \meta{item} comparison takes place on a token basis, as for
-% \cs{tl_if_eq:nn(TF)}.
+% \cs{tl_if_eq:nnTF}.
% \begin{texnote}
% The function may fail if the \meta{item} contains |{|, |}|, or |#|
% (assuming the usual \TeX{} category codes apply).
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 54a621abd..6d6da08e1 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -1675,7 +1675,7 @@
% \begin{macro}{\@@_case:nw, \@@_case_end:nw}
% For integer cases, the first task to fully expand the check
% condition. The over all idea is then much the same as for
-% \cs{tl_case:nn(TF)} as described in \pkg{l3tl}.
+% \cs{tl_case:nnTF} as described in \pkg{l3tl}.
% \begin{macrocode}
\cs_new:Npn \int_case:nnTF #1
{
diff --git a/l3kernel/l3kernel-functions.dtx b/l3kernel/l3kernel-functions.dtx
index 32ae13ce9..b800c7e35 100644
--- a/l3kernel/l3kernel-functions.dtx
+++ b/l3kernel/l3kernel-functions.dtx
@@ -529,7 +529,7 @@
% The function \cs{__kernel_quark_new_conditional:Nn} can define $2$
% different types of quark conditionals. Which one is defined depends
% on the \meta{arg spec}, which \emph{must} be one of the following
-% options, modeled after \cs[no-index]{quark_if_nil:(N|n)(TF)}.
+% options, modeled after \cs[index=quark_if_nil:NTF]{quark_if_nil:(N|n)(TF)}.
% \begin{description}
% \def\makelabel#1{\texttt{#1}}
% \item[n] defines \cs[no-index]{__\meta{namespace}_quark_if_\meta{name}:n(TF)} such that it
diff --git a/l3kernel/l3quark.dtx b/l3kernel/l3quark.dtx
index c633923bf..88d59b7d7 100644
--- a/l3kernel/l3quark.dtx
+++ b/l3kernel/l3quark.dtx
@@ -540,7 +540,7 @@
% \UnitTested
% \begin{macro}{\@@_if_nil:w, \@@_if_no_value:w}
% \begin{macro}[EXP]{\@@_if_empty_if:o}
-% Let us explain |\quark_if_nil:n(TF)|. Expanding \cs{@@_if_nil:w}
+% Let us explain \cs{quark_if_nil:nTF}. Expanding \cs{@@_if_nil:w}
% once is safe thanks to the trailing \cs{q_nil} |??!|. The result of
% expanding once is empty if and only if both delimited arguments |#1|
% and~|#2| are empty and |#3|~is delimited by the last tokens~|?!|.
@@ -623,8 +623,8 @@
% There are only two cases for the \meta{arg spec} here:
% \begin{description}
% \def\makelabel#1{\texttt{:#1}~}
-% \item[n] gives an analogue of \cs[no-index]{quark_if_nil:n(TF)}
-% \item[N] gives an analogue of \cs[no-index]{quark_if_nil:N(TF)}
+% \item[n] gives an analogue of \cs{quark_if_nil:nTF}
+% \item[N] gives an analogue of \cs{quark_if_nil:NTF}
% \end{description}
% Any other signature causes an error, as does a function without signature.
% We use low-level emptiness tests as \pkg{l3tl} is not available yet when these
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 30d4abd78..a87cd4169 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -569,7 +569,7 @@
% All regular expression functions are available in both |:n| and |:N|
% variants. The former require a \enquote{standard} regular expression,
% while the later require a compiled expression as generated by
-% \cs{regex_(g)set:Nn}.
+% \cs{regex_set:Nn}.
%
% \begin{function}[TF, added = 2017-05-26]{\regex_match:nn, \regex_match:Nn}
% \begin{syntax}
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index 97eaef163..2beaa5a82 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -1395,7 +1395,7 @@
% \begin{macro}{\@@_case:nw, \@@_case_end:nw}
% For dimension cases, the first task to fully expand the check
% condition. The over all idea is then much the same as for
-% \cs[index=str_case:nnTF]{str_case:nn(TF)} as described in \pkg{l3basics}.
+% \cs{str_case:nnTF} as described in \pkg{l3basics}.
% \begin{macrocode}
\cs_new:Npn \dim_case:nnTF #1
{
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index 8b3dfccb5..b52e11ceb 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -1201,7 +1201,7 @@
% \begin{macro}[EXP]{\@@_case:nnTF, \@@_case_e:nnTF}
% \begin{macro}[EXP]
% {\@@_case:nw, \@@_case_e:nw, \@@_case_end:nw}
-% Much the same as \cs[index=tl_case:nn]{tl_case:nn(TF)} here:
+% Much the same as \cs{tl_case:nnTF} here:
% just a change in the internal comparison.
% \begin{macrocode}
\cs_new:Npn \str_case:nn #1#2
More information about the latex3-commits
mailing list.