texlive[60881] Master/texmf-dist: breqn (28oct21)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 28 21:45:22 CEST 2021
Revision: 60881
http://tug.org/svn/texlive?view=revision&revision=60881
Author: karl
Date: 2021-10-28 21:45:22 +0200 (Thu, 28 Oct 2021)
Log Message:
-----------
breqn (28oct21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md
trunk/Master/texmf-dist/doc/latex/breqn/breqn.pdf
trunk/Master/texmf-dist/doc/latex/breqn/flexisym.pdf
trunk/Master/texmf-dist/doc/latex/breqn/mathstyle.pdf
trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx
trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx
trunk/Master/texmf-dist/source/latex/breqn/mathstyle.dtx
trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty
trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty
trunk/Master/texmf-dist/tex/latex/breqn/mathstyle.sty
Modified: trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md 2021-10-28 19:45:22 UTC (rev 60881)
@@ -1,5 +1,11 @@
# Release notes for the `breqn` packages
+
+## v0.98l (2021/10/28)
+
+ * Prevent new LaTeX paragraph hooks from running and interfering unnecessarily with breqn internals (thanks Frank)
+
+
## v0.98k (2020/09/24)
* Update patch code for new 2e kernel (thanks Ulrike)
Modified: trunk/Master/texmf-dist/doc/latex/breqn/breqn.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/breqn/flexisym.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/breqn/mathstyle.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx 2021-10-28 19:45:22 UTC (rev 60881)
@@ -151,8 +151,8 @@
%
%
% \title{The \pkg{breqn} package}
-% \def\fileversion{0.98k}
-% \def\filedate{2020/09/24}
+% \def\fileversion{0.98l}
+% \def\filedate{2021/10/28}
% \date{\pkg{breqn} bundle: \filedate\space\fileversion}
% \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}}
%
@@ -1377,7 +1377,7 @@
% Declare package name and date.
% \begin{macrocode}
\RequirePackage{expl3}
-\ProvidesExplPackage{breqn}{2020/09/24}{0.98k}{Breaking equations}
+\ProvidesExplPackage{breqn}{2021/10/28}{0.98l}{Breaking equations}
% \end{macrocode}
% Regrettably, \pkg{breqn} is internally a mess, so we have to take
% some odd steps.
@@ -1458,6 +1458,30 @@
%
% \section{Some useful tools}
%
+%
+%
+% \begin{macro}{\MaybeRawNoindent}
+% Breqn does a lot of low-level paragraph stuff which iesn't
+% supposed to execute paragraph hooks, so with a newer \LaTeX{} it
+% needs to run the versions that prevent the hooks from executing.
+% \begin{macrocode}
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\IfFormatAtLeastTF{2021/06/01}
+ {%
+ \def\MaybeRawNoindent{\ifvmode\expandafter\RawNoindent\fi}%
+ }%
+ {%
+ \let\MaybeRawNoindent\noindent
+ \let\RawParEnd\@@par
+ }
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
% \begin{macro}{\@nx}
% \begin{macro}{\@xp}
% The comparative brevity of \cs{@nx} and \cs{@xp} is
@@ -3114,7 +3138,9 @@
\def\eq at typeset@L at single{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+% \noindent
+ \MaybeRawNoindent
\add at grp@label
\rlap{\kern-\leftskip\box\EQ at numbox}%
\if F\eq at frame
@@ -3121,12 +3147,16 @@
\else
\rlap{\raise\eq at firstht\hbox to\z@{\eq at addframe\hss}}%
\fi
- \eq at dump@box\unhbox\EQ at box \@@par
+ \eq at dump@box\unhbox\EQ at box
+ %\@@par
+ \RawParEnd
}
\def\eq at typeset@R at single{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+% \noindent
+ \MaybeRawNoindent
\add at grp@label
\if F\eq at frame
\else
@@ -3134,7 +3164,8 @@
\fi
\rlap{\kern-\leftskip\kern\linewidth\kern-\wd\EQ at numbox\copy\EQ at numbox}%
\eq at dump@box\unhbox\EQ at box
- \@@par
+ %\@@par
+ \RawParEnd
}
% \end{macrocode}
%
@@ -3535,7 +3566,9 @@
\def\eq at startup{%
\global\let\EQ at hasLHS\@False
\setbox\z@\vbox\bgroup
- \noindent \@@math \displaystyle
+% \noindent
+ \MaybeRawNoindent % no matching \RawParEnd (implicit at box end)
+ \@@math \displaystyle
\penalty-\@Mi
}
% \end{macrocode}
@@ -5332,7 +5365,9 @@
% \begin{macrocode}
\def\eq at dump@box#1#2{%
%\debug at box#1%
- \noindent #1#2\setbox\f at ur\lastbox \setbox\tw@\lastbox
+% \noindent
+ \MaybeRawNoindent % did not find the end yet
+ #1#2\setbox\f at ur\lastbox \setbox\tw@\lastbox
% \end{macrocode}
% If the LHS contains shrinkable glue, in an L layout the alignment
% could be thrown off if the first line is shrunk noticeably.
@@ -5609,9 +5644,13 @@
\def\eq at typeset@equation{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+% \noindent
+ \MaybeRawNoindent
\add at grp@label
- \eq at dump@box\unhbox\EQ at box\@@par
+ \eq at dump@box\unhbox\EQ at box
+% \@@par
+ \RawParEnd
}
% \end{macrocode}
%
@@ -6007,7 +6046,9 @@
% 10000, it means a sub and/or superscript is present on the right
% delimiter and the box containing them must be taken off first.
% \begin{macrocode}
- \noindent\unhbox\z@ \unskip
+% \noindent
+ \MaybeRawNoindent
+ \unhbox\z@ \unskip
\subsup at flag-\lastpenalty \unpenalty
\xdef\right at delim@code{\number\lastpenalty}%
\unpenalty
@@ -6029,7 +6070,9 @@
% this complication. The penalty value $-10001$ is a no-op case
% in the case statement of \cs{eq at repacka}.
% \begin{macrocode}
- \penalty-\@Mi\z at rule\@@par
+ \penalty-\@Mi\z at rule
+% \@@par
+ \RawParEnd
\setbox\z@\lastbox \unskip\unpenalty
%%{\showboxbreadth\maxdimen\showboxdepth99\showlists}%
}
Modified: trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx 2021-10-28 19:45:22 UTC (rev 60881)
@@ -79,8 +79,8 @@
% \fi
%
% \title{The \textsf{flexisym} package}
-% \def\fileversion{0.98k}
-% \def\filedate{2020/09/24}
+% \def\fileversion{0.98l}
+% \def\filedate{2021/10/28}
% \date{\filedate\space\fileversion}
% \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}}
%
@@ -98,7 +98,7 @@
% \begin{macrocode}
%<*package>
\RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{flexisym}{2020/09/24}{0.98k}{Make math characters macros}
+\ProvidesExplPackage{flexisym}{2021/10/28}{0.98l}{Make math characters macros}
\edef\do{%
\noexpand\AtEndOfPackage{%
Modified: trunk/Master/texmf-dist/source/latex/breqn/mathstyle.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/mathstyle.dtx 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/source/latex/breqn/mathstyle.dtx 2021-10-28 19:45:22 UTC (rev 60881)
@@ -58,8 +58,8 @@
% \fi
%
% \title{The \textsf{mathstyle} package}
-% \def\fileversion{0.98k}
-% \def\filedate{2020/09/24}
+% \def\fileversion{0.98l}
+% \def\filedate{2021/10/28}
% \date{\filedate\quad\fileversion}
% \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}}
%
@@ -152,7 +152,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\ProvidesExplPackage{mathstyle}{2020/09/24}{0.98k}{Tracking mathstyle implicitly}
+\ProvidesExplPackage{mathstyle}{2021/10/28}{0.98l}{Tracking mathstyle implicitly}
\ExplSyntaxOff
% \end{macrocode}
%
Modified: trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty 2021-10-28 19:45:22 UTC (rev 60881)
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\ProvidesExplPackage{breqn}{2020/09/24}{0.98k}{Breaking equations}
+\ProvidesExplPackage{breqn}{2021/10/28}{0.98l}{Breaking equations}
\ExplSyntaxOff
\edef\breqnpopcats{%
\catcode\number`\"=\number\catcode`\"
@@ -55,6 +55,15 @@
}
\RequirePackage{keyval,calc}\relax
\newcommand{\breqnsetup}[1]{\setkeys{breqn}{#1}}
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\IfFormatAtLeastTF{2021/06/01}
+ {%
+ \def\MaybeRawNoindent{\ifvmode\expandafter\RawNoindent\fi}%
+ }%
+ {%
+ \let\MaybeRawNoindent\noindent
+ \let\RawParEnd\@@par
+ }
\let\@nx\noexpand
\let\@xp\expandafter
\@ifundefined{@emptytoks}{\newtoks\@emptytoks}{}
@@ -545,7 +554,8 @@
\def\eq at typeset@L at single{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+ \MaybeRawNoindent
\add at grp@label
\rlap{\kern-\leftskip\box\EQ at numbox}%
\if F\eq at frame
@@ -552,12 +562,15 @@
\else
\rlap{\raise\eq at firstht\hbox to\z@{\eq at addframe\hss}}%
\fi
- \eq at dump@box\unhbox\EQ at box \@@par
+ \eq at dump@box\unhbox\EQ at box
+ %\@@par
+ \RawParEnd
}
\def\eq at typeset@R at single{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+ \MaybeRawNoindent
\add at grp@label
\if F\eq at frame
\else
@@ -565,7 +578,8 @@
\fi
\rlap{\kern-\leftskip\kern\linewidth\kern-\wd\EQ at numbox\copy\EQ at numbox}%
\eq at dump@box\unhbox\EQ at box
- \@@par
+ %\@@par
+ \RawParEnd
}
\def\peek at branch#1#2{%
\let\peek at b#1\let\peek at space#2\futurelet\@let at token\peek at a
@@ -709,7 +723,8 @@
\def\eq at startup{%
\global\let\EQ at hasLHS\@False
\setbox\z@\vbox\bgroup
- \noindent \@@math \displaystyle
+ \MaybeRawNoindent % no matching \RawParEnd (implicit at box end)
+ \@@math \displaystyle
\penalty-\@Mi
}
\def\eq at setup@a{%
@@ -1274,7 +1289,8 @@
\tolerance9999 \pretolerance\m at ne
}
\def\eq at dump@box#1#2{%
- \noindent #1#2\setbox\f at ur\lastbox \setbox\tw@\lastbox
+ \MaybeRawNoindent % did not find the end yet
+ #1#2\setbox\f at ur\lastbox \setbox\tw@\lastbox
\if L\eq at layout \box\tw@ \else\unhbox\tw@\fi
\adjust at rel@penalty \unhbox\f at ur
}
@@ -1451,9 +1467,11 @@
\def\eq at typeset@equation{%
\nobreak
\eq at params\eq at parshape
- \nointerlineskip\noindent
+ \nointerlineskip
+ \MaybeRawNoindent
\add at grp@label
- \eq at dump@box\unhbox\EQ at box\@@par
+ \eq at dump@box\unhbox\EQ at box
+ \RawParEnd
}
\newcommand\eqframe[2]{%
\begingroup
@@ -1617,7 +1635,8 @@
}
\def\eq at lrunpack{\setbox\z@\lastbox
\unskip \nointerlineskip
- \noindent\unhbox\z@ \unskip
+ \MaybeRawNoindent
+ \unhbox\z@ \unskip
\subsup at flag-\lastpenalty \unpenalty
\xdef\right at delim@code{\number\lastpenalty}%
\unpenalty
@@ -1630,7 +1649,8 @@
\ifvoid\tw@ \unhbox\z@
\else \lrss at reattach % uses \subsup at flag, box\z@, box\tw@
\fi
- \penalty-\@Mi\z at rule\@@par
+ \penalty-\@Mi\z at rule
+ \RawParEnd
\setbox\z@\lastbox \unskip\unpenalty
%%{\showboxbreadth\maxdimen\showboxdepth99\showlists}%
}
Modified: trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty 2021-10-28 19:45:22 UTC (rev 60881)
@@ -31,7 +31,7 @@
%% flexisym.dtx, and mathstyle.dtx.
%%
\RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{flexisym}{2020/09/24}{0.98k}{Make math characters macros}
+\ProvidesExplPackage{flexisym}{2021/10/28}{0.98l}{Make math characters macros}
\edef\do{%
\noexpand\AtEndOfPackage{%
Modified: trunk/Master/texmf-dist/tex/latex/breqn/mathstyle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/mathstyle.sty 2021-10-28 19:45:07 UTC (rev 60880)
+++ trunk/Master/texmf-dist/tex/latex/breqn/mathstyle.sty 2021-10-28 19:45:22 UTC (rev 60881)
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\ProvidesExplPackage{mathstyle}{2020/09/24}{0.98k}{Tracking mathstyle implicitly}
+\ProvidesExplPackage{mathstyle}{2021/10/28}{0.98l}{Tracking mathstyle implicitly}
\ExplSyntaxOff
\providecommand\@saveprimitive[2]{%
\begingroup
More information about the tex-live-commits
mailing list.