summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty20
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty b/Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty
index 36784a3c968..ed5356f2bbb 100644
--- a/Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty
+++ b/Master/texmf-dist/tex/latex/pgf/utilities/pgfpages.sty
@@ -1,9 +1,13 @@
-\ProvidesPackage{pgfpages}[2004/11/05 ver 0.01]
-
-% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>.
+% Copyright 2006 by Till Tantau
+%
+% This file may be distributed and/or modified
%
-% This program can be redistributed and/or modified under the terms
-% of the GNU Public License, version 2.
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
+\ProvidesPackage{pgfpages}[2004/11/05 ver 0.01]
\RequirePackage{pgfcore,calc}
@@ -58,11 +62,11 @@
%
% \pgfpagesuselayout{resize to}[a4paper]
-\def\pgfpagesuselayout#1{\@ifnextchar[{\pgf@pagelayout{#1}}{\pgf@pagelayout{#1}[]}}
+\def\pgfpagesuselayout#1{\pgf@ifnextchar[{\pgf@pagelayout{#1}}{\pgf@pagelayout{#1}[]}}
\def\pgf@pagelayout#1[#2]{
\csname pgfpages@layoutbefore@#1\endcsname
\setkeys{pgfpagesuselayoutoption}{#2}
- \@ifundefined{pgfpages@layout@#1}{
+ \pgf@ifundefined{pgfpages@layout@#1}{
\PackageError{pgfpages}{Page layout `#1' undefined.}{}
}
{
@@ -1002,7 +1006,7 @@
\newcommand\pgfsetupphysicalpagesizes{%
% The following code was send to me by Rolf Niepraschk
- \ifx\Gin@driver\@empty\else%
+ \ifx\Gin@driver\pgf@empty\else%
\filename@parse{\Gin@driver}\@tempswafalse%
\def\reserved@a{dvips}%
\ifx\filename@base\reserved@a\@tempswatrue\fi%