[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Typos and minor fixes (2f6c3245)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Feb 15 18:10:02 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/2f6c32451c902799baf507c3ef24179071d9efe1
>---------------------------------------------------------------
commit 2f6c32451c902799baf507c3ef24179071d9efe1
Author: Phelype Oleinik <phe.h.o1 at gmail.com>
Date: Mon Jan 30 15:49:43 2023 -0300
Typos and minor fixes
>---------------------------------------------------------------
2f6c32451c902799baf507c3ef24179071d9efe1
base/doc/ltnews37.tex | 8 ++++----
base/ltpara.dtx | 18 +++++++++---------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/base/doc/ltnews37.tex b/base/doc/ltnews37.tex
index a00c2c94..9aa9d940 100644
--- a/base/doc/ltnews37.tex
+++ b/base/doc/ltnews37.tex
@@ -389,12 +389,12 @@ the previous release, but only now documented in a newletter.
A list and several other document elements add some vertical space in
front of them. However this should not happen at the beginning of a
-box (such as a \env{minipage}) and normally it doesnn't, because
+box (such as a \env{minipage}) and normally it doesn't, because
\TeX{} automatically drops such spaces at the start of a vertical
-list. However, if there is some invisible material, sich as a
+list. However, if there is some invisible material, such as a
\cs{color} command, some \pkg{hyperref} anchor, a \cs{write} or
-something else, then list is no longer empty and \TeX{} no longer drops
-spaces, hence the difference.
+something else, then the list is no longer empty and \TeX{} no longer
+drops spaces, hence the difference.
With the new paragraph handling introduced in 2021 it is now finally
possible to detect and avoid this problem and apply appropriate
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 2ab4bde8..7c96c72f 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -778,11 +778,11 @@
% front of the first paragraph---something that is not done by
% \TeX{} if a vertical list is completely empty. As this is
% happening on a very low-level in the engine it wasn't really
-% possible to find out of this \cs{parskip} was added or if a space
+% possible to find out if this \cs{parskip} was added or if a space
% we see in front of the current point is legitimate. However, with
% the new paragraph handling we are in a better position: while we
-% still don't know if there is such a space or not, we know know
-% that we have just created an empty paragraph. Thus, if we now set
+% still don't know if there is such a space or not, we do know
+% if we have just created an empty paragraph. Thus, if we now set
% \cs{parskip} to \texttt{-}\cs{parskip} the two will cancel each other
% if present and if the first was ignored because the vertical list
% was empty, then the second will be ignored too because it is
@@ -792,7 +792,7 @@
% \changes{v1.0l}{2023/01/30}{Backout \cs{parskip} at top of minipage (gh/989)}
% \begin{macrocode}
\skip_set:Nn \tex_parskip:D
- {\if at minipage -\tex_parskip:D \else \c_zero_skip \fi:}
+ { \if at minipage -\tex_parskip:D \else: \c_zero_skip \fi: }
\tex_noindent:D
\group_end:
% \end{macrocode}
@@ -827,7 +827,7 @@
%<latexrelease>\IncludeInRelease{2021/06/01}
%<latexrelease> {\g_@@_standard_everypar_tl}{minipage~ fix}
%<latexrelease>
-%<latexrelease>\tl_gset:Nn \g__para_standard_everypar_tl {
+%<latexrelease>\tl_gset:Nn \g_@@_standard_everypar_tl {
%<latexrelease> \box_gset_to_last:N \g_para_indent_box
%<latexrelease> \group_begin:
%<latexrelease> \tex_par:D
@@ -840,23 +840,23 @@
%<latexrelease> \skip_zero:N \tex_parskip:D
%<latexrelease> \tex_noindent:D
%<latexrelease> \group_end:
-%<latexrelease> \tex_everypar:D{\g__para_standard_everypar_tl}
+%<latexrelease> \tex_everypar:D{\g_@@_standard_everypar_tl}
%<latexrelease> \@kernel at before@para at begin
%<latexrelease> \hook_use:n {para/begin}
%<latexrelease> \if_mode_horizontal: \else:
%<latexrelease> \msg_error:nnnn { hooks }{ para-mode }{begin}{vertical} \fi:
-%<latexrelease> \__para_handle_indent:
+%<latexrelease> \@@_handle_indent:
%<latexrelease>}
% \end{macrocode}
% We also have to add the \cs{everypar} toks register at the
% end. In case of rollback this is already allocated and we have to
% find out the correct number (hope this is correctly done)
% \begin{macrocode}
-%<latexrelease>\cs_set:Npn\cs_tmpa:nnnnn #1#2#3#4#5{}
+%<latexrelease>\cs_set:Npn \@@_tmp:w #1#2#3#4#5 { }
%<latexrelease>\tl_gput_right:Nx \g_@@_standard_everypar_tl {
%<latexrelease> \exp_not:N \the
%<latexrelease> \exp_not:N \toks
-%<latexrelease> \exp_after:wN \cs_tmpa:nnnnn \token_to_meaning:N \everypar
+%<latexrelease> \exp_after:wN \@@_tmp:w \token_to_meaning:N \everypar
%<latexrelease> \c_space_tl
%<latexrelease>}
%<latexrelease>\EndIncludeInRelease
More information about the latex3-commits
mailing list.