summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-16 21:37:43 +0000
committerKarl Berry <karl@freefriends.org>2018-09-16 21:37:43 +0000
commit89621c1ee7abdb0d7e8e8fa92d4f582093fb7dac (patch)
tree0bfc68e9e9177ec46240aca5e3ba705d0d749585 /Master/texmf-dist/tex/latex
parentf70d5160a9d0bb9f9211b6653a51bc864d3afaea (diff)
breqn (16sep18)
git-svn-id: svn://tug.org/texlive/trunk@48679 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/breqn/breqn.sty21
1 files changed, 17 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/breqn/breqn.sty b/Master/texmf-dist/tex/latex/breqn/breqn.sty
index 075b653229d..93b49aa70b8 100644
--- a/Master/texmf-dist/tex/latex/breqn/breqn.sty
+++ b/Master/texmf-dist/tex/latex/breqn/breqn.sty
@@ -11,7 +11,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-2017 by Will Robertson
+%% Copyright (C) 2007-2018 by Will Robertson
%% Copyright (C) 2010-2017 by Joseph Wright
%%
%% This work may be distributed and/or modified under the
@@ -31,8 +31,8 @@
%% breqn.sty, breqn.pdf, breqn.ins.
%%
\NeedsTeXFormat{LaTeX2e}
-\RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{breqn}{2017/01/27}{0.98e}{Breaking equations}
+\RequirePackage{expl3}
+\ProvidesExplPackage{breqn}{2018/09/14}{0.98f}{Breaking equations}
\ExplSyntaxOff
\edef\breqnpopcats{%
\catcode\number`\"=\number\catcode`\"
@@ -444,7 +444,10 @@
\define@key{breqn}{cols}{\global\let\@preamble\@empty
\darray@mkpream#1\@percentchar
}
+\let\@dmath@start@hook\@empty
+\let\@dgroup@start@hook\@empty
\newenvironment{dmath}{%
+ \@dmath@start@hook
\let\eq@hasNumber\@True \@optarg\@dmath{}}{}
\def\@dmath[#1]{%
\everydisplay\expandafter{\the\everydisplay \display@setup}%
@@ -458,7 +461,9 @@
\eq@setup@a
\eq@startup
}
-\def\enddmath#1{\check@punct@or@qed}
+\def\enddmath#1{%
+ \check@punct@or@qed
+}
\def\end@dmath{%
\gdef\EQ@setwdL{}% Occasionally undefined ???
\eq@capture
@@ -468,6 +473,7 @@
\if\eq@group \grp@push \else \eq@finish\fi
}
\newenvironment{dmath*}{%
+ \@dmath@start@hook
\let\eq@hasNumber\@False \@optarg\@dmath{}%
}{}
\@namedef{end@dmath*}{\end@dmath}
@@ -1751,6 +1757,7 @@
\let\grp@eqs@numbered\@False
\let\grp@aligned\@True
\newenvironment{dgroup}{%
+ \@dgroup@start@hook
\let\grp@hasNumber\@True\@optarg\@dgroup{}%
}{%
\end@dgroup
@@ -2035,6 +2042,12 @@
\def\nref#1{\@xp\@nref\csname r@#1\endcsname}
\def\@nref#1#2{\ifx\relax#1??\else \@xp\@firstoftwo#1\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtBeginDocument{%
+ \@ifpackageloaded{lineno}{%
+ \g@addto@macro\@dmath@start@hook{\nolinenumbers}%
+ \g@addto@macro\@dgroup@start@hook{\nolinenumbers}%
+ }{}%
+}
\endinput
%%