summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hypdvips
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-05 16:41:25 +0000
committerKarl Berry <karl@freefriends.org>2009-03-05 16:41:25 +0000
commit76576609315cae4d1822d8acba81734a87651975 (patch)
treed49136ffc39c0442c189691b239ba6cfeb15e38f /Master/texmf-dist/tex/latex/hypdvips
parente836ed75f5d2371dda1659e4e9768510281513d9 (diff)
hypdvips update (4mar09)
git-svn-id: svn://tug.org/texlive/trunk@12313 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hypdvips')
-rw-r--r--Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty45
1 files changed, 23 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
index aab395dde5a..0b9a00f4c68 100644
--- a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
+++ b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
@@ -1,9 +1,9 @@
%%
%% This is file `hypdvips.sty',
-%% Copyright 2008 Raimund Niedrist
+%% Copyright 2009 Raimund Niedrist
%%
%% With portions written by David Carlisle, Toby Cubitt, Geoffrey
-%% Keating, Heiko Oberdiek and Sebastian Rahtz, 1995-2008
+%% Keating, Heiko Oberdiek and Sebastian Rahtz, 1995-2009
%%
%% This work may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3 of this
@@ -21,7 +21,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdvips}
- [2008/12/26 v1.04
+ [2009/03/04 v1.05
Hyperref extensions for use with dvips]
\RequirePackage{hyperref}
\newif\ifpp@dvips
@@ -1834,10 +1834,10 @@
\newif\ifpp@subfigure
\pp@subfigurefalse
-\let\pp@backup@subfigure\subfigure
-\def\subfigure{%
+\let\pp@backup@@subfigure\@subfigure
+\def\@subfigure{%
\pp@subfiguretrue%
- \pp@backup@subfigure%
+ \pp@backup@@subfigure%
}
\let\pp@backup@endfigure\endfigure
@@ -2098,15 +2098,14 @@
\ifhmode\spacefactor\@x@sf\fi
\relax
}
-\fi
-
-\let\pp@backup@H@@footnotetext\H@@footnotetext
-\renewcommand{\H@@footnotetext}[1]{%
- \pp@backup@H@@footnotetext{%
- \pp@SDictPS{/pp.voffset \f@size\space 5 add def}%
- #1%
- }%
-}
+ \let\pp@backup@H@@footnotetext\H@@footnotetext
+ \renewcommand{\H@@footnotetext}[1]{%
+ \pp@backup@H@@footnotetext{%
+ \pp@SDictPS{/pp.voffset \f@size\space 5 add def}%
+ #1%
+ }%
+ }
+\fi
\let\pp@backup@bibstyle\bibstyle
\renewcommand{\bibstyle}[1]{%
@@ -2274,13 +2273,15 @@
}%
\@esphack%
}%
- \renewcommand{\H@@footnotetext}[1]{%
- \pp@backup@H@@footnotetext{%
- \edef\@currentlabel{[footnote][\arabic{Hfootnote}][\relax]\@thefnmark}%
- \pp@SDictPS{/pp.voffset \f@size\space 5 add def}%
- #1%
- }%
- }
+ \ifHy@hyperfootnotes
+ \renewcommand{\H@@footnotetext}[1]{%
+ \pp@backup@H@@footnotetext{%
+ \edef\@currentlabel{[footnote][\arabic{Hfootnote}][\relax]\@thefnmark}%
+ \pp@SDictPS{/pp.voffset \f@size\space 5 add def}%
+ #1%
+ }%
+ }
+ \fi
}{}
\newlength{\pp@backup@baselineskip}