Debian Codegraph @

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

raw
1 %%
2 %% This is file `ppvtex.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% pdfpages.dtx (with options: `ppvtexdef')
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{ppvtex.def}
31 [\AM@git@date\space\AM@git@tag\space
32 Pdfpages driver for VTeX (AM)]
33 \begingroup
34 \@ifundefined{[email protected]}{%
35 \PackageError{pdfpages}
36 {The graphics package was loaded with driver\MessageBreak
37 `\Gin@driver', which cannot be used with VTeX}
38 {Check the driver option of the graphics package.}%
39 \global\let\AM@endinput\relax
40 \aftergroup\endinput}{}
41 \endgroup
42 \ifnum\VTeXversion<822
43 \PackageError{pdfpages}
44 {Package pdfpages requires at least\MessageBreak
45 VTeX version 8.22}
46 {Update your VTeX distribution.}%
47 \let\AM@endinput\relax
48 \fi
49 \AM@ifdriverlater{vtex}{2003/06/16}{}{%
50 \PackageError{pdfpages}{%
51 Your version of `vtex.def' is too old}
52 {Please, update your `vtex.def'!}%
53 \let\AM@endinput\relax
54 \expandafter\endinput
55 }
56 \def\AM@getpagecount{%
57 \getpagecount\count@ \AM@currentdocname\relax
58 \edef\AM@pagecount{\the\count@}%
59 }
60 \def\AM@getpagedimen{%
61 \AM@pagewidth=\mediawidth
62 \AM@pageheight=\mediaheight
63 }
64 \def\AM@setpagedimen{%
65 \mediawidth\AM@pagewidth
66 \mediaheight\AM@pageheight
67 }
68 \let\AM@pagesize@boogie\relax
69 \def\AM@setRotate{\special{pS:
70 [{ThisPage}\string<\string</Rotate 90\string>\string>%]
71 /PUT pdfmark}%
72 }
73 \def\AM@resetRotate{}
74 \def\AM@fitpaper@special{%
75 \immediate\xspecial{option updatemediasizes="on"}}
76 \def\AM@findfile#1{%
77 \AM@findfile@i{#1}{pdf}%
78 \ifx\AM@currentdocname\relax
79 \AM@findfile@i{#1}{ps}%
80 \fi
81 \AM@findfile@ii{#1}%
82 }
83 \let\AM@IfFileExists\IfFileExists
84 \def\AM@linktodoc@special@begin{%
85 \special{!aref <\ifAM@newwindow n\fi
86 f=\AM@linkfilename>!\AM@linktodoc@page;
87 a=</Border [0 0 0]>}%
88 }
89 \def\AM@linktodoc@special@end{%
90 \special{!endaref}%
91 }
92 \def\AM@survey@special@begin{%
93 \special{!aref pdfpages.\AM@linktodoc@page@m@ne;
94 a=</Border [0 0 0]>}%
95 }
96 \def\AM@survey@special@end{%
97 \special{!endaref}%
98 }
99 \def\AM@thread@special@begin{%
100 \special{!thread <\threadinfodict> \AM@threadname}%
101 }
102 \def\AM@thread@special@end{\special{!endthread}}
103 \def\AM@reset@view{%
104 \def\AM@view{}%
105 \def\AM@view@xpos{0}%
106 \def\AM@view@ypos{}}
107 \def\AM@dest@special{\special{!aname \AM@linkname.\AM@page}}
108 \def\AM@anchor@special{\special{!aname pdfpages.\the\count1}}
109 \def\AM@convert@dest#1{}
110 \let\AM@disable@includegraphics\relax
111 \endinput
112 %%
113 %% End of file `ppvtex.def'.