Debian Codegraph @

texmf-dist/tex/latex/pdfpages/ppnull.def

raw
1 %%
2 %% This is file `ppnull.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pdfpages.dtx (with options: `ppnulldef')
8 %%
9 %% This file is part of the pdfpages package.
10 %%
11 %% Copyright (C) 2001-2026 Andreas MATTHIAS
12 %%
13 %% This work may be distributed and/or modified under the conditions
14 %% of the LaTeX Project Public License, either version 1.3c
15 %% of this license or (at your option) any later version.
16 %% The latest version of this license is in
17 %% <http://www.latex-project.org/lppl.txt>.
18 %%
19 %% This work has the LPPL maintenance status `maintained'.
20 %%
21 %% The Current Maintainer of this work is
22 %% Andreas Matthias <[email protected]>.
23 %%
24 %% Please send error reports and suggestions for improvements to
25 %% Andreas MATTHIAS <[email protected]>.
26 %%
27 \def\AM@git@tag{v0.6h}
28 \def\AM@git@date{2026/03/30}
29 \def\AM@git@hash{8329ae0af7}
30 \ProvidesFile{ppnull.def}
31 [\AM@git@date\space\AM@git@tag\space
32 Pdfpages dummy driver (AM)]
33 \AM@DVIoutputtrue
34 \PackageWarningNoLine{pdfpages}{%
35 I will use a dummy \string\includepdf\space command\MessageBreak
36 which will insert empty pages instead of the actual\MessageBreak
37 PDF file because we are running in \ifAM@pkg@demo `demo' mode%
38 \else DVI mode or with\MessageBreak dvips driver%
39 \fi}
40 \def\AM@findfile#1{%
41 \def\AM@currentdocname{#1}%
42 }
43 \let\AM@IfFileExists\IfFileExists
44 \def\AM@getpagecount{%
45 \ifx\AM@pagecount\AM@undefined
46 \PackageWarningNoLine{pdfpages}{%
47 I cannot determine the number of pages of the\MessageBreak
48 included document, because we are running in\MessageBreak
49 \ifAM@pkg@demo `demo' mode.
50 \else DVI mode.
51 \fi
52 \MessageBreak
53 You can use the option `lastpage' to give me a hint}%
54 \edef\AM@pagecount{1}%
55 \fi
56 }
57 \def\AM@getpagedimen{%
58 \AM@pagewidth=\paperwidth
59 \AM@pageheight=\paperheight
60 }
61 \def\AM@setpagedimen{%
62 \paperwidth\AM@pagewidth
63 \paperheight\AM@pageheight
64 }
65 \let\AM@pagesize@boogie\relax
66 \let\AM@fitpaper@special\relax
67 \def\AM@findfile#1{%
68 \def\AM@currentdocname{}%
69 }
70 \let\AM@setlscape\relax
71 \let\AM@linktodoc@special@begin\relax
72 \let\AM@linktodoc@special@end\relax
73 \let\AM@survey@special@begin\relax
74 \let\AM@survey@special@end\relax
75 \let\AM@thread@special@begin\relax
76 \let\AM@thread@special@end\relax
77 \def\AM@reset@view{%
78 \def\AM@view{}%
79 \def\AM@view@xpos{0}%
80 \def\AM@view@ypos{}}
81 \let\AM@dest@special\relax
82 \let\AM@anchor@special\relax
83 \def\AM@convert@dest#1{}
84 \def\AM@disable@includegraphics{%
85 \renewcommand\includegraphics[2][]{}%
86 }
87 \newcommand*{\AM@checkpagenumber}[1]{}
88 \endinput
89 %%
90 %% End of file `ppnull.def'.