summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/hypcap.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/hypcap.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/hypcap.sty9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypcap.sty b/Master/texmf-dist/tex/latex/oberdiek/hypcap.sty
index 2c8f27cc56e..194d0f67bc5 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/hypcap.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/hypcap.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 1999-2001, 2006-2008 by
+%% Copyright (C) 1999-2001, 2006-2008, 2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%%
%% This work may be distributed and/or modified under the
@@ -31,11 +31,12 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypcap}%
- [2008/09/08 v1.10 Adjusting anchors of captions (HO)]
+ [2011/02/16 v1.11 Adjusting anchors of captions (HO)]
\@ifundefined{hyper@@anchor}{%
\PackageError{hypcap}{You have to load 'hyperref' first}\@ehc
\endinput
}{}
+\RequirePackage{letltxmacro}[2008/06/24]
\newcommand*\hc@org@caption{}
\let\hc@org@caption\caption
\newif\if@capstart
@@ -97,8 +98,8 @@
}
\def\hc@redef#1#2#3{%
\newcommand#1{}%
- \expandafter\let\expandafter#1\csname#3\endcsname
- \expandafter\let\expandafter#2\csname end#3\endcsname
+ \expandafter\LetLtxMacro\expandafter#1\csname#3\endcsname
+ \expandafter\LetLtxMacro\expandafter#2\csname end#3\endcsname
\renewenvironment*{#3}[1][]{%
\ifx\\##1\\%
#1\relax