summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-15 22:14:38 +0000
committerKarl Berry <karl@freefriends.org>2012-04-15 22:14:38 +0000
commit9f0f0a66f8c20db4bf98d4fa16ea6e394b063553 (patch)
tree8c2270bcd2e5328fd0744c02a00106d5532cf361 /Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
parentb19905f8cc31169f64f0a9b57820492c8bebc468 (diff)
beamer 3.17 (15apr12)
git-svn-id: svn://tug.org/texlive/trunk@25977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty20
1 files changed, 19 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
index bbc5f251020..c5a78992199 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 0064b7fe9b39 2012/03/10 08:26:10 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasenavigation.sty,v 42a0f21a412d 2012/04/03 05:51:09 joseph $
\mode
<presentation>
@@ -202,6 +202,24 @@
\def\beamer@linkspace#1{\vbox to7.5pt{}\kern#1}
+% Due to what could be regarded as a bug in hyperref or DVIPDFm and
+% derivatives, no links are made to empty boxes with XeTeX. This is
+% fixed by drawing some 'real' content, which makes the PDF bigger!
+\begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname XeTeXrevision\endcsname\relax
+ \expandafter\@gobble
+\else
+ \expandafter\@firstofone
+\fi
+ {%
+ \def\beamer@linkspace#1{%
+ \begin{pgfpicture}{0pt}{-1.5pt}{#1}{5.5pt}
+ \pgfsetfillopacity{0}
+ \pgftext[x=0pt,y=-1.5pt]{.}
+ \pgftext[x=#1,y=5.5pt]{.}
+ \end{pgfpicture}}
+ }
+
\pgfdefobject{beamerslidenavlight}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{20pt}{5pt}}
{\pgfpathqmoveto{4bp}{0.5bp}
\pgfpathqlineto{2bp}{2bp}