diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty index 0756cb1ae47..25349d9adbd 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2002, 2006, 2007, 2009 by +%% Copyright (C) 2002, 2006, 2007, 2009, 2010 by %% Heiko Oberdiek <oberdiek@uni-freiburg.de> %% %% This work may be distributed and/or modified under the @@ -31,7 +31,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hypdoc}% - [2009/12/10 v1.7 Hyper extensions for doc.sty (HO)]% + [2010/02/03 v1.8 Hyper extensions for doc.sty (HO)]% \newif\ifHD@numbered \DeclareOption{numbered}{\HD@numberedtrue} \ProcessOptions*\relax @@ -74,6 +74,20 @@ \let\scshape\@empty \def\and{and }% } +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname mod@math@codes\endcsname\relax +\else + \def\HD@ModFix#1{% + \mathcode`#1=`#1\relax + }% + \g@addto@macro\mod@math@codes{% + \HD@ModFix\-% + \HD@ModFix\+% + \HD@ModFix\:% + \HD@ModFix\=% + \HD@ModFix\*% + }% +\fi \def\HD@sectionpatch{% \ifHD@numbered \HD@@sectionpatch{section}% |