1
2
3\begingroup
4
5\catcode\{ = 1
6\catcode\} = 2
7
8\ifdefined\pdfextension
9
10
11
12 \global\let\pdfpagewidth \pagewidth
13 \global\let\pdfpageheight \pageheight
14
15 \global\let\pdfadjustspacing \adjustspacing
16 \global\let\pdfprotrudechars \protrudechars
17 \global\let\pdfnoligatures \ignoreligaturesinfont
18 \global\let\pdffontexpand \expandglyphsinfont
19 \global\let\pdfcopyfont \copyfont
20
21 \global\let\pdfxform \saveboxresource
22 \global\let\pdflastxform \lastsavedboxresourceindex
23 \global\let\pdfrefxform \useboxresource
24
25 \global\let\pdfximage \saveimageresource
26 \global\let\pdflastximage \lastsavedimageresourceindex
27 \global\let\pdflastximagepages\lastsavedimageresourcepages
28 \global\let\pdfrefximage \useimageresource
29
30 \global\let\pdfsavepos \savepos
31 \global\let\pdflastxpos \lastxpos
32 \global\let\pdflastypos \lastypos
33
34 \global\let\pdftexversion \luatexversion
35 \global\let\pdftexrevision \luatexrevision
36 \global\let\pdftexbanner \luatexbanner
37
38 \global\let\pdfoutput \outputmode
39 \global\let\pdfdraftmode \draftmode
40
41 \global\let\pdfpxdimen \pxdimen
42
43 \global\let\pdfinsertht \insertht
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 \ifdefined\newdimen
61 \newdimen\pdfeachlineheight
62 \newdimen\pdfeachlinedepth
63 \newdimen\pdflastlinedepth
64 \newdimen\pdffirstlineheight
65 \newdimen\pdfignoreddimen
66 \fi
67
68
69
70 \protected\gdef\pdfliteral {\pdfextension literal}
71 \protected\gdef\pdfcolorstack {\pdfextension colorstack}
72 \protected\gdef\pdfsetmatrix {\pdfextension setmatrix}
73 \protected\gdef\pdfsave {\pdfextension save\relax}
74 \protected\gdef\pdfrestore {\pdfextension restore\relax}
75 \protected\gdef\pdfobj {\pdfextension obj }
76 \protected\gdef\pdfrefobj {\pdfextension refobj }
77 \protected\gdef\pdfannot {\pdfextension annot }
78 \protected\gdef\pdfstartlink {\pdfextension startlink }
79 \protected\gdef\pdfendlink {\pdfextension endlink\relax}
80 \protected\gdef\pdfoutline {\pdfextension outline }
81 \protected\gdef\pdfdest {\pdfextension dest }
82 \protected\gdef\pdfthread {\pdfextension thread }
83 \protected\gdef\pdfstartthread {\pdfextension startthread }
84 \protected\gdef\pdfendthread {\pdfextension endthread\relax}
85 \protected\gdef\pdfinfo {\pdfextension info }
86 \protected\gdef\pdfcatalog {\pdfextension catalog }
87 \protected\gdef\pdfnames {\pdfextension names }
88 \protected\gdef\pdfincludechars {\pdfextension includechars }
89 \protected\gdef\pdffontattr {\pdfextension fontattr }
90 \protected\gdef\pdfmapfile {\pdfextension mapfile }
91 \protected\gdef\pdfmapline {\pdfextension mapline }
92 \protected\gdef\pdftrailer {\pdfextension trailer }
93 \protected\gdef\pdfglyphtounicode {\pdfextension glyphtounicode }
94
95 \chardef\pdfnofullbanner = 1
96 \chardef\pdfnofilename = 2
97 \chardef\pdfnopagenumber = 4
98 \chardef\pdfnoinfodict = 8
99 \chardef\pdfnocreator = 16
100 \chardef\pdfnocreationdate = 32
101 \chardef\pdfnomoddate = 64
102 \chardef\pdfnoproducer = 128
103 \chardef\pdfnotrapped = 256
104 \chardef\pdfnoid = 512
105
106
107
108 \gdef\pdftexversion {\numexpr\pdffeedback version\relax}
109 \gdef\pdftexrevision {\pdffeedback revision}
110 \gdef\pdflastlink {\numexpr\pdffeedback lastlink\relax}
111 \gdef\pdfretval {\numexpr\pdffeedback retval\relax}
112 \gdef\pdflastobj {\numexpr\pdffeedback lastobj\relax}
113 \gdef\pdflastannot {\numexpr\pdffeedback lastannot\relax}
114 \gdef\pdfxformname {\numexpr\pdffeedback xformname\relax}
115 \gdef\pdfcreationdate {\pdffeedback creationdate}
116 \gdef\pdffontname {\numexpr\pdffeedback fontname\relax}
117 \gdef\pdffontobjnum {\numexpr\pdffeedback fontobjnum\relax}
118 \gdef\pdffontsize {\dimexpr\pdffeedback fontsize\relax}
119 \gdef\pdfpageref {\numexpr\pdffeedback pageref\relax}
120 \gdef\pdfcolorstackinit {\pdffeedback colorstackinit}
121
122
123
124 \xdef\pdfcompresslevel {\pdfvariable compresslevel}
125 \xdef\pdfobjcompresslevel {\pdfvariable objcompresslevel}
126
127 \xdef\pdfdecimaldigits {\pdfvariable decimaldigits}
128 \xdef\pdfgamma {\pdfvariable gamma}
129 \xdef\pdfimageresolution {\pdfvariable imageresolution}
130 \xdef\pdfimageapplygamma {\pdfvariable imageapplygamma}
131 \xdef\pdfimagegamma {\pdfvariable imagegamma}
132 \xdef\pdfimagehicolor {\pdfvariable imagehicolor}
133 \xdef\pdfimageaddfilename {\pdfvariable imageaddfilename}
134 \xdef\pdfpkresolution {\pdfvariable pkresolution}
135 \xdef\pdfinclusioncopyfonts {\pdfvariable inclusioncopyfonts}
136 \xdef\pdfinclusionerrorlevel {\pdfvariable inclusionerrorlevel}
137 \xdef\pdfgentounicode {\pdfvariable gentounicode}
138 \xdef\pdfomitcidset {\pdfvariable omitcidset}
139 \xdef\pdfomitcharset {\pdfvariable omitcharset}
140 \xdef\pdfomitinfodict {\pdfvariable omitinfodict}
141 \xdef\pdfomitmediabox {\pdfvariable omitmediabox}
142 \xdef\pdfomitprocset {\pdfvariable omitprocset}
143 \xdef\pdfptexprefix {\pdfvariable ptexprefix}
144 \xdef\pdfpagebox {\pdfvariable pagebox}
145 \xdef\pdfmajorversion {\pdfvariable majorversion}
146 \xdef\pdfminorversion {\pdfvariable minorversion}
147 \xdef\pdfuniqueresname {\pdfvariable uniqueresname}
148
149 \xdef\pdfpkfixeddpi {\pdfvariable pkfixeddpi}
150 \xdef\pdfignoreunknownimages {\pdfvariable ignoreunknownimages}
151
152 \xdef\pdfhorigin {\pdfvariable horigin}
153 \xdef\pdfvorigin {\pdfvariable vorigin}
154 \xdef\pdflinkmargin {\pdfvariable linkmargin}
155 \xdef\pdfdestmargin {\pdfvariable destmargin}
156 \xdef\pdfthreadmargin {\pdfvariable threadmargin}
157 \xdef\pdfxformmargin {\pdfvariable xformmargin}
158
159 \xdef\pdfpagesattr {\pdfvariable pagesattr}
160 \xdef\pdfpageattr {\pdfvariable pageattr}
161 \xdef\pdfpageresources {\pdfvariable pageresources}
162 \xdef\pdfxformattr {\pdfvariable xformattr}
163 \xdef\pdfxformresources {\pdfvariable xformresources}
164 \xdef\pdfpkmode {\pdfvariable pkmode}
165
166 \xdef\pdfsuppressoptionalinfo {\pdfvariable suppressoptionalinfo }
167 \global\let\pdfsuppressptexinfo \pdfsuppressoptionalinfo
168 \xdef\pdftrailerid {\pdfvariable trailerid }
169 \xdef\pdfinfoomitdate {\pdfvariable suppressoptionalinfo \numexpr3264\relax}
170
171
172
173 \global\pdfcompresslevel 9
174 \global\pdfobjcompresslevel 1
175
176 \global\pdfdecimaldigits 4
177 \global\pdfgamma 1000
178 \global\pdfimageresolution 72
179 \global\pdfimageapplygamma 0
180 \global\pdfimagegamma 2200
181 \global\pdfimagehicolor 1
182 \global\pdfimageaddfilename 1
183 \global\pdfpkresolution 72
184 \global\pdfinclusioncopyfonts 0
185 \global\pdfinclusionerrorlevel 0
186 \global\pdfgentounicode 0
187
188
189
190
191
192
193 \global\pdfpagebox 0
194
195 \global\pdfminorversion 4
196 \global\pdfuniqueresname 0
197
198 \global\pdfhorigin 1in
199 \global\pdfvorigin 1in
200 \global\pdflinkmargin 0pt
201 \global\pdfdestmargin 0pt
202 \global\pdfthreadmargin 0pt
203
204\fi
205
206\endgroup
207
208\endinput
209 |