summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mh/mathstyle.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/mathstyle.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/mathstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mh/mathstyle.sty26
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/mh/mathstyle.sty b/Master/texmf-dist/tex/latex/mh/mathstyle.sty
index 5dc1db7caff..b0b29bdd1af 100644
--- a/Master/texmf-dist/tex/latex/mh/mathstyle.sty
+++ b/Master/texmf-dist/tex/latex/mh/mathstyle.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
@@ -27,7 +27,7 @@
%% and the derived files
%% mathstyle.sty, mathstyle.pdf, mathstyle.ins, mathstyle.drv.
%%
-\ProvidesPackage{mathstyle}[2007/12/19 v0.84]
+\ProvidesPackage{mathstyle}[2008/07/23 v0.85]
\providecommand\@saveprimitive[2]{%
\begingroup
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
@@ -146,15 +146,27 @@
\or
\@@scriptscripstyle
\fi}
-\DeclareOption{mathactivechars}{\catcode`\^=7\relax \catcode`\_=8\relax }
-\DeclareOption{activechars}{\catcode`\^=13\relax \catcode`\_=13\relax }
+\DeclareOption{mathactivechars}{%
+ \catcode`\^=12\relax
+ \catcode`\_=12\relax}
+\DeclareOption{activechars}{%
+ \catcode`\^=13\relax
+ \catcode`\_=13\relax}
+\DeclareOption{noactivechars}{%
+ \catcode`\^=7\relax
+ \catcode`\_=8\relax}
+\ExecuteOptions{mathactivechars}
\ProcessOptions\relax
\ifnum\catcode`\^=13\relax
\let^=\sp \let_=\sb
\else
- \mathcode`\^="8000\relax \mathcode`\_="8000\relax
- \begingroup \catcode`\^=\active \catcode`\_=\active
- \global\let^=\sp \global\let_=\sb
+ \mathcode`\^="8000\relax
+ \mathcode`\_="8000\relax
+ \begingroup
+ \catcode`\^=\active
+ \catcode`\_=\active
+ \global\let^=\sp
+ \global\let_=\sb
\endgroup
\fi
\endinput