diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-15 00:04:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-15 00:04:52 +0000 |
commit | e1a949a7d56eb280cbe2e19a7e31ae46a1bf56ae (patch) | |
tree | 4e2de0e0445420ffd7f1770428a07d6dd6d171f2 /Master/texmf-dist/tex/latex/mh | |
parent | 6ba7686ac1ae4d912d3f2ebfa29068fb493f4f7d (diff) |
mh update (14aug08)
git-svn-id: svn://tug.org/texlive/trunk@10352 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mh')
-rw-r--r-- | Master/texmf-dist/tex/latex/mh/breqn.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mh/mathstyle.sty | 13 |
2 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/mh/breqn.sty b/Master/texmf-dist/tex/latex/mh/breqn.sty index 162e11dfebe..77b761ad0db 100644 --- a/Master/texmf-dist/tex/latex/mh/breqn.sty +++ b/Master/texmf-dist/tex/latex/mh/breqn.sty @@ -28,7 +28,7 @@ %% breqn.sty, breqn.pdf, breqn.ins, breqn.drv. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{breqn}[2008/07/28 v0.98] +\ProvidesPackage{breqn}[2008/08/13 v0.98a] \edef\breqnpopcats{% \catcode\number`\"=\number\catcode`\" \relax} @@ -1551,12 +1551,17 @@ \endgroup \subsup@flag\@M \afterassignment\ss@scan@a \let\@let@token=} \def\ss@scan@a{% + \let\breqn@next\ss@scan@b \ifx\@let@token\sb \advance\subsup@flag\@ne\else + \ifx\@let@token\@@subscript \advance\subsup@flag\@ne\else + \ifx\@let@token\@@subscript@other \advance\subsup@flag\@ne\else \ifx\@let@token\sp \advance\subsup@flag\tw@\else + \ifx\@let@token\@@superscript \advance\subsup@flag\tw@\else + \ifx\@let@token\@@superscript@other \advance\subsup@flag\tw@\else \ss@finish - \expandafter\@firstoftwo % gobble \ss@scan@b - \fi\fi - \ss@scan@b\@let@token + \let\breqn@next\relax + \fi\fi\fi\fi\fi\fi + \breqn@next\@let@token } \def\ss@scan@b#1#2{#1{% \let\m@Bin\m@@Bin \let\m@Rel\m@@Rel diff --git a/Master/texmf-dist/tex/latex/mh/mathstyle.sty b/Master/texmf-dist/tex/latex/mh/mathstyle.sty index b0b29bdd1af..1c10bf4b1ab 100644 --- a/Master/texmf-dist/tex/latex/mh/mathstyle.sty +++ b/Master/texmf-dist/tex/latex/mh/mathstyle.sty @@ -85,6 +85,10 @@ \lowercase{\endgroup \let\@@superscript=^ \let\@@subscript=_ }% +\begingroup \catcode`\^=12\relax \catcode`\_=12\relax % just in case +\lowercase{\endgroup +\let\@@superscript@other=^ \let\@@subscript@other=_ +}% \def\subsupstyle{% \ifnum\mathstyle<\tw@ \chardef\mathstyle\tw@ \else \chardef\mathstyle\thr@@ @@ -148,13 +152,16 @@ \fi} \DeclareOption{mathactivechars}{% \catcode`\^=12\relax - \catcode`\_=12\relax} + \catcode`\_=12\relax +\AtBeginDocument{\catcode`\^=12\relax \catcode`\_=12\relax }} \DeclareOption{activechars}{% \catcode`\^=13\relax - \catcode`\_=13\relax} + \catcode`\_=13\relax +\AtBeginDocument{\catcode`\_=12\relax \catcode`\_=13\relax }} \DeclareOption{noactivechars}{% \catcode`\^=7\relax - \catcode`\_=8\relax} + \catcode`\_=8\relax +\AtBeginDocument{\catcode`\_=7\relax \catcode`\_=8\relax }} \ExecuteOptions{mathactivechars} \ProcessOptions\relax \ifnum\catcode`\^=13\relax |