%% %% This is file `ppnull.def', %% generated with the docstrip utility. %% %% The original source files were: %% %% pdfpages.dtx (with options: `ppnulldef') %% %% This file is part of the pdfpages package. %% %% Copyright (C) 2001-2015 Andreas MATTHIAS %% %% This work may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% The latest version of this license is in %% . %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is %% Andreas Matthias . %% %% Please send error reports and suggestions for improvements to %% Andreas MATTHIAS . %% \def\AM@fileversion{v0.4w} \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) $ \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 which will NOT insert any pages, because\MessageBreak you are producing DVI output} \def\AM@findfile#1{% \def\AM@currentdocname{#1}% } \let\AM@IfFileExists\IfFileExists \def\AM@getpagecount{% \ifx\AM@pagecount\AM@undefined \PackageWarningNoLine{pdfpages}{% I cannot determine the number of pages of the\MessageBreak included document, while being in DVI mode. You\MessageBreak can use the option `lastpage' to give me a hint}% \edef\AM@pagecount{1}% \fi } \let\AM@pagewidth\paperwidth \let\AM@pageheight\paperheight \def\AM@setpagedimen{% \setlength{\paperwidth}{\wd\@tempboxa}% \setlength{\paperheight}{\ht\@tempboxa + \dp\@tempboxa}% } \let\AM@pagesize@boogie\relax \let\AM@fitpaper@special\relax \def\AM@findfile#1{% \def\AM@currentdocname{}% } \let\AM@setlscape\relax \let\AM@linktodoc@special@begin\relax \let\AM@linktodoc@special@end\relax \let\AM@survey@special@begin\relax \let\AM@survey@special@end\relax \let\AM@thread@special@begin\relax \let\AM@thread@special@end\relax \let\AM@dest@special\relax \let\AM@anchor@special\relax \def\AM@convert@dest#1{} \def\AM@disable@includegraphics{% \renewcommand\includegraphics[2][]{}% } \newcommand*{\AM@checkpagenumber}[1]{} \def\AM@region@calc{} \endinput %% %% End of file `ppnull.def'.