% This is a config file for dvips 5.85(k) and teTeX, which is % meant to produce PostScript optimized for distilling to PDF. % Experimental. Created 12 Apr 1999 by tvz@nwu.edu; public domain. % % Place this file in teTeX/texmf/dvips/config/config.pdf-file % then run texhash and give the command dvips -Ppdf-file filename.dvi % % As of September 1999 this file is at http://zandtwerk.insead.fr/config % % Memory available: The default for Distiller 3.0x is 8meg. % Reduce to be on safe side: m 6000000 % Default is to save output as the file temp.ps. % If possible, change this so that it pipes output to distiller. % If not, use command line ``-o file'' option to change name % of output file. o temp.ps % Default resolution. Attempt to make `resolution independent'. % Resolution set to 8000dpi (could be as high as 10000). D 8000 % This is for using BlueSky/AMS/Y&Y Type 1 fonts. Change this for other % Type 1 fonts. p+ bsr.map p+ bsr-missing-interpolated.map % Last resort sizes. % If you accidentally include a bitmapped pk font, it will probably go % at 600dpi. R 300 600 % Partial Type1 font downloading. This will happen by default. Uncomment % this is you want to download entire fonts. NOT RECOMMENDED. % j0 % Character shifting. You want to do this using the BlueSky/AMS/Y&Y fonts. % It remaps certain ``control character'' positions to an another range % where these characters are repeated. This option is *incompatible* with % standard Adobe or other Type 1 fonts when these use an encoding such % as TeXBase1 that uses the control character positions. E.g., the virtual % fonts now provided with teTeX for use with Adobe's built-in fonts % all use a problematic encoding. I got around this by creating an old- % fashioned set of virtual fonts that uses Adobe's standard encoding. G % Switching algorithm for drawing rules. texc.pro is loaded by default, % but the h tex.pro is need so that it comes before the patch. See % below for more details. h tex.pro h alt-rule.pro % The above presumes that you have, in a place dvips looks for header files, % the following lines (without the *) in a file named alt-rule.pro: *%! *% Patch by TVZ *% Makes dvips files draw rules with stroke rather than fill. *% Makes narrow rules more predictable at low resolutions *% after distilling to PDF. *% May have unknown consequences for very thick rules. *% Tested only with dvips 5.85(k). *TeXDict begin */QV { * gsave newpath /ruleY X /ruleX X * Rx Ry gt * { ruleX ruleY Ry 2 div sub moveto Rx 0 rlineto Ry } * { ruleX Rx 2 div add ruleY moveto 0 Ry neg rlineto Rx } * ifelse * setlinewidth 0 setlinecap stroke grestore *} bind def *end % Paper size information. First definition is the default. % I have no idea how to optimize this for distilling. %@ A4size 210mm 297mm %@+ %%PaperSize: A4 @ letterSize 8.5in 11in @ letter 8.5in 11in @+ %%BeginPaperSize: Letter @+ letter @+ %%EndPaperSize @ legal 8.5in 14in @+ ! %%DocumentPaperSizes: Legal @+ %%BeginPaperSize: Legal @+ legal @+ %%EndPaperSize @ ledger 17in 11in @+ ! %%DocumentPaperSizes: Ledger @+ %%BeginPaperSize: Ledger @+ ledger @+ %%EndPaperSize @ tabloid 11in 17in @+ ! %%DocumentPaperSizes: Tabloid @+ %%BeginPaperSize: Tabloid @+ 11x17 @+ %%EndPaperSize @ a4 210mm 297mm @+ ! %%DocumentPaperSizes: a4 @+ %%BeginPaperSize: a4 @+ a4 @+ %%EndPaperSize @ a3 297mm 420mm @+ ! %%DocumentPaperSizes: a3 @+ %%BeginPaperSize: a3 @+ a3 @+ %%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