texlive[53814] Master/texmf-dist: breqn (16feb20)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 16 23:09:25 CET 2020


Revision: 53814
          http://tug.org/svn/texlive?view=revision&revision=53814
Author:   karl
Date:     2020-02-16 23:09:25 +0100 (Sun, 16 Feb 2020)
Log Message:
-----------
breqn (16feb20)

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	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md	2020-02-16 22:09:25 UTC (rev 53814)
@@ -1,5 +1,14 @@
 # Release notes for the `breqn` packages
 
+## v0.98h (2020/02/16)
+
+  * No longer redefine LaTeX2e's `\\@ifstar` command, use a custom prefix instead.
+    This fixes a bizarre conflict with a combination of the `thm-restate` and `cleveref` packages.
+  * Use a prefix for `\\@optarg`, similar chance of potential conflict.
+  * Fix bug in `\\genfrac`.
+  * Allow `mathtools` to be loaded after `breqn` (by preloading `graphicx` always).
+
+
 ## v0.98g (2019/10/15)
 
   * Fix for robustness change in LaTeX 2019.

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	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx	2020-02-16 22:09:25 UTC (rev 53814)
@@ -3,7 +3,7 @@
 % Copyright (C) 1997-2003 by Michael J. Downes
 % Copyright (C) 2007-2008 by Morten Hoegholm
 % Copyright (C) 2007-2014 by Lars Madsen
-% Copyright (C) 2007-2014 by Will Robertson
+% Copyright (C) 2007-2020 by Will Robertson
 % Copyright (C) 2010-2017 by Joseph Wright
 %
 % This work may be distributed and/or modified under the
@@ -57,9 +57,6 @@
 
 \usepackage{geometry}
 
-\AtBeginDocument{\addtocontents{toc}{\protect\begin{multicols}{2}}}
-\AtEndDocument{\addtocontents{toc}{\protect\end{multicols}}}
-
 \def\partname{Part}
 
 \definecolor{hilite}{rgb}{0.2,0.4,0.7}
@@ -153,8 +150,8 @@
 %
 %
 % \title{The \pkg{breqn} package}
-% \def\fileversion{0.98g}
-% \def\filedate{2019/10/15}
+% \def\fileversion{0.98h}
+% \def\filedate{2020/02/16}
 % \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}}
 %
@@ -399,12 +396,12 @@
 % \env{dmath} or \env{dgroup} environments, and some of them require an
 % argument, which is something that cannot be done through the normal
 % package option mechanism. Therefore most of the \pkg{breqn} package
-% options are designed to be set with a \cs{setkeys} command after the
+% options are designed to be set with the \cs{breqnsetup} command after the
 % package is loaded. For example, to load the package and set the
 % maximum delimiter nesting depth for line breaks to~1:
 % \begin{verbatim}
 % \usepackage{breqn}
-% \setkeys{breqn}{breakdepth={1}}
+% \breqnsetup{breakdepth={1}}
 % \end{verbatim}
 %
 % See the discussion of environment options, Section~\vref{envopts}, for
@@ -1384,7 +1381,7 @@
 % Declare package name and date.
 %    \begin{macrocode}
 \RequirePackage{expl3}
-\ProvidesExplPackage{breqn}{2019/10/15}{0.98g}{Breaking equations}
+\ProvidesExplPackage{breqn}{2020/02/16}{0.98h}{Breaking equations}
 %    \end{macrocode}
 %   Regrettably, \pkg{breqn} is internally a mess, so we have to take
 %   some odd steps.
@@ -1395,10 +1392,6 @@
 %
 % \section{Package options}
 %
