PageRenderTime 91ms CodeModel.GetById 35ms app.highlight 52ms RepoModel.GetById 1ms app.codeStats 0ms

/texmf/dvips/config/config.ps

http://github.com/brinkman83/bashrc
Unknown | 604 lines | 531 code | 73 blank | 0 comment | 0 complexity | 88e1d06a50fde3e976c0d783c5627ba0 MD5 | raw file
  1% $Id: config.ps 15465 2009-09-26 18:30:44Z karl $
  2% config.ps - configuration file for dvips.
  3% Tomas Rokicki, Thomas Esser, Karl Berry, et al., 1986ff, public domain.
  4
  5% Memory available. Download the three-line PostScript file:
  6%   %! Hey, we're PostScript
  7%   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
  8%   vmstatus exch sub 40 string cvs show pop showpage
  9% to determine this number. (It will be the only thing printed.)
 10m 3500000
 11
 12% Run securely.  z2 disables both shell command execution in
 13% `\special' and config files (via the `E' option) and opening of any
 14% absolute filenames.  z1, the default, forbids shell escapes but
 15% allows absolute filenames.  z0 allows both.  The corresponding
 16% command line options are -R0|-R1|-R2
 17z1
 18
 19% How to print, maybe with lp instead lpr, etc. If commented-out, output
 20% will go into a file by default.
 21%o |lpr
 22
 23% Default resolution of this device, in dots per inch.
 24D 600
 25X 600
 26Y 600
 27
 28% Metafont mode.  (This is completely different from the -M
 29% command-line option, which controls whether mktexpk is invoked.)
 30% See ../../metafont/misc/modes.mf for a list of mode names.  This mode
 31% and the D number above must agree, or mktexpk will get confused.
 32M ljfour
 33
 34% Last resort bitmap sizes.
 35R 300 600
 36
 37% Correct printer offset. You can use testpage.tex from the LaTeX
 38% distribution to find these numbers.
 39O 0pt,0pt
 40
 41% Bitmap font compression. Results in more compact output files, but
 42% sometimes causes trouble. So the default is disabled. Set Z1 to enable
 43% this feature.
 44Z0
 45
 46% Partially download Type 1 fonts by default.  Only reason not to do
 47% this is if you encounter bugs.  (Please report them to
 48% @email{tex-k@tug.org} if you do.)
 49j
 50
 51% This shows how to add your own map file.
 52% Remove the comment and adjust the name:
 53% p +myfonts.map
 54
 55% In the past, the a4size and letterSize definitions did not set the
 56% paper size, but we want to set it if we can so that ps2pdf can work
 57% properly.  So, a4 and a4size, and letter and letterSize, are made
 58% identical here, and we prefer the a4/letter names -- texconfig uses them.
 59%
 60% In the definitions below, if we have setpagedevice, use that.
 61% Else if we have the a4 resp. letter operator, use that.
 62% Else do nothing to set the page size.
 63% 
 64% If you need to have no paper size stuff in the output at all, e.g., if
 65% you are producing a multi-page document for further processing, use
 66% -tnopaper (defined at end).  (With a single-page document, you can use -E.)
 67%
 68% emacs-page
 69
 70@ a4 210mm 297mm
 71@+ ! %%DocumentPaperSizes: a4
 72@+ %%BeginPaperSize: a4
 73@+ /setpagedevice where
 74@+  { pop << /PageSize [595 842] >> setpagedevice }
 75@+  { /a4 where { pop a4 } if }
 76@+ ifelse
 77@+ %%EndPaperSize
 78
 79@ letter 8.5in 11in
 80@+ ! %%DocumentPaperSizes: Letter
 81@+ %%BeginPaperSize: Letter
 82@+ /setpagedevice where
 83@+  { pop << /PageSize [612 792] >> setpagedevice }
 84@+  { /letter where { pop letter } if }
 85@+ ifelse
 86@+ %%EndPaperSize
 87
 88@ a4size 210mm 297mm
 89@+ ! %%DocumentPaperSizes: a4
 90@+ %%BeginPaperSize: a4
 91@+ /setpagedevice where
 92@+  { pop << /PageSize [595 842] >> setpagedevice }
 93@+  { /a4 where { pop a4 } if }
 94@+ ifelse
 95@+ %%EndPaperSize
 96
 97@ letterSize 8.5in 11in
 98@+ ! %%DocumentPaperSizes: Letter
 99@+ %%BeginPaperSize: Letter
