summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
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/source/latex
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/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx94
1 files changed, 81 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index cec490a6ca0..17440aa3486 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -38,7 +38,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2008/09/29 v6.78l
+%<!none> [2008/11/18 v6.78m
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -114,7 +114,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{24340}
+% \CheckSum{24438}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -8123,10 +8123,12 @@
%
% \begin{macrocode}
\@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
+ }%
}%
}{}
% \end{macrocode}
@@ -8479,6 +8481,67 @@
\fi
% \end{macrocode}
%
+% Support for package \texttt{amsthm} (Daniel M\"ullner):
+% \begin{macrocode}
+\@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
+ }%
+}{}
+% \end{macrocode}
+%
% \section{Footnotes}\label{footnotes}
% The footnote mark is a hypertext link, and the text is a target.
% We separately number the footnotes sequentially through the
@@ -11550,13 +11613,18 @@
>>%
>>%
}%
- \@pdfm@mark{%
- put @resources <<%
- /Properties<<%
- /OCView \OBJ@OCG@view
- /OCPrint \OBJ@OCG@print
- >>%
- >>%
+ \AtBeginShipout{%
+ \setbox\AtBeginShipoutBox=\hbox{%
+ \copy\AtBeginShipoutBox
+ \@pdfm@mark{%
+ put @resources <<%
+ /Properties<<%
+ /OCView \OBJ@OCG@view
+ /OCPrint \OBJ@OCG@print
+ >>%
+ >>%
+ }%
+ }%
}%
\AtBeginDocument{%
\def\Hy@colorlink#1{%