From 751e02eaa97418521f089d742eb60c2c4672f31c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 23 May 2007 00:03:05 +0000 Subject: a4=a4size, letter=letterSize, execute setpagedevice for all, use a4/letter in texconfig git-svn-id: svn://tug.org/texlive/trunk@4340 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/dvips/config/config.ps | 38 ++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'Master/texmf/dvips') diff --git a/Master/texmf/dvips/config/config.ps b/Master/texmf/dvips/config/config.ps index 3c61d47eb91..b2382474f3e 100644 --- a/Master/texmf/dvips/config/config.ps +++ b/Master/texmf/dvips/config/config.ps @@ -1,5 +1,5 @@ % config.ps - configuration file for dvips. -% Tomas Rokicki, Thomas Esser, Karl Berry, et al., 1998, public domain. +% Tomas Rokicki, Thomas Esser, Karl Berry, et al., 1986ff, public domain. % Memory available. Download the three-line PostScript file: % %! Hey, we're PostScript @@ -54,13 +54,33 @@ j % 0 0 595 842 is the right bounding box that most applications expect % for A4. Since dvips always rounds up, choose something slightly smaller. +@ a4 209.9mm 297.04mm +@+ ! %%DocumentPaperSizes: a4 +@+ %%BeginPaperSize: a4 +@+ << /PageSize [595 842] >> setpagedevice +@+ %%EndPaperSize + +@ letter 8.5in 11in +@+ ! %%DocumentPaperSizes: Letter +@+ %%BeginPaperSize: Letter +@+ << /PageSize [612 792] >> setpagedevice +@+ %%EndPaperSize + +% these used to be the default paper sizes used, and they did not +% execute any page size operator, but now it seems there is no reason +% not to use setpagedevice. +% @ a4size 209.9mm 297.04mm +@+ %%BeginPaperSize: a4 @+ ! %%DocumentPaperSizes: a4 -@+ %%PaperSize: a4 +@+ << /PageSize [595 842] >> setpagedevice +@+ %%EndPaperSize @ letterSize 8.5in 11in @+ ! %%DocumentPaperSizes: Letter -@+ %%PaperSize: Letter +@+ %%BeginPaperSize: Letter +@+ << /PageSize [612 792] >> setpagedevice +@+ %%EndPaperSize: Letter @ halfexecutive 133.35mm 184.15mm @+ ! %%DocumentPaperSizes: halfexecutive @@ -100,12 +120,6 @@ j @+ << /PageSize [432 648] >> setpagedevice @+ %%EndPaperSize -@ letter 8.5in 11in -@+ ! %%DocumentPaperSizes: Letter -@+ %%BeginPaperSize: Letter -@+ << /PageSize [612 792] >> setpagedevice -@+ %%EndPaperSize - @ quarto 215.19mm 275.17mm @+ ! %%DocumentPaperSizes: quarto @+ %%BeginPaperSize: quarto @@ -178,12 +192,6 @@ j @+ << /PageSize [842 1190] >> setpagedevice @+ %%EndPaperSize -@ a4 209.9mm 297.04mm -@+ ! %%DocumentPaperSizes: a4 -@+ %%BeginPaperSize: a4 -@+ << /PageSize [595 842] >> setpagedevice -@+ %%EndPaperSize - @ a5 148.52mm 209.9mm @+ ! %%DocumentPaperSizes: a5 @+ %%BeginPaperSize: a5 -- cgit v1.2.3