diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty index 6210030dbe2..21805964684 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty @@ -8,7 +8,7 @@ % % See the file doc/licenses/LICENSE for more details. -\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasenavigation.sty,v 905a39e12b38 2013/04/04 14:51:09 joseph $ +\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasenavigation.sty,v 974005d557bd 2013/10/02 20:33:35 joseph $ \mode <presentation> @@ -846,6 +846,45 @@ \let\beamer@framehypertargets\@empty +% +% Page anchors +% + +% This code is copied from hyperref, which doesn't activate this part with +% option "implicit = false" set. Things are much simplified as we already +% know that anchors are required and what to use for them. + +\def\Hy@EveryPageAnchor{% + \Hy@DistillerDestFix + \vbox to 0pt{% + \kern\voffset + \kern\topmargin + \kern-1bp\relax + \hbox to 0pt{% + \kern\hoffset + \kern\ifodd\value{page}% + \oddsidemargin + \else + \evensidemargin + \fi + \kern-1bp\relax + \hyper@@anchor{Navigation\the\c@page}% + \hyper@@anchor{page.\the\c@page}% + \hss + }% + \vss + }% +} + +\AtBeginShipout{% + \setbox\AtBeginShipoutBox=\vbox{% + \offinterlineskip + \Hy@EveryPageAnchor + \box\AtBeginShipoutBox + }% +} + +\providecommand*{\Hy@DistillerDestFix}{} \mode <all> |