diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty | 38 |
1 files changed, 23 insertions, 15 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 |