diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty | 38 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/hypdoc.sty | 18 |
2 files changed, 39 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty index 10d0fec2cbc..673521e6ac7 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{holtxdoc}% - [2009/12/02 v0.13 Private additional ltxdoc support (HO)] + [2010/02/03 v0.14 Private additional ltxdoc support (HO)] \RequirePackage[numbered]{hypdoc} \RequirePackage{array} \def\hld@info#1{% @@ -160,20 +160,28 @@ \providecommand*{\pdfLaTeX}{pdf\LaTeX} \providecommand*{\LuaTeX}{L\textsc{ua}\TeX} \def\@temp#1#2{% - \providecommand*{#1}{% - \begingroup - X% - \@ifundefined{rotatebox}{e}{% - \lower0.5ex\hbox{% - \setbox0=\hbox{E}% - \dimen0=\ht0 % - \advance\dimen0 by \dp0 % - \raise\dimen0\hbox{\rotatebox{180}{\box0}}% - }% - }% - #2% - \endgroup - }% + \@ifundefined{\expandafter\@gobble\string#1}{% + \DeclareRobustCommand*{#1}{% + \texorpdfstring{% + \begingroup + X% + \kern-.1em\relax + \@ifundefined{rotatebox}{e}{% + \lower0.5ex\hbox{% + \setbox0=\hbox{E}% + \dimen0=\ht0 % + \advance\dimen0 by \dp0 % + \raise\dimen0\hbox{\rotatebox{180}{\box0}}% + }% + }% + }{Xe}% + \ifx\TeX#2\relax + \kern-.15em\relax + \fi + #2% + \endgroup + }% + }{}% } \@temp\XeTeX\TeX \@temp\XeLaTeX\LaTeX 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}% |