summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxdpx-beamer
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-06 22:38:33 +0000
committerKarl Berry <karl@freefriends.org>2016-08-06 22:38:33 +0000
commitaad4addc4e1de95b77a927d9ffbe46b6d26d142e (patch)
tree55267a6b28237ca7bd46c373bca89ce7302258c9 /Master/texmf-dist/tex/latex/bxdpx-beamer
parent4cf7d112766b5888982c9970e69c3763e69456a2 (diff)
bxdpx-beamer (6aug16)
git-svn-id: svn://tug.org/texlive/trunk@41813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxdpx-beamer')
-rw-r--r--Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty28
1 files changed, 17 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty b/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty
index 8a427c20b14..ddb262915a0 100644
--- a/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty
+++ b/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty
@@ -1,22 +1,29 @@
% bxdpx-beamer.sty
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxdpx-beamer}[2013/02/27 v0.2]
+\ProvidesPackage{bxdpx-beamer}[2016/08/06 v0.3]
\def\bxqbd@pkgname{bxdpx-beamer}
-% environment check
+% if Beamer is not used, then abort with error
\@ifclassloaded{beamer}{}{%else
\PackageError\bxqbd@pkgname{Beamer is not in use}%
{Package loading is aborted.}%
\endinput}
-% if not in presentation mode, then abort silently
-\mode<presentation>{\let\bxqbd@tempa=t }
-\ifx t\bxqbd@tempa\else
-\expandafter\endinput\fi\relax
% if PGF driver is not dvipdfmx/xetex, then abort silently
+\let\bxqbd@pgf=\relax
+\def\bxqbd@tempa{pgfsys-dvipdfmx.def}
+\ifx\pgfsysdriver\bxqbd@tempa \let\bxqbd@pgf=d \fi
+\def\bxqbd@tempa{pgfsys-xetex.def}
+\ifx\pgfsysdriver\bxqbd@tempa \let\bxqbd@pgf=x \fi
+\ifx\bxqbd@pgf\relax
+\expandafter\endinput\fi\relax
+%--------------------------------------- geometry
+% if geometry driver is not set, set it to 'dvipdfm'
+\ifx d\bxqbd@pgf \ifx\Gm@driver\@empty
+ \Gm@setdriver{dvipdfm}
+\fi\fi
+%--------------------------------------- hyperlink
+% if not in presentation mode, then abort silently
\let\bxqbd@tempa=f
-\def\bxqbd@tempb{pgfsys-dvipdfmx.def}
-\ifx\pgfsysdriver\bxqbd@tempb \let\bxqbd@tempa=t \fi
-\def\bxqbd@tempb{pgfsys-xetex.def}
-\ifx\pgfsysdriver\bxqbd@tempb \let\bxqbd@tempa=t \fi
+\mode<presentation>{\let\bxqbd@tempa=t }
\ifx t\bxqbd@tempa\else
\expandafter\endinput\fi\relax
% if ec-lmr10 is not available, then abort with warning
@@ -26,7 +33,6 @@
hackery cannot be applied in absence of the \MessageBreak
LM Roman font}%
\endinput}
-%---------------------------------------
% \bxqbd@enghost
\newbox\bxqbd@ghost
\font\bxqbd@font=ec-lmr10 at 1.1613pt % 10*0.5/4.3055