[latex3-commits] [latex3/latex3] develop: Correct typos (#1623) (67c6ffc60)

github at latex-project.org github at latex-project.org
Wed Nov 27 15:55:01 CET 2024


Repository : https://github.com/latex3/latex3
On branch  : develop
Link       : https://github.com/latex3/latex3/commit/67c6ffc60e1396d7aecb81e87753c77d382916e0

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

commit 67c6ffc60e1396d7aecb81e87753c77d382916e0
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Wed Nov 27 22:55:01 2024 +0800

    Correct typos (#1623)


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

67c6ffc60e1396d7aecb81e87753c77d382916e0
 l3kernel/l3prg.dtx   | 9 +++++----
 l3kernel/l3token.dtx | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3prg.dtx b/l3kernel/l3prg.dtx
index 0ddb748e7..16a0c7e26 100644
--- a/l3kernel/l3prg.dtx
+++ b/l3kernel/l3prg.dtx
@@ -80,7 +80,7 @@
 %   {
 %     \prg_new_conditional:Npnn, \prg_set_conditional:Npnn, \prg_gset_conditional:Npnn,
 %     \prg_new_protected_conditional:Npnn, \prg_set_protected_conditional:Npnn, \prg_gset_protected_conditional:Npnn,
-%     \prg_new_conditional:Nnn,  \prg_set_conditional:Nnn, \prg_gset_conditional:Nnn
+%     \prg_new_conditional:Nnn,  \prg_set_conditional:Nnn, \prg_gset_conditional:Nnn,
 %     \prg_new_protected_conditional:Nnn,  \prg_set_protected_conditional:Nnn, \prg_gset_protected_conditional:Nnn
 %    }
 %   \begin{syntax}
@@ -88,8 +88,9 @@
 %     \cs{prg_new_conditional:Nnn} \cs[no-index]{\meta{name}:\meta{arg spec}} \Arg{conditions} \Arg{code}
 %   \end{syntax}
 %   These functions create a family of conditionals using the same
-%   \meta{code} to perform the test created. Those conditionals are
-%   expandable if \meta{code} is. The \texttt{new} versions check
+%   \meta{code} to perform the test created. Those non-protected
+%   conditionals are expandable if \meta{code} is.
+%   The \texttt{new} versions check
 %   for existing definitions and perform assignments globally
 %   (\emph{cf.}~\cs{cs_new:Npn}) whereas the \texttt{set} versions do no
 %   check and perform assignments locally (\emph{cf.}~\cs{cs_set:Npn}).
@@ -97,7 +98,7 @@
 %   of \meta{conditions}, which should be one or more of
 %   \texttt{T}, \texttt{F} and \texttt{TF}, and for non-protected conditionals
 %   \texttt{p}.
-%   For public conditionals, a full et of forms should be provided:
+%   For public conditionals, a full set of forms should be provided:
 %   this contrasts with strictly internal conditionals, where only the
 %   required subset need be defined.
 % \end{function}
diff --git a/l3kernel/l3token.dtx b/l3kernel/l3token.dtx
index 5c0489299..47de5dba0 100644
--- a/l3kernel/l3token.dtx
+++ b/l3kernel/l3token.dtx
@@ -151,7 +151,7 @@
 %   $0$ is not allowed.
 %   Active characters cannot be generated in older versions of \XeTeX{}.
 %   Another way to build token lists with unusual category codes is
-%   \cs{regex_replace:nnN} |{.*}| \Arg{replacement} \meta{tl~var}.
+%   \cs{regex_replace_all:nnN} |{.*}| \Arg{replacement} \meta{tl~var}.
 %   \begin{texnote}
 %     Exactly two expansions are needed to produce the character.
 %   \end{texnote}





More information about the latex3-commits mailing list.