diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfpages/ppnull.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfpages/ppnull.def | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfpages/ppnull.def b/Master/texmf-dist/tex/latex/pdfpages/ppnull.def index b5fae37f777..2f1769b8bd3 100644 --- a/Master/texmf-dist/tex/latex/pdfpages/ppnull.def +++ b/Master/texmf-dist/tex/latex/pdfpages/ppnull.def @@ -24,17 +24,13 @@ %% Please send error reports and suggestions for improvements to %% Andreas MATTHIAS <andreas.matthias@gmail.com>. %% -\def\AM@fileversion{v0.4w} +\def\AM@fileversion{v0.4x} \def\AM@SVN@Date@i#1-#2-#3\END{\def\AM@filedate{#1/#2/#3}} \def\AM@SVN@Date$Date: #1 #2${\AM@SVN@Date@i#1\END} -\AM@SVN@Date$Date: 2015-04-15 23:44:35 +0200 (Wed, 15 Apr 2015) $ +\AM@SVN@Date$Date: 2015-05-11 18:08:19 +0200 (Mon, 11 May 2015) $ \ProvidesFile{ppnull.def} [\AM@filedate\space\AM@fileversion\space Pdfpages dummy driver (AM)] -%% \def\AM@getpagecount{% -%% \setbox\@tempboxa=\hbox{\includegraphics{\AM@currentdocname}}% -%% \edef\AM@pagecount{\the\pdflastximagepages}% -%% } \AM@DVIoutputtrue \PackageWarningNoLine{pdfpages}{% I will use a dummy \string\includepdf\space command\MessageBreak @@ -53,11 +49,13 @@ \edef\AM@pagecount{1}% \fi } -\let\AM@pagewidth\paperwidth -\let\AM@pageheight\paperheight +\def\AM@getpagedimen{% + \AM@pagewidth=\paperwidth + \AM@pageheight=\paperheight +} \def\AM@setpagedimen{% - \setlength{\paperwidth}{\wd\@tempboxa}% - \setlength{\paperheight}{\ht\@tempboxa + \dp\@tempboxa}% + \paperwidth\AM@pagewidth + \paperheight\AM@pageheight } \let\AM@pagesize@boogie\relax \let\AM@fitpaper@special\relax |