summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-22 20:33:32 +0000
committerKarl Berry <karl@freefriends.org>2020-07-22 20:33:32 +0000
commitcc09c00b2f0e7b36ba9e91e645f5da43e7d0e736 (patch)
tree3cdc8d7579def7f5fc68ea920301ce36e2151263 /Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
parentbd148258b9463eec9558ba834fd5a6b64b892899 (diff)
beamer (22jul20)
git-svn-id: svn://tug.org/texlive/trunk@55908 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
index af617d7ccc5..89c4eb9f020 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
@@ -20,6 +20,13 @@
\defbeameroption{previous slide on second screen}[right]%
{%
+ \ifx\@onlypreamble\@notprerr
+ \ltx@ifpackageloaded{pgfpages}{}{%
+ \ClassError{beamer}{`pgfpages' package necessary for this option}{}%
+ }%
+ \else%
+ \RequirePackage{pgfpages}%
+ \fi%
\pgfpagesuselayout{two screens with lagging second}[second #1]%
\beamer@twoscreenstexttrue
\nofiles
@@ -27,6 +34,13 @@
\defbeameroption{second mode text on second screen}[right]%
{%
+ \ifx\@onlypreamble\@notprerr
+ \ltx@ifpackageloaded{pgfpages}{}{%
+ \ClassError{beamer}{`pgfpages' package necessary for this option}{}%
+ }%
+ \else%
+ \RequirePackage{pgfpages}%
+ \fi%
\pgfpagesuselayout{two screens with optional second}[second #1]%
\beamer@twoscreenstexttrue
}