[latex3-commits] [latex3/latex2e] latexlab/tagging-9: typos (1410bdd6)
github at latex-project.org
github at latex-project.org
Sun Sep 3 00:30:16 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : latexlab/tagging-9
Link : https://github.com/latex3/latex2e/commit/1410bdd6b1c98f9a173fdcda5706acb547461072
>---------------------------------------------------------------
commit 1410bdd6b1c98f9a173fdcda5706acb547461072
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Sep 3 00:30:16 2023 +0200
typos
>---------------------------------------------------------------
1410bdd6b1c98f9a173fdcda5706acb547461072
required/latex-lab/latex-lab-block.dtx | 32 +++++++++++---------------------
1 file changed, 11 insertions(+), 21 deletions(-)
diff --git a/required/latex-lab/latex-lab-block.dtx b/required/latex-lab/latex-lab-block.dtx
index d31b9990..f890818e 100644
--- a/required/latex-lab/latex-lab-block.dtx
+++ b/required/latex-lab/latex-lab-block.dtx
@@ -1543,7 +1543,7 @@
\tl_if_empty:nF {#1} { \SetTemplateKeys{blockenv}{display}{#1} }
%
% \end{macrocode}
-% We need to know later if we haved nested blockenvs inside
+% We need to know later if we have nested blockenvs inside
% a flattened environment. Whenever we start a new blockenv we
% increment \cs{\l_@@_flattened_level_int} if it is already
% different from zero. If it is zero we increment it if flattening
@@ -1667,7 +1667,7 @@
%
% \begin{macro}{\c at maxblocklevels}
% A counter to increase or decrease the number of supported
-% level. If increased, one needs to suply additional level instances.
+% level. If increased, one needs to supply additional level instances.
% \begin{macrocode}
\newcounter{maxblocklevels}
\setcounter{maxblocklevels}{6}
@@ -1741,7 +1741,7 @@
% point here, i.e., only if the list didn't start a paragraph. One
% can make a case for that, but it can be somewhat surprising to
% the user and there is a good argument that even such a list could
-% be followed expanatory text that is part of the same paragraph
+% be followed explanatory text that is part of the same paragraph
% and doesn't start a new one.\fmi{decide which logic we want to
% use! If the old logic is used we need to close the text-unit
% ourselves in the true branch}
@@ -2690,7 +2690,7 @@
% \begin{itemize}
% \item It opens a \struct{text-unit}-structure or keeps the current one open (only
% closing the MC).
-% \item It then starts a new structure rollmapped to L-structure
+% \item It then starts a new structure rolemapped to L-structure
% and arranges for handling list items, e.g., Li, Lbl and LBody
% structures.
% \item At the end it closes open list structures as needed but
@@ -2948,7 +2948,7 @@
}
% \end{macrocode}
%
-% We use \struct{theorem-like} as the structure name and rollmap it
+% We use \struct{theorem-like} as the structure name and rolemap it
% to a \struct{Sect} because that can hold a \struct{Caption}.
% \begin{macrocode}
\tag_if_active:T {
@@ -3215,7 +3215,7 @@
% block list-5,
% block list-6 }
% The block instances for the various list environments use the
-% same underlying instance (well by default) and nothing nothing
+% same underlying instance (well by default) and nothing
% needs to be set up specifically (because that is already done in
% the legacy \cs{list\meta{romannumeral}} unless a
% different layout is wanted.
@@ -3246,7 +3246,7 @@
% \subsection{List instances for the standard lists}
%
% For all list instances we have to say what kind of label we want
-% (\texttt{label-instance}) and how it should beformatted.
+% (\texttt{label-instance}) and how it should be formatted.
%
% \begin{instance}{list itemize-1,
% list itemize-2,
@@ -3514,7 +3514,7 @@
% e.g., \verb=...\end{itemize} \item ...\par= it can happen that
% \cs{__kernel_displayblock_doendpe:} is called while
% \texttt{@endpe} is already handled and then we should not attempt
-% to close a \texttt{text-unit} structure. So we need to check for this.
+% to close a \texttt{text-unit} structure). So we need to check for this.
% \begin{macrocode}
\legacy_if:nT { @endpe }
{
@@ -3522,7 +3522,7 @@
% If the display block currently ending was \enquote{flattened}
% (i.e., uses simplified paragraphs that are not tagged by a
% combination of \texttt{text-unit} followed by \struct{text}, but simply
-% with a \struct{text},
+% with a \struct{text}),
% then we don't have to do anything, because the \struct{text} is already closed.
% \begin{macrocode}
\@@_debug_typeout:n
@@ -3547,7 +3547,7 @@
%
% Paragraph tagging is mainly done using the paragraph hooks (will
% get moved eventually). The default hook setting is not good
-% enough when lists get suppported: we need to delay starting the
+% enough when lists get supported: we need to delay starting the
% paragraph tagging if we still have to place the list label.
% We therefore remove the existing hook data and replace it with an
% augmented version (this will get combined eventually).
@@ -3608,7 +3608,7 @@
}
% \end{macrocode}
% The same code, but without testing \texttt{@endpe}. This is not
-% needed in the standalong e case and wrong inside lists.
+% needed in the standalone case and wrong inside lists.
% \begin{macrocode}
\cs_new_protected:Npn \@@_start_para_structure_unconditionally:n #1 {
\bool_if:NF \l__tag_para_flattened_bool
@@ -3629,14 +3629,6 @@
% \end{macrocode}
% \end{macro}
%
-%
-%
-% \begin{macrocode}
-\tag_if_active:T {
-% \tagpdfsetup{add-new-tag={tag=text-unit,role=Part}}
-}
-% \end{macrocode}
-%
% \begin{macrocode}
\RemoveFromHook{para/end}[tagpdf]
\AddToHook{para/end}
@@ -3697,8 +3689,6 @@
\cs_set_eq:NN \endgraf \para_end:
% \end{macrocode}
%
-% \begin{macrocode}
-% \end{macrocode}
% \end{macro}
%
%
More information about the latex3-commits
mailing list.