blob: ae0bc06455dbfffb41529877c23e613b5a34c31e (
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
85
86
87
88
|
%%
%% This is file `ppdvips.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% pdfpages.dtx (with options: `ppdvipsdef')
%%
%% 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{ppdvips.def}
[\AM@filedate\space\AM@fileversion\space
Pdfpages driver for dvips (AM)]
%% \def\AM@getpagecount{%
%% \setbox\@tempboxa=\hbox{\includegraphics{\AM@currentdocname}}%
%% \edef\AM@pagecount{\the\pdflastximagepages}%
%% }
\def\AM@notsupported#1{%
\PackageWarning{pdfpages}{#1 not supported by driver dvips}}
\def\AM@getpagecount{%
\ifx\AM@pagecount\AM@undefined
\AM@notsupported{Page selections}
\def\AM@pagecount{1}%
\gdef\AM@getpagecount{%
\def\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
\def\AM@setlscape{\AM@notsupported{Page rotations}}
\def\AM@fitpaper@special{\AM@notsupported{Option fitpaper}}
\def\AM@findfile#1{%
\AM@findfile@i{#1}{eps}%
\ifx\AM@currentdocname\relax
\AM@findfile@i{#1}{ps}%
\fi
\AM@findfile@ii{#1}%
}
\let\AM@IfFileExists\IfFileExists
\def\AM@linktodoc@special@begin{Links}
\let\AM@linktodoc@special@end\relax
\def\AM@survey@special@begin{\AM@notsupported{Option survey}}
\let\AM@survey@special@end\relax
\def\AM@thread@special@begin{\AM@notsupported{Option thread}}
\let\AM@thread@special@end\relax
\def\AM@dest@special{\AM@notsupported{Links}}
\def\AM@anchor@special{\AM@notsupported{Links}}
\def\AM@convert@dest#1{}
\def\AM@region@calc{}
\let\AM@disable@includegraphics\relax
\@ifundefined{KV@Gin@page}{%
\define@key{Gin}{page}{%
\ifnum#1=1 %
\else
\PackageError{pdfpages}{%
Multipage images are not supported by driver dvips%
}\@ehc
\fi
}}{}
\endinput
%%
%% End of file `ppdvips.def'.
|