[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: remove duplicated intertext definition (9fc9de8f)
github at latex-project.org
github at latex-project.org
Mon Nov 27 00:56:13 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : latex-lab/uf-review-05
Link : https://github.com/latex3/latex2e/commit/9fc9de8f75a8ab16802b213b04e108e8e514a2ff
>---------------------------------------------------------------
commit 9fc9de8f75a8ab16802b213b04e108e8e514a2ff
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Nov 27 00:56:13 2023 +0100
remove duplicated intertext definition
>---------------------------------------------------------------
9fc9de8f75a8ab16802b213b04e108e8e514a2ff
required/latex-lab/latex-lab-amsmath.dtx | 9 ++++++--
required/latex-lab/latex-lab-math.dtx | 36 --------------------------------
2 files changed, 7 insertions(+), 38 deletions(-)
diff --git a/required/latex-lab/latex-lab-amsmath.dtx b/required/latex-lab/latex-lab-amsmath.dtx
index e1f95730..b22472a4 100644
--- a/required/latex-lab/latex-lab-amsmath.dtx
+++ b/required/latex-lab/latex-lab-amsmath.dtx
@@ -105,9 +105,14 @@
% \begin{macrocode}
\tag_mc_end_push:
% \end{macrocode}
-% We are already in a par so we change now to Span:
+% We are already in a par so we change now to text:
% \begin{macrocode}
- \tagpdfsetup{paratag=Span}%
+ \tagpdfsetup{paratag=P}%
+% \end{macrocode}
+% TODO why \tagpdfparaOn needed?
+% TODO spacing is wrong (but probably due to something else)
+% \begin{macrocode}
+ \tagpdfparaOn
\noindent\ignorespaces##1\par
% \end{macrocode}
% Restart the MC
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 340bd822..77880a8d 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -1454,42 +1454,6 @@
}
% \end{macrocode}
%
-% \begin{macrocode}
- \def\intertext@{%
- \def\intertext##1{%
- \ifvmode\else\\\@empty\fi
- \noalign{%
-% we have to flip the sign on the skip because we flipped it on the outside
- \penalty\postdisplaypenalty\vskip-\belowdisplayskip
- \vbox{
-% \end{macrocode}
-% Stop tagging when measuring:
-% \begin{macrocode}
- \ifmeasuring@\tag_stop:\fi
- \normalbaselines
- \ifdim\linewidth=\columnwidth
- \else \parshape\@ne \@totalleftmargin \linewidth
- \fi
-% \end{macrocode}
-% End the previous mc:\fmi{if we use 2 levels of formulas this would
-% need changing}
-% \begin{macrocode}
- \tag_mc_end_push:
-% \end{macrocode}
-% We are already in a par so we change now to Span:\fmi{not true any longer}
-% \begin{macrocode}
- \tagpdfsetup{paratag=P}%
- \tagpdfparaOn
- \noindent\ignorespaces##1\par
-% \end{macrocode}
-% Restart the MC
-% \begin{macrocode}
- \tag_mc_begin_pop:n{}}%
- \penalty\predisplaypenalty\vskip\abovedisplayskip%
- }%
- }
- }
-% \end{macrocode}
%
% \begin{macrocode}
\@namedef{math at cr @ @ @ gather}{%
More information about the latex3-commits
mailing list.