diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-07 23:09:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-07 23:09:45 +0000 |
commit | 28f8287b52b9e47d5579c5ee9813513f4c7c918c (patch) | |
tree | 0da07dd6bf9edf16713f5358bdd950b062980122 /Master/texmf-dist/tex/latex/oberdiek | |
parent | 515e0a46ce935eb627f742546d996842e3add6d6 (diff) |
oberdiek update (7feb10)
git-svn-id: svn://tug.org/texlive/trunk@16936 c570f23f-e606-0410-a88d-b1316a301751
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}% |