100@+ /setpagedevice where
101@+  { pop << /PageSize [612 792] >> setpagedevice }
102@+  { /letter where { pop letter } if }
103@+ ifelse
104@+ %%EndPaperSize
105
106% The jacow paper size is the smaller of letter and a4 in both
107% dimensions, and can therefore hopefully be printed on either paper
108% size.  As far as we know, Volker Schaa first used it for the JACOW
109% conference proceedings that he produced.
110@ jacow 210mm 11in
111@+ ! %%DocumentPaperSizes: jacow
112@+ %%BeginPaperSize: jacow
113@+ /setpagedevice where
114@+  { pop << /PageSize [595 792] >> setpagedevice }
115@+ if
116@+ %%EndPaperSize
117
118% The smallbook paper size has been used by the Free Software Foundation
119% to print manuals for many years, and is part of Texinfo.
120@ smallbook 7in 9.25in
121@+ ! %%DocumentPaperSizes: smallbook
122@+ %%BeginPaperSize: smallbook
123@+ /setpagedevice where
124@+  { pop << /PageSize [504 666] >> setpagedevice }
125@+ if
126@+ %%EndPaperSize
127
128@ halfexecutive 133mm 184mm
129@+ ! %%DocumentPaperSizes: halfexecutive
130@+ %%BeginPaperSize: halfexecutive
131@+ /setpagedevice where
132@+  { pop << /PageSize [378 522] >> setpagedevice }
133@+ if
134@+ %%EndPaperSize
135
136@ halfletter 140mm 216mm
137@+ ! %%DocumentPaperSizes: halfletter
138@+ %%BeginPaperSize: halfletter
139@+ /setpagedevice where
140@+  { pop << /PageSize [396 612] >> setpagedevice }
141@+ if
142@+ %%EndPaperSize
143
144@ statement 140mm 216mm
145@+ ! %%DocumentPaperSizes: statement
146@+ %%BeginPaperSize: statement
147@+ /setpagedevice where
148@+  { pop << /PageSize [396 612] >> setpagedevice }
149@+ if
150@+ %%EndPaperSize
151
152@ executive 184mm 267mm
153@+ ! %%DocumentPaperSizes: executive
154@+ %%BeginPaperSize: executive
155@+ /setpagedevice where
156@+  { pop << /PageSize [522 756] >> setpagedevice }
157@+ if
158@+ %%EndPaperSize
159
160% for powerdot
161@ screen 8.25in 11in
162@+ ! %%DocumentPaperSizes: Screen
163@+ %%BeginPaperSize: Screen
164@+ /setpagedevice where
165@+  { pop << /PageSize [594 792] >> setpagedevice }
166@+ if
167@+ %%EndPaperSize
168
169% a common size for printers (in north america).
170@ sixbynine 6in 9in
171@+ ! %%DocumentPaperSizes: SixByNine
172@+ %%BeginPaperSize: SixByNine
173@+ /setpagedevice where
174@+  { pop << /PageSize [432 648] >> setpagedevice }
175@+ if
176@+ %%EndPaperSize
177
178@ quarto 215mm 275mm
179@+ ! %%DocumentPaperSizes: quarto
180@+ %%BeginPaperSize: quarto
181@+ /setpagedevice where
182@+  { pop << /PageSize [610 780] >> setpagedevice }
183@+ if
184@+ %%EndPaperSize
185
186@ note 216mm 279mm
187@+ ! %%DocumentPaperSizes: note
188@+ %%BeginPaperSize: note
189@+ /setpagedevice where
190@+  { pop << /PageSize [612 792] >> setpagedevice }
191@+ if
192@+ %%EndPaperSize
193
194@ folio 216mm 330mm
195@+ ! %%DocumentPaperSizes: folio
196@+ %%BeginPaperSize: folio
197@+ /setpagedevice where
198@+  { pop << /PageSize [612 936] >> setpagedevice }
199@+ if
200@+ %%EndPaperSize
201
202@ legal 8.5in 14in
203@+ ! %%DocumentPaperSizes: Legal
204@+ %%BeginPaperSize: Legal
205@+ /setpagedevice where
206@+  { pop << /PageSize [612 1008] >> setpagedevice }
207@+ if
208@+ %%EndPaperSize
209
210@ 10x14 10in 14in
211@+ ! %%DocumentPaperSizes: 10x14
212@+ %%BeginPaperSize: 10x14
213@+ /setpagedevice where
214@+  { pop << /PageSize [720 1008] >> setpagedevice }
215@+ if
216@+ %%EndPaperSize
217
218@ ledger 17in 11in
219@+ ! %%DocumentPaperSizes: Ledger
220@+ %%BeginPaperSize: Ledger
221@+ /setpagedevice where
222@+  { pop << /PageSize [1224 792] >> setpagedevice }
223@+ if
224@+ %%EndPaperSize
225
226@ tabloid 11in 17in
227@+ ! %%DocumentPaperSizes: Tabloid
228@+ %%BeginPaperSize: Tabloid
229@+ /setpagedevice where
230@+  { pop << /PageSize [792 1224] >> setpagedevice }
231@+ if
232@+ %%EndPaperSize
233
234@ 11x17 11in 17in
235@+ ! %%DocumentPaperSizes: 11x17
236@+ %%BeginPaperSize: 11x17
237@+ /setpagedevice where
238@+  { pop << /PageSize [792 1224] >> setpagedevice }
239@+ if
240@+ %%EndPaperSize
241
242@ a0 841mm 1189mm
243@+ ! %%DocumentPaperSizes: a0
244@+ %%BeginPaperSize: a0
245@+ /setpagedevice where
246@+  { pop << /PageSize [2384 3370] >> setpagedevice }
247@+  { /a0 where { pop a0 } if }
248@+ ifelse
249@+ %%EndPaperSize
250
251@ a1 594mm 841mm
252@+ ! %%DocumentPaperSizes: a1
253@+ %%BeginPaperSize: a1
254@+ /setpagedevice where
255@+  { pop << /PageSize [1684 2384] >> setpagedevice }
256@+  { /a1 where { pop a1 } if }
257@+ ifelse
258@+ %%EndPaperSize
259
260@ a2 420mm 594mm
261@+ ! %%DocumentPaperSizes: a2
262@+ %%BeginPaperSize: a2
263@+ /setpagedevice where
264@+  { pop << /PageSize [1191 1684] >> setpagedevice }
265@+  { /a2 where { pop a2 } if }
266@+ ifelse
267@+ %%EndPaperSize
268
269@ a3 297mm 420mm
270@+ ! %%DocumentPaperSizes: a3
271@+ %%BeginPaperSize: a3
272@+ /setpagedevice where
273@+  { pop << /PageSize [842 1191] >> setpagedevice }
274@+  { /a3 where { pop a3 } if }
275@+ ifelse
276@+ %%EndPaperSize
277
278@ a5 148mm 210mm
279@+ ! %%DocumentPaperSizes: a5
280@+ %%BeginPaperSize: a5
281@+ /setpagedevice where
282@+  { pop << /PageSize [420 595] >> setpagedevice }
283@+  { /a5 where { pop a5 } if }
284@+ ifelse
285@+ %%EndPaperSize
286
287@ a6 105mm 148mm
288@+ ! %%DocumentPaperSizes: a6
289@+ %%BeginPaperSize: a6
290@+ /setpagedevice where
291@+  { pop << /PageSize [298 420] >> setpagedevice }
292@+  { /a6 where { pop a6 } if }
293@+ ifelse
294@+ %%EndPaperSize
295
296@ a7 74mm 105mm
297@+ ! %%DocumentPaperSizes: a7
298@+ %%BeginPaperSize: a7
299@+ /setpagedevice where
300@+  { pop << /PageSize [210 298] >> setpagedevice }
301@+  { /a7 where { pop a7 } if }
302@+ ifelse
303@+ %%EndPaperSize
304
305@ a8 52mm 74mm
306@+ ! %%DocumentPaperSizes: a8
307@+ %%BeginPaperSize: a8
308@+ /setpagedevice where
309@+  { pop << /PageSize [147 210] >> setpagedevice }
310@+  { /a8 where { pop a8 } if }
311@+ ifelse
312@+ %%EndPaperSize
313
314@ a9 37mm 52mm
315@+ ! %%DocumentPaperSizes: a9
316@+ %%BeginPaperSize: a9
317@+ /setpagedevice where
318@+  { pop << /PageSize [105 147] >> setpagedevice }
319@+  { /a9 where { pop a9 } if }
320@+ ifelse
321@+ %%EndPaperSize
322
323@ a10 26mm 37mm
324@+ ! %%DocumentPaperSizes: a10
325@+ %%BeginPaperSize: a10
326@+ /setpagedevice where
327@+  { pop << /PageSize [74 105] >> setpagedevice }
328@+  { /a10 where { pop a10 } if }
329@+ ifelse
330@+ %%EndPaperSize
331
332@ jisb0 1030mm 1456mm
333@+ ! %%DocumentPaperSizes: jisb0
334@+ %%BeginPaperSize: jisb0
335@+ /setpagedevice where
336@+  { pop << /PageSize [2920 4127] >> setpagedevice }
337@+  { /jisb0 where { pop jisb0 } if }
338@+ ifelse
339@+ %%EndPaperSize
340
341@ jisb1 728mm 1030mm
342@+ ! %%DocumentPaperSizes: jisb1
343@+ %%BeginPaperSize: jisb1
344@+ /setpagedevice where
345@+  { pop << /PageSize [2064 2920] >> setpagedevice }
346@+  { /jisb1 where { pop jisb1 } if }
347@+ ifelse
348@+ %%EndPaperSize
349
350@ jisb2 515mm 728mm
351@+ ! %%DocumentPaperSizes: jisb2
352@+ %%BeginPaperSize: jisb2
353@+ /setpagedevice where
354@+  { pop << /PageSize [1460 2064] >> setpagedevice }
355@+  { /jisb2 where { pop jisb2 } if }
356@+ ifelse
357@+ %%EndPaperSize
358
359@ jisb3 364mm 515mm
360@+ ! %%DocumentPaperSizes: jisb3
361@+ %%BeginPaperSize: jisb3
362@+ /setpagedevice where
363@+  { pop << /PageSize [1032 1460] >> setpagedevice }
364@+  { /jisb3 where { pop jisb3 } if }
365@+ ifelse
366@+ %%EndPaperSize
367
368@ jisb4 257mm 364mm
369@+ ! %%DocumentPaperSizes: jisb4
370@+ %%BeginPaperSize: jisb4
371@+ /setpagedevice where
372@+  { pop << /PageSize [729 1032] >> setpagedevice }
373@+  { /jisb4 where { pop jisb4 } if }
374@+ ifelse
375@+ %%EndPaperSize
376
377@ jisb5 182mm 257mm
378@+ ! %%DocumentPaperSizes: jisb5
379@+ %%BeginPaperSize: jisb5
380@+ /setpagedevice where
381@+  { pop << /PageSize [516 729] >> setpagedevice }
382@+  { /jisb5 where { pop jisb5 } if }
383@+ ifelse
384@+ %%EndPaperSize
385
386@ jisb6 128mm 182mm
387@+ ! %%DocumentPaperSizes: jisb6
388@+ %%BeginPaperSize: jisb6
389@+ /setpagedevice where
390@+  { pop << /PageSize [363 516] >> setpagedevice }
391@+  { /jisb6 where { pop jisb6 } if }
392@+ ifelse
393@+ %%EndPaperSize
394
395@ jisb7 91mm 128mm
396@+ ! %%DocumentPaperSizes: jisb7
397@+ %%BeginPaperSize: jisb7
398@+ /setpagedevice where
399@+  { pop << /PageSize [258 363] >> setpagedevice }
400@+  { /jisb7 where { pop jisb7 } if }
401@+ ifelse
402@+ %%EndPaperSize
403
404@ jisb8 64mm 91mm
405@+ ! %%DocumentPaperSizes: jisb8
406@+ %%BeginPaperSize: jisb8
407@+ /setpagedevice where
408@+  { pop << /PageSize [181 258] >> setpagedevice }
409@+  { /jisb8 where { pop jisb8 } if }
410@+ ifelse
411@+ %%EndPaperSize
412
413@ b0 1000mm 1414mm
414@+ ! %%DocumentPaperSizes: b0
415@+ %%BeginPaperSize: b0
416@+ /setpagedevice where
417@+  { pop << /PageSize [2835 4008] >> setpagedevice }
418@+  { /b0 where { pop b0 } if }
419@+ ifelse
420@+ %%EndPaperSize
421
422@ b1 707mm 1000mm
423@+ ! %%DocumentPaperSizes: b1
424@+ %%BeginPaperSize: b1
425@+ /setpagedevice where
426@+  { pop << /PageSize [2004 2835] >> setpagedevice }
427@+  { /b1 where { pop b1 } if }
428@+ ifelse
429@+ %%EndPaperSize
430
431@ b2 500mm 707mm
432@+ ! %%DocumentPaperSizes: b2
433@+ %%BeginPaperSize: b2
434@+ /setpagedevice where
435@+  { pop << /PageSize [1417 2004] >> setpagedevice }
436@+  { /b2 where { pop b2 } if }
437@+ ifelse
438@+ %%EndPaperSize
439
440@ b3 353mm 500mm
441@+ ! %%DocumentPaperSizes: b3
442@+ %%BeginPaperSize: b3
443@+ /setpagedevice where
444@+  { pop << /PageSize [1001 1417] >> setpagedevice }
445@+  { /b3 where { pop b3 } if }
446@+ ifelse
447@+ %%EndPaperSize
448
449@ b4 250mm 353mm
450@+ ! %%DocumentPaperSizes: b4
451@+ %%BeginPaperSize: b4
452@+ /setpagedevice where
453@+  { pop << /PageSize [709 1001] >> setpagedevice }
454@+  { /b4 where { pop b4 } if }
455@+ ifelse
456@+ %%EndPaperSize
457
458@ b5 176mm 250mm
459@+ ! %%DocumentPaperSizes: b5
460@+ %%BeginPaperSize: b5
461@+ /setpagedevice where
462@+  { pop << /PageSize [499 709] >> setpagedevice }
463@+  { /b5 where { pop b5 } if }
464@+ ifelse
465@+ %%EndPaperSize
466
467@ b6 125mm 176mm
468@+ ! %%DocumentPaperSizes: b6
469@+ %%BeginPaperSize: b6
470@+ /setpagedevice where
471@+  { pop << /PageSize [354 499] >> setpagedevice }
472@+  { /b6 where { pop b6 } if }
473@+ ifelse
474@+ %%EndPaperSize
475
476@ c5 162mm 229mm
477@+ ! %%DocumentPaperSizes: c5
478@+ %%BeginPaperSize: c5
479@+ /setpagedevice where
480@+  { pop << /PageSize [459 649] >> setpagedevice }
481@+  { /c5 where { pop c5 } if }
482@+ ifelse
483@+ %%EndPaperSize
484
485@ DL 110mm 220mm
486@+ ! %%DocumentPaperSizes: DL
487@+ %%BeginPaperSize: DL
488@+ /setpagedevice where
489@+  { pop << /PageSize [312 624] >> setpagedevice }
490@+ if
491@+ %%EndPaperSize
492
493@ Comm10 105mm 241mm
494@+ ! %%DocumentPaperSizes: Comm10
495@+ %%BeginPaperSize: Comm10
496@+ /setpagedevice where
497@+  { pop << /PageSize [297 684] >> setpagedevice }
498@+ if
499@+ %%EndPaperSize
500
501@ Monarch 98.4mm 190.5mm
502@+ ! %%DocumentPaperSizes: Monarch
503@+ %%BeginPaperSize: Monarch
504@+ /setpagedevice where
505@+  { pop << /PageSize [279 540] >> setpagedevice }
506@+ if
507@+ %%EndPaperSize
508
509@ archE 36in 48in
510@+ ! %%DocumentPaperSizes: archE
511@+ %%BeginPaperSize: archE
512@+ /setpagedevice where
513@+  { pop << /PageSize [2592 3456] >> setpagedevice }
514@+ if
515@+ %%EndPaperSize
516
517@ archD 24in 36in
518@+ ! %%DocumentPaperSizes: archD
519@+ %%BeginPaperSize: archD
520@+ /setpagedevice where
521@+  { pop << /PageSize [1728 2592] >> setpagedevice }
522@+ if
523@+ %%EndPaperSize
524
525@ archC 18in 24in
526@+ ! %%DocumentPaperSizes: archC
527@+ %%BeginPaperSize: archC
528@+ /setpagedevice where
529@+  { pop << /PageSize [1296 1728] >> setpagedevice }
530@+ if
531@+ %%EndPaperSize
532
533@ archB 12in 18in
534@+ ! %%DocumentPaperSizes: archB
535@+ %%BeginPaperSize: archB
536@+ /setpagedevice where
537@+  { pop << /PageSize [864 1296] >> setpagedevice }
538@+ if
539@+ %%EndPaperSize
540
541@ archA 9in 12in
542@+ ! %%DocumentPaperSizes: archA
543@+ %%BeginPaperSize: archA
544@+ /setpagedevice where
545@+  { pop << /PageSize [648 864] >> setpagedevice }
546@+ if
547@+ %%EndPaperSize
548
549@ flsa 216mm 330.2mm
550@+ ! %%DocumentPaperSizes: flsa
551@+ %%BeginPaperSize: flsa
552@+ /setpagedevice where
553@+  { pop << /PageSize [612 936] >> setpagedevice }
554@+ if
555@+ %%EndPaperSize
556
557@ flse 216mm 330.2mm
558@+ ! %%DocumentPaperSizes: flse
559@+ %%BeginPaperSize: flse
560@+ /setpagedevice where
561@+  { pop << /PageSize [612 936] >> setpagedevice }
562@+ if
563@+ %%EndPaperSize
564
565@ csheet 431.8mm 558.8mm
566@+ ! %%DocumentPaperSizes: csheet
567@+ %%BeginPaperSize: csheet
568@+ /setpagedevice where
569@+  { pop << /PageSize [1224 1584] >> setpagedevice }
570@+ if
571@+ %%EndPaperSize
572
573@ dsheet 558.8mm 863.6mm
574@+ ! %%DocumentPaperSizes: dsheet
575@+ %%BeginPaperSize: dsheet
576@+ /setpagedevice where
577@+  { pop << /PageSize [1584 2448] >> setpagedevice }
578@+ if
579@+ %%EndPaperSize
580
581@ esheet 863.6mm 1117.6mm
582@+ ! %%DocumentPaperSizes: esheet
583@+ %%BeginPaperSize: esheet
584@+ /setpagedevice where
585@+  { pop << /PageSize [2448 3168] >> setpagedevice }
586@+ if
587@+ %%EndPaperSize
588
589% use -t unknown with a \special{papersize=...} for a nonstandard page size.
590@ unknown 0in 0in
591@+ % dvips-unknown
592@+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
593@+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
594@+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if
595
596% use -t nopaper to get no paper size stuff in the output at all.
597% This should remain as the last thing in the file, because the first
598% 0in 0in entry is chosen when there is nothing better; ordinarily, we
599% want to that to be "unknown", so that the correct nonstandard paper
600% size is output, instead of just being omitted.
601% http://groups.google.com/group/fr.comp.text.tex/browse_thread/thread/1b08961cf9b8a5ab/6b1d0b32443905e3
602% and mactex mailing list thread from 24 Sep 2009 11:36:26.
603@ nopaper 0in 0in
604@+ % dvips-nopaper