summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mh/breqn.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-08-05 13:55:31 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-08-05 13:55:31 +0000
commitbf687e7363bb107761d39bf2425633982bc38249 (patch)
tree29decc2637e1c73196a5ebc741eca80fc5652152 /Master/texmf-dist/tex/latex/mh/breqn.sty
parenta3f5e7ad4cf0d3909e8b2be53bc49bc33c6dee82 (diff)
mh update (from tds.zip, rm old useless info in ctan2tds)
git-svn-id: svn://tug.org/texlive/trunk@10100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mh/breqn.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mh/breqn.sty29
1 files changed, 12 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/mh/breqn.sty b/Master/texmf-dist/tex/latex/mh/breqn.sty
index fd4893e5734..162e11dfebe 100644
--- a/Master/texmf-dist/tex/latex/mh/breqn.sty
+++ b/Master/texmf-dist/tex/latex/mh/breqn.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Copyright (C) 1997-2003 by Michael J. Downes
-%% Copyright (C) 2007 by Morten Hoegholm <mh.ctan@gmail.com>
+%% Copyright (C) 2007-2008 by Morten Hoegholm <mh.ctan@gmail.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -28,7 +28,7 @@
%% breqn.sty, breqn.pdf, breqn.ins, breqn.drv.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{breqn}[2007/12/22 v0.97a]
+\ProvidesPackage{breqn}[2008/07/28 v0.98]
\edef\breqnpopcats{%
\catcode\number`\"=\number\catcode`\"
\relax}
@@ -357,8 +357,12 @@
\@xp\newif\csname if@display\endcsname
\everydisplay\@xp{\the\everydisplay \@displaytrue}%
}{}
-\define@key{breqn}{label}{\def\next@label{\label{#1}}}
+\define@key{breqn}{label}{%
+ \edef\next@label{\noexpand\label{\next@label@pre#1}}%
+ \let\next@label@pre\@empty}
+\define@key{breqn}{labelprefix}{\def\next@label@pre{#1}}
\global\let\next@label\@empty
+\global\let\next@label@pre\@empty
\define@key{breqn}{number}{\def\eq@number{#1}%
\let\@currentlabel\eq@number
}
@@ -608,6 +612,7 @@
\def\end#1{\csname end#1\endcsname \latex@end{#1}}%
\def\check@punct@or@qed#1{%
\xdef\found@punct{\@empty}% BRM: punctuation was being remembered past this eqn.
+ % WSPR: err, why isn't that just \global\let\found@punct\@empty ?
\def\finish@end{\csname end@#1\endcsname\latex@end{#1}}%
\check@punct
}
@@ -1923,27 +1928,17 @@
}
\newskip\conditionsep \conditionsep=10pt minus5pt%
\newcommand{\conditionpunct}{,}
-\let\cond@gobble\@firstofone
\newcommand\condition{%
\begingroup\@tempswatrue
- \@ifstar{\@tempswafalse \condition@a}\condition@a
-}
+ \@ifstar{\@tempswafalse \condition@a}{\condition@a}}
\newcommand\condition@a[2][\conditionpunct]{%
\unpenalty\unskip\unpenalty\unskip % BRM Added
\hbox{#1}%
\penalty -201\relax\hbox{}% Penalty to allow breaks here.
\hskip\conditionsep
- \if@tempswa \@xp\hbox \else \@xp\condition@b\fi
- {#2}%
- \endgroup
- \setbox\z@\if@tempswa\hbox{#2}\else\hbox{\textmath@setup #2}\fi
- \global\eq@wdCond\wd\z@
- \let\cond@gobble\@gobble
-}
-\newcommand\condition@b[1]{%
- \cond@gobble{\hskip\conditionsep}%
- \textmath@setup #1%
-}
+ \setbox\z@\if@tempswa\hbox{#2}\else\hbox{$\textmath@setup #2$}\fi
+ \usebox\z@
+ \endgroup}
\newenvironment{XXXXdsuspend}{%
\global\setbox\EQ@box\vbox\bgroup \@parboxrestore
\parshape 1 \displayindent \displaywidth\relax