summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pdfpages/ppnull.def
blob: b5fae37f77787531137304a5fc8adb583c65dc29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
%%
%% 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
%%   <http://www.latex-project.org/lppl.txt>.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is
%%   Andreas Matthias <andreas.matthias@gmail.com>.
%%
%% Please send error reports and suggestions for improvements to
%%   Andreas MATTHIAS <andreas.matthias@gmail.com>.
%%
\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'.