summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-20 17:01:18 +0000
committerKarl Berry <karl@freefriends.org>2008-11-20 17:01:18 +0000
commitd982528e0be92cef699f272a069b22906cc5abc7 (patch)
tree1f39443ce3220f8791049e087f7db85ebb76b85d /Master/texmf-dist/tex/latex/hyperref/hyperref.sty
parent851f602c4aff7c6ea59fc95adc6bbef2a291b64f (diff)
hyperref update (19nov08)
git-svn-id: svn://tug.org/texlive/trunk@11377 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty69
1 files changed, 64 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index 21f59fcd0c7..9ae1edcaa76 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hyperref}
- [2008/09/29 v6.78l
+ [2008/11/18 v6.78m
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -4793,10 +4793,12 @@
\endgroup
}
\@ifpackageloaded{fancyvrb}{%
- \def\FV@StepLineNo{%
- \FV@SetLineNo
- \def\FV@StepLineNo{\H@refstepcounter{FancyVerbLine}}%
- \FV@StepLineNo
+ \@ifpackagelater{fancyvrb}{1998/05/20}{}{%
+ \def\FV@StepLineNo{%
+ \FV@SetLineNo
+ \def\FV@StepLineNo{\H@refstepcounter{FancyVerbLine}}%
+ \FV@StepLineNo
+ }%
}%
}{}
\AtBeginDocument{%
@@ -5032,6 +5034,63 @@
\ignorespaces
}%
\fi
+\@ifpackageloaded{amsthm}{%
+ \def\@thm#1#2#3{%
+ \ifhmode
+ \unskip\unskip\par
+ \fi
+ \normalfont
+ \trivlist
+ \let\thmheadnl\relax
+ \let\thm@swap\@gobble
+ \thm@notefont{\fontseries\mddefault\upshape}%
+ \thm@headpunct{.}% add period after heading
+ \thm@headsep 5\p@ plus\p@ minus\p@\relax
+ \thm@space@setup
+ #1% style overrides
+ \@topsep \thm@preskip % used by thm head
+ \@topsepadd \thm@postskip % used by \@endparenv
+ \def\dth@counter{#2}%
+ \ifx\@empty\dth@counter
+ \def\@tempa{%
+ \@oparg{\@begintheorem{#3}{}}[]%
+ }%
+ \else
+ \H@refstepcounter{#2}%
+ \hyper@makecurrent{#2}%
+ \def\@tempa{%
+ \@oparg{\@begintheorem{#3}{\csname the#2\endcsname}}[]%
+ }%
+ \fi
+ \@tempa
+ }%
+ \dth@everypar={%
+ \@minipagefalse
+ \global\@newlistfalse
+ \@noparitemfalse
+ \if@inlabel
+ \global\@inlabelfalse
+ \begingroup
+ \setbox\z@\lastbox
+ \ifvoid\z@
+ \kern-\itemindent
+ \fi
+ \endgroup
+ \ifx\@empty\dth@counter
+ \else
+ \Hy@raisedlink{%
+ \hyper@anchorstart{\@currentHref}\hyper@anchorend
+ }%
+ \fi
+ \unhbox\@labels
+ \fi
+ \if@nobreak
+ \@nobreakfalse \clubpenalty\@M
+ \else
+ \clubpenalty\@clubpenalty \everypar{}%
+ \fi
+ }%
+}{}
\@ifpackageloaded{tabularx}{\Hy@hyperfootnotesfalse}{}
\ifHy@hyperfootnotes
\newcounter{Hfootnote}%