-% Most options are set with the \cs{options} command (which
-% calls \cs{setkeys}) because the standard package option
-% mechanism doesn't provide support for key-value syntax.
-%
 % First we need to get the catcodes sorted out.
 %    \begin{macrocode}
 \edef\breqnpopcats{%
@@ -1419,6 +1412,19 @@
 %
 %
 % \section{Required packages}
+%
+% Although breqn can be loaded without amsmath, there's not much point, and explicitly
+% loading amsmath here prevents loading-order issues later.
+%    \begin{macrocode}
+\RequirePackage{amsmath}
+%    \end{macrocode}
+%
+% Similarly, if graphicx is loaded atbegindocument there is a catcode clash, so load it here too.
+% (see test file 00-clash-1.lvt)
+%    \begin{macrocode}
+\RequirePackage{graphicx}
+%    \end{macrocode}
+%
 % The \pkg{flexisym} package makes it possible to attach
 % extra actions to math symbols, in particular mathbin, mathrel, mathopen,
 % and mathclose symbols.
@@ -1445,70 +1451,15 @@
 %    \end{macrocode}
 %
 %
-% And add an \cs{options} cmd for processing package
-% options that require an argument.    Maybe this will get added to
-% the \pkg{keyval} package eventually.
+% \begin{macro}{\breqnsetup}
 %    \begin{macrocode}
-\@ifundefined{options}{%
+\newcommand{\breqnsetup}[1]{\setkeys{breqn}{#1}}
 %    \end{macrocode}
-%
-%
-% \begin{macro}{\options}
-% Get the package options and run setkeys on them.
-%    \begin{macrocode}
-\newcommand{\options}[2]{%
-  \expandafter\options at a\csname opt@#1.sty\endcsname{#2}%
-  \setkeys{#1}{#2}%
-}
-%    \end{macrocode}
 % \end{macro}
 %
 %
-% \begin{macro}{\options at a}
-% \begin{macro}{\options at b}
-% \begin{macro}{\options at c}
-% \begin{macro}{\options at d}
-% Redefine \cs{opt at pkgname.sty} as we go along to take out
-% the options that are handled and leave the ones that are not.
-%    \begin{macrocode}
-\def\options at a#1#2{%
-  \edef\@tempa{\options at b#2,\@empty\@nil}%
-  \ifx#1\relax \let#1\@empty\fi
-  \xdef#1{#1\ifx#1\@empty\@xp\@gobble\@tempa\@empty\else\@tempa \fi}%
-}
-%    \end{macrocode}
-% Add the next option, and recurse if there remain more
-% options.
-%    \begin{macrocode}
-\def\options at b#1,#2#3\@nil{%
-  \options at c#1 \@nil
-  \ifx#2\@empty \else\options at b#2#3\@nil\fi
-}
-%    \end{macrocode}
-% Discard everything after the first space.
-%    \begin{macrocode}
-\def\options at c#1 #2\@nil{\options at d#1=\@nil}
-%    \end{macrocode}
-% Discard everything after the first = sign; add a comma only if the
-% remainder is not empty.
-%    \begin{macrocode}
-\def\options at d#1=#2\@nil{\ifx\@empty #1\@empty\else,\fi#1}
-%    \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
 %
 %
-%
-% The tail of the \cs{@ifundefined} test.
-%    \begin{macrocode}
-}{}% end @ifundefined test
-%    \end{macrocode}
-%
-%
-%
-%
 % \section{Some useful tools}
 %
 % \begin{macro}{\@nx}
@@ -1674,7 +1625,7 @@
 % \end{macro}
 %
 %
-% \begin{macro}{\@ifstar}
+% \begin{macro}{\breqn at ifstar}
 % Similarly let's remove space-skipping from \cs{@ifstar}
 % because in some rare case of \dbslash  inside an equation, followed by
 % a space and a \verb"*" where the \verb"*" is intended as the math
@@ -1687,7 +1638,7 @@
 % written as \dbslash  \verb"*" by any one who really wants the
 % \verb"*" to act as a modifier for the \dbslash  command.
 %    \begin{macrocode}
-\def\@ifstar#1#2{%
+\def\breqn at ifstar#1#2{%
   \let\@tempd*\def\@tempa*{#1}\def\@tempb{#2}%
   \futurelet\@tempc\@ifnexta
 }
@@ -1695,11 +1646,11 @@
 % \end{macro}
 %
 %
-% \begin{macro}{\@optarg}
+% \begin{macro}{\breqn at optarg}
 % Utility function for reading an optional arg
 % \emph{without} skipping over any intervening spaces.
 %    \begin{macrocode}
-\def\@optarg#1#2{\@ifnext[{#1}{#1[#2]}}
+\def\breqn at optarg#1#2{\@ifnext[{#1}{#1[#2]}}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -2641,7 +2592,7 @@
 % \end{literalcode}
 % WSPR: added the option for a label prefix, designed to be used in the preamble like so:
 % \begin{literalcode}
-% \setkeys{breqn}{labelprefix={eq:}}
+% \breqnsetup{labelprefix={eq:}}
 % \end{literalcode}
 %    \begin{macrocode}
 \define at key{breqn}{label}{%
@@ -2905,7 +2856,7 @@
 %    \begin{macrocode}
 \newenvironment{dmath}{%
  \@dmath at start@hook
- \let\eq at hasNumber\@True \@optarg\@dmath{}}{}
+ \let\eq at hasNumber\@True \breqn at optarg\@dmath{}}{}
 \def\@dmath[#1]{%
 %<trace>  \breqn at debugmsg{=== DMATH ==================================================}%
   \everydisplay\expandafter{\the\everydisplay \display at setup}%
@@ -2966,7 +2917,7 @@
 %    \begin{macrocode}
 \newenvironment{dmath*}{%
   \@dmath at start@hook
-  \let\eq at hasNumber\@False \@optarg\@dmath{}%
+  \let\eq at hasNumber\@False \breqn at optarg\@dmath{}%
 }{}
 \@namedef{end at dmath*}{\end at dmath}
 \@namedef{enddmath*}#1{\check at punct@or at qed}
@@ -3409,7 +3360,21 @@
 % doesn't help end users much; it works better to use it during package
 % testing by the maintainer.
 %
+% Note to self: I always forget how this redefinition works. Here's a summary.
+% The approach is:
+% \begin{verbatim}
+% \def\enddmath#1{\check at punct@or at qed}
+% \end{verbatim}
+% When hitting the end of the dmath environment we then have:
+% \begin{verbatim}
+% \csname end#1\endcsname \latex at end{#1}
+% \enddmath \latex at end{dmath}
+% \check at punct@or at qed {dmath}  % <- \enddmath absorbs one arg
+% \xdef\found at punct{\@empty}\def\finish at end{\csname end at dmath\endcsname\latex at end{dmath}}\check at punct
+% \end{verbatim}
+% At which point \verb|\check at punct| is `past' the end of the environment and can look ahead.
 %
+%
 % If a particular environment needs to call a different end action, the
 % end command of the environment should be defined to gobble two args and
 % then call a function like \cs{check at punct@or at qed}.
@@ -3791,7 +3756,7 @@
 % \subsection{Capturing the equation}
 %
 % BRM: There's a problem here (or with \cs{ss at scan}).  If the LHS has
-% \cs{left} \cs{right} pairs, \ss at scan gets involved.  It seems to produce
+% \cs{left} \cs{right} pairs, \cs{ss at scan} gets involved.  It seems to produce
 % a separate box marked w/\cs{penalty} 3.  But it appears that \cs{eq at repack}
 % is only expecting a single box for the LHS; when it measures that
 % box it's missing the (typically larger) bracketted section,
@@ -4066,7 +4031,7 @@
 % break.
 %    \begin{macrocode}
 \def\eq at newline{%
-  \@ifstar{\eq at newlinea\@M}{\eq at newlinea\eqinterlinepenalty}}
+  \breqn at ifstar{\eq at newlinea\@M}{\eq at newlinea\eqinterlinepenalty}}
 \def\eq at newlinea#1{%
   \@ifnext[{\eq at newlineb{#1}}{\eq at newlineb{#1}[\maxdimen]}}
 \def\eq at newlineb#1[#2]{\penalty-\@M}
@@ -6254,13 +6219,13 @@
 % series don't all fit in a single line, they are continued onto extra
 % lines in a ragged-center format.
 %    \begin{macrocode}
-\newenvironment{dseries}{\let\eq at hasNumber\@True \@optarg\@dseries{}}{}%
+\newenvironment{dseries}{\let\eq at hasNumber\@True \breqn at optarg\@dseries{}}{}%
 \def\enddseries#1{\check at punct@or at qed}%
 %    \end{macrocode}
 %
 % And the unnumbered version of same.
 %    \begin{macrocode}
-\newenvironment{dseries*}{\let\eq at hasNumber\@False \@optarg\@dseries{}}{}%
+\newenvironment{dseries*}{\let\eq at hasNumber\@False \breqn at optarg\@dseries{}}{}%
 \@namedef{enddseries*}#1{\check at punct@or at qed}%
 \@namedef{end at dseries*}{\end at dseries}%
 \def\@dseries[#1]{%
@@ -6459,7 +6424,7 @@
 %    \begin{macrocode}
 \newenvironment{dgroup}{%
   \@dgroup at start@hook
-  \let\grp at hasNumber\@True\@optarg\@dgroup{}%
+  \let\grp at hasNumber\@True\breqn at optarg\@dgroup{}%
 }{%
   \end at dgroup
 }
@@ -6468,7 +6433,7 @@
 %    \begin{macrocode}
 \newtoks\GRP at queue
 \newenvironment{dgroup*}{%
-  \let\grp at hasNumber\@False\@optarg\@dgroup{}%
+  \let\grp at hasNumber\@False\breqn at optarg\@dgroup{}%
 }{%
   \end at dgroup
 }
@@ -6835,7 +6800,7 @@
 %</trace>
   \unhbox\z@
 }
-\newenvironment{darray}{\@optarg\@darray{}}{}
+\newenvironment{darray}{\breqn at optarg\@darray{}}{}
 \def\@darray[#1]{%
 %<trace>  \breqn at debugmsg{=== DARRAY ==================================================}%
   \if\eq at group\else\eq at prelim\fi
@@ -6915,7 +6880,7 @@
 %    \begin{macrocode}
 \newcommand\condition{%
   \begingroup\@tempswatrue
-    \@ifstar{\@tempswafalse \condition at a}{\condition at a}}
+    \breqn at ifstar{\@tempswafalse \condition at a}{\condition at a}}
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\condition at a}

Modified: trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/source/latex/breqn/flexisym.dtx	2020-02-16 22:09:25 UTC (rev 53814)
@@ -78,8 +78,8 @@
 % \fi
 %
 % \title{The \textsf{flexisym} package}
-% \def\fileversion{0.98g}
-% \def\filedate{2019/10/15}
+% \def\fileversion{0.98h}
+% \def\filedate{2020/02/16}
 % \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}}
 %
@@ -97,7 +97,7 @@
 %    \begin{macrocode}
 %<*package>
 \RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{flexisym}{2019/10/15}{0.98g}{Make math characters macros}
+\ProvidesExplPackage{flexisym}{2020/02/16}{0.98h}{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	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/source/latex/breqn/mathstyle.dtx	2020-02-16 22:09:25 UTC (rev 53814)
@@ -57,8 +57,8 @@
 % \fi
 %
 % \title{The \textsf{mathstyle} package}
-% \def\fileversion{0.98g}
-% \def\filedate{2019/10/15}
+% \def\fileversion{0.98h}
+% \def\filedate{2020/02/16}
 % \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}}
 %
@@ -151,7 +151,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\ProvidesExplPackage{mathstyle}{2019/10/15}{0.98g}{Tracking mathstyle implicitly}
+\ProvidesExplPackage{mathstyle}{2020/02/16}{0.98h}{Tracking mathstyle implicitly}
 \ExplSyntaxOff
 %    \end{macrocode}
 %
@@ -345,7 +345,7 @@
   {#1\fracstyle
     {\begingroup #5\endgroup
       \csname @@\ifx\maxdimen#4\maxdimen over\else above\fi
-        \if @#2@\else withdelims\fi\endcsname #2#3#4\relax
+        \if @#2@\else withdelims\fi\endcsname #2#3\relax
      #6}%
   }%
 }

Modified: trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty	2020-02-16 22:09:25 UTC (rev 53814)
@@ -31,7 +31,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\ProvidesExplPackage{breqn}{2019/10/15}{0.98g}{Breaking equations}
+\ProvidesExplPackage{breqn}{2020/02/16}{0.98h}{Breaking equations}
 \ExplSyntaxOff
 \edef\breqnpopcats{%
   \catcode\number`\"=\number\catcode`\"
@@ -42,6 +42,8 @@
   \PassOptionsToPackage{mathstyleoff}{flexisym}%
 }
 \ProcessOptions\relax
+\RequirePackage{amsmath}
+\RequirePackage{graphicx}
 \@ifpackageloaded{flexisym}{}{%
   \RequirePackage{flexisym}[2009/08/07]
     \edef\breqnpopcats{\breqnpopcats
@@ -51,23 +53,7 @@
   \catcode`\^=7 \catcode`\_=8 \catcode`\"=12 \relax
 }
 \RequirePackage{keyval,calc}\relax
-\@ifundefined{options}{%
-\newcommand{\options}[2]{%
-  \expandafter\options at a\csname opt@#1.sty\endcsname{#2}%
-  \setkeys{#1}{#2}%
-}
-\def\options at a#1#2{%
-  \edef\@tempa{\options at b#2,\@empty\@nil}%
-  \ifx#1\relax \let#1\@empty\fi
-  \xdef#1{#1\ifx#1\@empty\@xp\@gobble\@tempa\@empty\else\@tempa \fi}%
-}
-\def\options at b#1,#2#3\@nil{%
-  \options at c#1 \@nil
-  \ifx#2\@empty \else\options at b#2#3\@nil\fi
-}
-\def\options at c#1 #2\@nil{\options at d#1=\@nil}
-\def\options at d#1=#2\@nil{\ifx\@empty #1\@empty\else,\fi#1}
-}{}% end @ifundefined test
+\newcommand{\breqnsetup}[1]{\setkeys{breqn}{#1}}
 \let\@nx\noexpand
 \let\@xp\expandafter
 \@ifundefined{@emptytoks}{\newtoks\@emptytoks}{}
@@ -98,11 +84,11 @@
   \futurelet\@tempc\@ifnexta
 }
 \def\@ifnexta{\ifx\@tempc\@tempd \let\@tempb\@tempa \fi \@tempb}
-\def\@ifstar#1#2{%
+\def\breqn at ifstar#1#2{%
   \let\@tempd*\def\@tempa*{#1}\def\@tempb{#2}%
   \futurelet\@tempc\@ifnexta
 }
-\def\@optarg#1#2{\@ifnext[{#1}{#1[#2]}}
+\def\breqn at optarg#1#2{\@ifnext[{#1}{#1[#2]}}
 \def\@True{00}
 \def\@False{01}
 \def\@Not#1{0\ifcase#11 \or\@xp 1\else \@xp 0\fi}
@@ -447,7 +433,7 @@
 \let\@dgroup at start@hook\@empty
 \newenvironment{dmath}{%
  \@dmath at start@hook
- \let\eq at hasNumber\@True \@optarg\@dmath{}}{}
+ \let\eq at hasNumber\@True \breqn at optarg\@dmath{}}{}
 \def\@dmath[#1]{%
   \everydisplay\expandafter{\the\everydisplay \display at setup}%
   \if at noskipsec \leavevmode \fi
@@ -473,7 +459,7 @@
 }
 \newenvironment{dmath*}{%
   \@dmath at start@hook
-  \let\eq at hasNumber\@False \@optarg\@dmath{}%
+  \let\eq at hasNumber\@False \breqn at optarg\@dmath{}%
 }{}
 \@namedef{end at dmath*}{\end at dmath}
 \@namedef{enddmath*}#1{\check at punct@or at qed}
@@ -863,7 +849,7 @@
   \EQ at displayinfo
 }
 \def\eq at newline{%
-  \@ifstar{\eq at newlinea\@M}{\eq at newlinea\eqinterlinepenalty}}
+  \breqn at ifstar{\eq at newlinea\@M}{\eq at newlinea\eqinterlinepenalty}}
 \def\eq at newlinea#1{%
   \@ifnext[{\eq at newlineb{#1}}{\eq at newlineb{#1}[\maxdimen]}}
 \def\eq at newlineb#1[#2]{\penalty-\@M}
@@ -1715,9 +1701,9 @@
 \DeclareTwang{\rangle}{-.4}
 \DeclareTwang{)}{-.33}
 \DeclareTwang{\rbrace}{-.25}
-\newenvironment{dseries}{\let\eq at hasNumber\@True \@optarg\@dseries{}}{}%
+\newenvironment{dseries}{\let\eq at hasNumber\@True \breqn at optarg\@dseries{}}{}%
 \def\enddseries#1{\check at punct@or at qed}%
-\newenvironment{dseries*}{\let\eq at hasNumber\@False \@optarg\@dseries{}}{}%
+\newenvironment{dseries*}{\let\eq at hasNumber\@False \breqn at optarg\@dseries{}}{}%
 \@namedef{enddseries*}#1{\check at punct@or at qed}%
 \@namedef{end at dseries*}{\end at dseries}%
 \def\@dseries[#1]{%
@@ -1764,13 +1750,13 @@
 \let\grp at aligned\@True
 \newenvironment{dgroup}{%
   \@dgroup at start@hook
-  \let\grp at hasNumber\@True\@optarg\@dgroup{}%
+  \let\grp at hasNumber\@True\breqn at optarg\@dgroup{}%
 }{%
   \end at dgroup
 }
 \newtoks\GRP at queue
 \newenvironment{dgroup*}{%
-  \let\grp at hasNumber\@False\@optarg\@dgroup{}%
+  \let\grp at hasNumber\@False\breqn at optarg\@dgroup{}%
 }{%
   \end at dgroup
 }
@@ -1952,7 +1938,7 @@
 \def\col at box{%
   \unhbox\z@
 }
-\newenvironment{darray}{\@optarg\@darray{}}{}
+\newenvironment{darray}{\breqn at optarg\@darray{}}{}
 \def\@darray[#1]{%
   \if\eq at group\else\eq at prelim\fi
   \global\let\@preamble\@empty
@@ -1995,7 +1981,7 @@
 \newcommand{\conditionpunct}{,}
 \newcommand\condition{%
   \begingroup\@tempswatrue
-    \@ifstar{\@tempswafalse \condition at a}{\condition at a}}
+    \breqn at ifstar{\@tempswafalse \condition at a}{\condition at a}}
 \newcommand\condition at a[2][\conditionpunct]{%
   \unpenalty\unskip\unpenalty\unskip % BRM Added
   \hbox{#1}%

Modified: trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/tex/latex/breqn/flexisym.sty	2020-02-16 22:09:25 UTC (rev 53814)
@@ -30,7 +30,7 @@
 %% flexisym.dtx, and mathstyle.dtx.
 %% 
 \RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{flexisym}{2019/10/15}{0.98g}{Make math characters macros}
+\ProvidesExplPackage{flexisym}{2020/02/16}{0.98h}{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	2020-02-16 22:09:12 UTC (rev 53813)
+++ trunk/Master/texmf-dist/tex/latex/breqn/mathstyle.sty	2020-02-16 22:09:25 UTC (rev 53814)
@@ -31,7 +31,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\ProvidesExplPackage{mathstyle}{2019/10/15}{0.98g}{Tracking mathstyle implicitly}
+\ProvidesExplPackage{mathstyle}{2020/02/16}{0.98h}{Tracking mathstyle implicitly}
 \ExplSyntaxOff
 \providecommand\@saveprimitive[2]{%
   \begingroup
@@ -146,7 +146,7 @@
   {#1\fracstyle
     {\begingroup #5\endgroup
       \csname @@\ifx\maxdimen#4\maxdimen over\else above\fi
-        \if @#2@\else withdelims\fi\endcsname #2#3#4\relax
+        \if @#2@\else withdelims\fi\endcsname #2#3\relax
      #6}%
   }%
 }



More information about the tex-live-commits mailing list.