diff options
author | Karl Berry <karl@freefriends.org> | 2009-02-24 01:39:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-02-24 01:39:21 +0000 |
commit | abb7dc7f959016057fe19f5b567b9996a0238165 (patch) | |
tree | 9443cce48710c2490094ccb4f60c9efea6d5956e /Master/texmf-dist/source/latex/hyperref | |
parent | d5c82395b8e4546ed26c18fb456f4653b5753e49 (diff) |
hyperref update (23feb09)
git-svn-id: svn://tug.org/texlive/trunk@12222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 1cd87564c72..068d9875ac4 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> [2009/02/02 v6.78o +%<!none> [2009/02/22 v6.78p %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -114,7 +114,7 @@ \end{document} %</driver> % \fi -% \CheckSum{24487} +% \CheckSum{24498} % % \MakeShortVerb{|} % \StopEventually{} @@ -11108,10 +11108,37 @@ \close@pdflink }% } +% \end{macrocode} +% +% \subsubsection{Fix for problem with different nesting levels} +% +% \cs{AtBeginShipoutFirst} adds an additional box layer around +% the first output page. This disturbs pdf\TeX's low level +% link commands \cs{pdfstartlink} and \cs{pdfendlink}, if a +% link is broken across the first and second output page. +% +% The problem could be fixed by replacing \cs{AtBeginShipoutFirst}, +% because the box layer is not necessary for pdf\TeX -- no \cs{special}s +% need to be inserted. However it's easier to add an additional +% box level for the pages after the first one. Also \cs{AtBeginShipoutFirst} +% could be invoked independently from hyperref. +% \begin{macrocode} +\def\Hy@FixNotFirstPage{% + \gdef\Hy@FixNotFirstPage{% + \setbox\AtBeginShipoutBox=\hbox{% + \copy\AtBeginShipoutBox + }% + }% +} +\AtBeginShipout{\Hy@FixNotFirstPage} +% \end{macrocode} +% +% \begin{macrocode} %</pdftex> -%<*hypertex> % \end{macrocode} +% % \subsection{hypertex} +% % The Hyper\TeX\ specification (this is % borrowed from an article by Arthur Smith) % says that conformant viewers/translators @@ -11152,6 +11179,7 @@ % problems. % % \begin{macrocode} +%<*hypertex> \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} \def\PDF@SetupDoc{% @@ -11908,7 +11936,8 @@ % \end{macrocode} % \begin{macrocode} \AtBeginShipoutFirst{% - \ifx\special@paper\@empty\else + \ifx\special@paper\@empty + \else \ifHy@setpagesize \special{papersize=\special@paper}% \fi |