[latex3-commits] [git/LaTeX3-latex3-latex3] master: Typos and code layout (b47530c)
Bruno Le Floch
bruno at le-floch.fr
Sun Apr 29 21:14:46 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/b47530ca891a31205cbae6c882ddf0f0693f55f8
>---------------------------------------------------------------
commit b47530ca891a31205cbae6c882ddf0f0693f55f8
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Tue Apr 24 13:37:28 2018 -0400
Typos and code layout
>---------------------------------------------------------------
b47530ca891a31205cbae6c882ddf0f0693f55f8
l3kernel/l3basics.dtx | 2 +-
l3kernel/l3candidates.dtx | 20 ++++----------------
l3kernel/l3expan.dtx | 2 +-
l3kernel/l3regex.dtx | 2 +-
4 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 622b5c1..9c23b45 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -1465,7 +1465,7 @@
% \end{macrocode}
%
% \begin{macro}[EXP]{\use:n, \use:nn, \use:nnn, \use:nnnn}
-% These macros grab their arguments and returns them back to the input
+% These macros grab their arguments and return them back to the input
% (with outer braces removed).
% \begin{macrocode}
\cs_set:Npn \use:n #1 {#1}
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index d42c750..8332f18 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -2525,18 +2525,12 @@
\cs_new_protected:Npn \sys_shell_now:n #1
{
\lua_now_x:n
- {
- os.execute("
- \lua_escape_x:n { \tl_to_str:n {#1} }
- ")
- }
+ { os.execute(" \lua_escape_x:n { \tl_to_str:n {#1} } ") }
}
}
{
\cs_new_protected:Npn \sys_shell_now:n #1
- {
- \iow_now:Nn \c_@@_shell_stream_int { #1 }
- }
+ { \iow_now:Nn \c_@@_shell_stream_int {#1} }
}
\cs_generate_variant:Nn \sys_shell_now:n { x }
% \end{macrocode}
@@ -2550,18 +2544,12 @@
\cs_new_protected:Npn \sys_shell_shipout:n #1
{
\lua_shipout_x:n
- {
- os.execute("
- \lua_escape_x:n { \tl_to_str:n {#1} }
- ")
- }
+ { os.execute(" \lua_escape_x:n { \tl_to_str:n {#1} } ") }
}
}
{
\cs_new_protected:Npn \sys_shell_shipout:n #1
- {
- \iow_shipout:Nn \c_@@_shell_stream_int { #1 }
- }
+ { \iow_shipout:Nn \c_@@_shell_stream_int {#1} }
}
\cs_generate_variant:Nn \sys_shell_shipout:n { x }
% \end{macrocode}
diff --git a/l3kernel/l3expan.dtx b/l3kernel/l3expan.dtx
index a132d6c..55f6dfc 100644
--- a/l3kernel/l3expan.dtx
+++ b/l3kernel/l3expan.dtx
@@ -759,7 +759,7 @@
% \cs{exp_end:} gets generated.
% \begin{texnote}
% The current implementation uses \tn{romannumeral} hence ignores
-% space tokens and explict signs |+| and |-| in the expansion of the
+% space tokens and explicit signs |+| and |-| in the expansion of the
% \meta{expandable tokens}, but this should not be relied upon.
% \end{texnote}
% \end{function}
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index fa2cb16..283da80 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -202,7 +202,7 @@
% but not a space, for compatibility with Perl.
% \item[\\w] Any word character, \emph{i.e.},
% alphanumerics and underscore, equivalent to the explicit
-% group |[A-Za-z0-9\_]|.
+% class |[A-Za-z0-9\_]|.
% \item[\\D] Any token not matched by |\d|.
% \item[\\H] Any token not matched by |\h|.
% \item[\\N] Any token other than the |\n| character (hex 0A).
More information about the latex3-commits
mailing list