summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
diff options
context:
space:
mode:
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}