diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 69 |
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}% |