summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/hypcap.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hypcap.dtx25
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx b/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx
index 7607756a583..0155d0457e2 100644
--- a/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/hypcap.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 1999-2001, 2006 by
+% Copyright (C) 1999-2001, 2006, 2007 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%
% This work may be distributed and/or modified under the
@@ -67,7 +67,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hypcap 2006/02/20 v1.5 Adjusting anchors of captions (HO)}
+\Msg{* Package: hypcap 2007/02/19 v1.6 Adjusting anchors of captions (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -77,7 +77,7 @@
This is a generated file.
-Copyright (C) 1999-2001, 2006 by
+Copyright (C) 1999-2001, 2006, 2007 by
Heiko Oberdiek <oberdiek@uni-freiburg.de>
This work may be distributed and/or modified under the
@@ -128,7 +128,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hypcap.drv}%
- [2006/02/20 v1.5 Adjusting anchors of captions (HO)]
+ [2007/02/19 v1.6 Adjusting anchors of captions (HO)]
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\begin{document}
@@ -137,7 +137,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{133}
+% \CheckSum{144}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -158,7 +158,7 @@ and the derived files
% \GetFileInfo{hypcap.drv}
%
% \title{The \xpackage{hypcap} package}
-% \date{2006/02/20 v1.5}
+% \date{2007/02/19 v1.6}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -261,7 +261,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypcap}%
- [2006/02/20 v1.5 Adjusting anchors of captions (HO)]
+ [2007/02/19 v1.6 Adjusting anchors of captions (HO)]
% \end{macrocode}
%
% For unique command names this package uses |hc@| as prefix
@@ -311,6 +311,7 @@ and the derived files
\newcommand*\capstart{%
\H@refstepcounter\@captype % first part of caption
\hyper@makecurrent\@captype
+ \global\let\hc@currentHref\@currentHref
\vspace*{-\hypcapspace}%
\begingroup
\let\leavevmode\relax
@@ -341,7 +342,11 @@ and the derived files
\long\def\hc@@caption#1[#2]#3{%
\let\caption\hc@org@caption
\global\@capstartfalse
- \hyper@makecurrent\@captype
+ \ifHy@hypertexnames
+ \hyper@makecurrent\@captype
+ \else
+ \global\let\@currentHref\hc@currentHref
+ \fi
\par\addcontentsline{%
\csname ext@#1\endcsname}{#1}{%
\protect\numberline{%
@@ -544,6 +549,10 @@ and the derived files
% \item
% New DTX framework.
% \end{Version}
+% \begin{Version}{2007/02/19 v1.6}
+% \item
+% Fix for hypertexnames=false.
+% \end{Version}
% \end{History}
%
% \PrintIndex