summaryrefslogtreecommitdiff
path: root/Master/texmf/dvips/config/config.ps
blob: fa85a2934a1d0312c0b9533e382f813dc15fb6ad (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
% config.ps - configuration file for dvips.
% Tomas Rokicki, Thomas Esser, Karl Berry, et al., 1986ff, public domain.

% Memory available. Download the three-line PostScript file:
%   %! Hey, we're PostScript
%   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
%   vmstatus exch sub 40 string cvs show pop showpage
% to determine this number. (It will be the only thing printed.)
m 3500000

% Run securely.  z2 disables both shell command execution in
% `\special' and config files (via the `E' option) and opening of any
% absolute filenames.  z1, the default, forbids shell escapes but
% allows absolute filenames.  z0 allows both.  The corresponding
% command line options are -R0|-R1|-R2
z1

% How to print, maybe with lp instead lpr, etc. If commented-out, output
% will go into a file by default.
%o |lpr

% Default resolution of this device, in dots per inch.
D 600
X 600
Y 600

% Metafont mode.  (This is completely different from the -M
% command-line option, which controls whether mktexpk is invoked.)
% See ../../metafont/misc/modes.mf for a list of mode names.  This mode
% and the D number above must agree, or mktexpk will get confused.
M ljfour

% Last resort bitmap sizes.
R 300 600

% Correct printer offset. You can use testpage.tex from the LaTeX
% distribution to find these numbers.
O 0pt,0pt

% Bitmap font compression. Results in more compact output files, but
% sometimes causes trouble. So the default is disabled. Set Z1 to enable
% this feature.
Z0

% Partially download Type 1 fonts by default.  Only reason not to do
% this is if you encounter bugs.  (Please report them to
% @email{tex-k@tug.org} if you do.)
j

% This shows how to add your own map file.
% Remove the comment and adjust the name:
% p +myfonts.map

% If we have setpagedevice, use that.
% else if we have the a4 resp. letter operator, use that.
% else do nothing to set the page size.
% 
% In the past, the a4size and letterSize definitions did not set the
% page size, but we want to set it if we can so that ps2pdf can work
% properly.  Here, a4 and a4size, and letter and letterSize, are
% identical, and we prefer the a4/letter names -- texconfig uses them.
 
% 0 0 595 842 is the right bounding box that applications expect
% for A4.  Since dvips always rounds up, choose something slightly
% smaller for our paper size.

@ a4 209.9mm 297.04mm
@+ ! %%DocumentPaperSizes: a4
@+ %%BeginPaperSize: a4
@+ /setpagedevice where
@+  { pop << /PageSize [595 842] >> setpagedevice }
@+  { /a4 where { pop a4 } if }
@+ ifelse
@+ %%EndPaperSize

@ letter 8.5in 11in
@+ ! %%DocumentPaperSizes: Letter
@+ %%BeginPaperSize: Letter
@+ /setpagedevice where
@+   { pop << /PageSize [612 792] >> setpagedevice }
@+   { /letter where { pop letter } if }
@+ ifelse
@+ %%EndPaperSize

@ a4size 209.9mm 297.04mm
@+ ! %%DocumentPaperSizes: a4
@+ %%BeginPaperSize: a4
@+ /setpagedevice where
@+  { pop << /PageSize [595 842] >> setpagedevice }
@+  { /a4 where { pop a4 } if }
@+ ifelse
@+ %%EndPaperSize

@ letterSize 8.5in 11in
@+ ! %%DocumentPaperSizes: Letter
@+ %%BeginPaperSize: Letter
@+ /setpagedevice where
@+   { pop << /PageSize [612 792] >> setpagedevice }
@+   { /letter where { pop letter } if }
@+ ifelse
@+ %%EndPaperSize

@ halfexecutive 133.35mm 184.15mm
@+ ! %%DocumentPaperSizes: halfexecutive
@+ %%BeginPaperSize: halfexecutive
@+ << /PageSize [378 522] >> setpagedevice
@+ %%EndPaperSize

@ halfletter 139.7mm 215.9mm
@+ ! %%DocumentPaperSizes: halfletter
@+ %%BeginPaperSize: halfletter
@+ << /PageSize [396 612] >> setpagedevice
@+ %%EndPaperSize

@ statement 139.7mm 215.9mm
@+ ! %%DocumentPaperSizes: statement
@+ %%BeginPaperSize: statement
@+ << /PageSize [396 612] >> setpagedevice
@+ %%EndPaperSize

@ executive 184.15mm 266.7mm
@+ ! %%DocumentPaperSizes: executive
@+ %%BeginPaperSize: executive
@+ << /PageSize [522 756] >> setpagedevice
@+ %%EndPaperSize

% for powerdot
@ screen 8.25in 11in
@+ ! %%DocumentPaperSizes: Screen
@+ %%BeginPaperSize: Screen
@+ << /PageSize [594 792] >> setpagedevice
@+ %%EndPaperSize

% a common size for printers (in north america).
@ sixbynine 6in 9in
@+ ! %%DocumentPaperSizes: SixByNine
@+ %%BeginPaperSize: SixByNine
@+ << /PageSize [432 648] >> setpagedevice
@+ %%EndPaperSize

@ quarto 215.19mm 275.17mm
@+ ! %%DocumentPaperSizes: quarto
@+ %%BeginPaperSize: quarto
@+ << /PageSize [610 780] >> setpagedevice
@+ %%EndPaperSize

@ note 215.9mm 279.4mm
@+ ! %%DocumentPaperSizes: note
@+ %%BeginPaperSize: note
@+ << /PageSize [612 792] >> setpagedevice
@+ %%EndPaperSize

@ folio 215.9mm 330.2mm
@+ ! %%DocumentPaperSizes: folio
@+ %%BeginPaperSize: folio
@+ << /PageSize [612 936] >> setpagedevice
@+ %%EndPaperSize

@ legal 8.5in 14in
@+ ! %%DocumentPaperSizes: Legal
@+ %%BeginPaperSize: Legal
@+ << /PageSize [612 1008] >> setpagedevice
@+ %%EndPaperSize

@ 10x14 254mm 355.6mm
@+ ! %%DocumentPaperSizes: 10x14
@+ %%BeginPaperSize: 10x14
@+ << /PageSize [720 1008] >> setpagedevice
@+ %%EndPaperSize

@ ledger 17in 11in
@+ ! %%DocumentPaperSizes: Ledger
@+ %%BeginPaperSize: Ledger
@+ << /PageSize [1224 792] >> setpagedevice
@+ %%EndPaperSize

@ tabloid 11in 17in
@+ ! %%DocumentPaperSizes: Tabloid
@+ %%BeginPaperSize: Tabloid
@+ << /PageSize [792 1224] >> setpagedevice
@+ %%EndPaperSize

@ 11x17 11in 17in
@+ ! %%DocumentPaperSizes: 11x17
@+ %%BeginPaperSize: 11x17
@+ << /PageSize [792 1224] >> setpagedevice
@+ %%EndPaperSize

@ a0 839.61mm 1188.16mm
@+ ! %%DocumentPaperSizes: a0
@+ %%BeginPaperSize: a0
@+ << /PageSize [2380 3368] >> setpagedevice
@+ %%EndPaperSize

@ a1 594.08mm 839.61mm
@+ ! %%DocumentPaperSizes: a1
@+ %%BeginPaperSize: a1
@+ << /PageSize [1684 2380] >> setpagedevice
@+ %%EndPaperSize

@ a2 419.81mm 594.08mm
@+ ! %%DocumentPaperSizes: a2
@+ %%BeginPaperSize: a2
@+ << /PageSize [1190 1684] >> setpagedevice
@+ %%EndPaperSize

@ a3 297.04mm 419.81mm
@+ ! %%DocumentPaperSizes: a3
@+ %%BeginPaperSize: a3
@+ << /PageSize [842 1190] >> setpagedevice
@+ %%EndPaperSize

@ a5 148.52mm 209.9mm
@+ ! %%DocumentPaperSizes: a5
@+ %%BeginPaperSize: a5
@+ << /PageSize [421 595] >> setpagedevice
@+ %%EndPaperSize

@ a6 104.77mm 148.52mm
@+ ! %%DocumentPaperSizes: a6
@+ %%BeginPaperSize: a6
@+ << /PageSize [297 421] >> setpagedevice
@+ %%EndPaperSize

@ a7 74.08mm 104.77mm
@+ ! %%DocumentPaperSizes: a7
@+ %%BeginPaperSize: a7
@+ << /PageSize [210 297] >> setpagedevice
@+ %%EndPaperSize

@ a8 52.21mm 74.08mm
@+ ! %%DocumentPaperSizes: a8
@+ %%BeginPaperSize: a8
@+ << /PageSize [148 210] >> setpagedevice
@+ %%EndPaperSize

@ a9 37.04mm 52.21mm
@+ ! %%DocumentPaperSizes: a9
@+ %%BeginPaperSize: a9
@+ << /PageSize [105 148] >> setpagedevice
@+ %%EndPaperSize

@ a10 26.11mm 37.04mm
@+ ! %%DocumentPaperSizes: a10
@+ %%BeginPaperSize: a10
@+ << /PageSize [74 105] >> setpagedevice
@+ %%EndPaperSize

@ jisb0 1027.99mm 1455.91mm
@+ ! %%DocumentPaperSizes: jisb0
@+ %%BeginPaperSize: jisb0
@+ << /PageSize [2914 4127] >> setpagedevice
@+ %%EndPaperSize

@ jisb1 728.13mm 1027.99mm
@+ ! %%DocumentPaperSizes: jisb1
@+ %%BeginPaperSize: jisb1
@+ << /PageSize [2064 2914] >> setpagedevice
@+ %%EndPaperSize

@ jisb2 514mm 728.13mm
@+ ! %%DocumentPaperSizes: jisb2
@+ %%BeginPaperSize: jisb2
@+ << /PageSize [1457 2064] >> setpagedevice
@+ %%EndPaperSize

@ jisb3 364.07mm 514mm
@+ ! %%DocumentPaperSizes: jisb3
@+ %%BeginPaperSize: jisb3
@+ << /PageSize [1032 1457] >> setpagedevice
@+ %%EndPaperSize

@ jisb4 257.17mm 364.07mm
@+ ! %%DocumentPaperSizes: jisb4
@+ %%BeginPaperSize: jisb4
@+ << /PageSize [729 1032] >> setpagedevice
@+ %%EndPaperSize

@ jisb5 182.03mm 257.17mm
@+ ! %%DocumentPaperSizes: jisb5
@+ %%BeginPaperSize: jisb5
@+ << /PageSize [516 729] >> setpagedevice
@+ %%EndPaperSize

@ jisb6 128.41mm 182.03mm
@+ ! %%DocumentPaperSizes: jisb6
@+ %%BeginPaperSize: jisb6
@+ << /PageSize [364 516] >> setpagedevice
@+ %%EndPaperSize

@ jisb7 90.67mm 128.41mm
@+ ! %%DocumentPaperSizes: jisb7
@+ %%BeginPaperSize: jisb7
@+ << /PageSize [257 364] >> setpagedevice
@+ %%EndPaperSize

@ jisb8 64mm 90.67mm
@+ ! %%DocumentPaperSizes: jisb8
@+ %%BeginPaperSize: jisb8
@+ << /PageSize [181 257] >> setpagedevice
@+ %%EndPaperSize

@ b0 1000.48mm 1413.93mm
@+ ! %%DocumentPaperSizes: b0
@+ %%BeginPaperSize: b0
@+ << /PageSize [2836 4008] >> setpagedevice
@+ %%EndPaperSize

@ b1 706.97mm 1000.48mm
@+ ! %%DocumentPaperSizes: b1
@+ %%BeginPaperSize: b1
@+ << /PageSize [2004 2836] >> setpagedevice
@+ %%EndPaperSize

@ b2 500.24mm 706.97mm
@+ ! %%DocumentPaperSizes: b2
@+ %%BeginPaperSize: b2
@+ << /PageSize [1418 2004] >> setpagedevice
@+ %%EndPaperSize

@ b3 353.48mm 500.24mm
@+ ! %%DocumentPaperSizes: b3
@+ %%BeginPaperSize: b3
@+ << /PageSize [1002 1418] >> setpagedevice
@+ %%EndPaperSize

@ b4 250.12mm 353.48mm
@+ ! %%DocumentPaperSizes: b4
@+ %%BeginPaperSize: b4
@+ << /PageSize [709 1002] >> setpagedevice
@+ %%EndPaperSize

@ b5 176.74mm 250.12mm
@+ ! %%DocumentPaperSizes: b5
@+ %%BeginPaperSize: b5
@+ << /PageSize [501 709] >> setpagedevice
@+ %%EndPaperSize

@ b6 125.06mm 176.74mm
@+ ! %%DocumentPaperSizes: b6
@+ %%BeginPaperSize: b6
@+ << /PageSize [355 501] >> setpagedevice
@+ %%EndPaperSize

@ c5 161.92mm 232.48mm
@+ ! %%DocumentPaperSizes: c5
@+ %%BeginPaperSize: c5
@+ << /PageSize [459 659] >> setpagedevice
@+ %%EndPaperSize

@ DL 110.07mm 220.13mm
@+ ! %%DocumentPaperSizes: DL
@+ %%BeginPaperSize: DL
@+ << /PageSize [312 624] >> setpagedevice
@+ %%EndPaperSize

@ Comm10 104.77mm 241.3mm
@+ ! %%DocumentPaperSizes: Comm10
@+ %%BeginPaperSize: Comm10
@+ << /PageSize [297 684] >> setpagedevice
@+ %%EndPaperSize

@ Monarch 98.42mm 190.5mm
@+ ! %%DocumentPaperSizes: Monarch
@+ %%BeginPaperSize: Monarch
@+ << /PageSize [279 540] >> setpagedevice
@+ %%EndPaperSize

@ archE 914.4mm 1219.2mm
@+ ! %%DocumentPaperSizes: archE
@+ %%BeginPaperSize: archE
@+ << /PageSize [2592 3456] >> setpagedevice
@+ %%EndPaperSize

@ archD 609.1mm 914.4mm
@+ ! %%DocumentPaperSizes: archD
@+ %%BeginPaperSize: archD
@+ << /PageSize [1728 2592] >> setpagedevice
@+ %%EndPaperSize

@ archC 457.2mm 609.6mm
@+ ! %%DocumentPaperSizes: archC
@+ %%BeginPaperSize: archC
@+ << /PageSize [1296 1728] >> setpagedevice
@+ %%EndPaperSize

@ archB 304.8mm 457.2mm
@+ ! %%DocumentPaperSizes: archB
@+ %%BeginPaperSize: archB
@+ << /PageSize [864 1296] >> setpagedevice
@+ %%EndPaperSize

@ archA 228.6mm 304.8mm
@+ ! %%DocumentPaperSizes: archA
@+ %%BeginPaperSize: archA
@+ << /PageSize [648 864] >> setpagedevice
@+ %%EndPaperSize

@ flsa 215.9mm 330.2mm
@+ ! %%DocumentPaperSizes: flsa
@+ %%BeginPaperSize: flsa
@+ << /PageSize [612 936] >> setpagedevice
@+ %%EndPaperSize

@ flse 215.9mm 330.2mm
@+ ! %%DocumentPaperSizes: flse
@+ %%BeginPaperSize: flse
@+ << /PageSize [612 936] >> setpagedevice
@+ %%EndPaperSize

@ csheet 431.8mm 558.8mm
@+ ! %%DocumentPaperSizes: csheet
@+ %%BeginPaperSize: csheet
@+ << /PageSize [1224 1584] >> setpagedevice
@+ %%EndPaperSize

@ dsheet 558.8mm 863.6mm
@+ ! %%DocumentPaperSizes: dsheet
@+ %%BeginPaperSize: dsheet
@+ << /PageSize [1584 2448] >> setpagedevice
@+ %%EndPaperSize

@ esheet 863.6mm 1117.6mm
@+ ! %%DocumentPaperSizes: esheet
@+ %%BeginPaperSize: esheet
@+ << /PageSize [2448 3168] >> setpagedevice
@+ %%EndPaperSize

@ unknown 0in 0in
@+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
@+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
@+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if