Debian Codegraph @

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

raw
1 %%
2 %% This is file `ppdvips.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pdfpages.dtx (with options: `ppdvipsdef')
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{ppdvips.def}
31 [\AM@git@date\space\AM@git@tag\space
32 Pdfpages driver for dvips (AM)]
33 \def\AM@notsupported#1{%
34 \PackageWarning{pdfpages}{#1 not supported by driver dvips}}
35 \def\AM@getpagecount{%
36 \ifx\AM@pagecount\AM@undefined
37 \AM@notsupported{Page selections}
38 \def\AM@pagecount{1}%
39 \gdef\AM@getpagecount{%
40 \def\AM@pagecount{1}%
41 }%
42 \fi
43 }
44 \def\AM@getpagedimen{%
45 \AM@pagewidth=\paperwidth
46 \AM@pageheight=\paperheight
47 }
48 \def\AM@setpagedimen{%
49 \paperwidth\AM@pagewidth
50 \paperheight\AM@pageheight
51 }
52 \let\AM@pagesize@boogie\relax
53 \def\AM@setRotate{\AM@notsupported{Page rotations}}
54 \def\AM@resetRotate{}
55 \def\AM@fitpaper@special{\AM@notsupported{Option fitpaper}}
56 \def\AM@findfile#1{%
57 \AM@findfile@i{#1}{eps}%
58 \ifx\AM@currentdocname\relax
59 \AM@findfile@i{#1}{ps}%
60 \fi
61 \AM@findfile@ii{#1}%
62 }
63 \let\AM@IfFileExists\IfFileExists
64 \def\AM@linktodoc@special@begin{Links}
65 \let\AM@linktodoc@special@end\relax
66 \def\AM@survey@special@begin{\AM@notsupported{Option survey}}
67 \let\AM@survey@special@end\relax
68 \def\AM@thread@special@begin{\AM@notsupported{Option thread}}
69 \let\AM@thread@special@end\relax
70 \def\AM@reset@view{%
71 \def\AM@view{}%
72 \def\AM@view@xpos{0}%
73 \def\AM@view@ypos{}}
74 \def\AM@dest@special{\AM@notsupported{Links}}
75 \def\AM@anchor@special{\AM@notsupported{Links}}
76 \def\AM@convert@dest#1{}
77 \let\AM@disable@includegraphics\relax
78 \@ifundefined{KV@Gin@page}{%
79 \define@key{Gin}{page}{%
80 \ifnum#1=1 %
81 \else
82 \PackageError{pdfpages}{%
83 Multipage images are not supported by driver dvips%
84 }\@ehc
85 \fi
86 }}{}
87 \endinput
88 %%
89 %% End of file `ppdvips.def'.