moss@cs.umass.edu (Eliot Moss) (06/28/90)
... or you can use a more capable package such as psfig, which will frequently figure out the bounding box for you by scanning the PostScript file. (You can also tell it the bounding box). Some other nice things about psfig include: you can scale the figure, you can run in draft mode (space reserved but figure not inserted), you can control its verbosity, it is more independent of a particular driver's \special commands, and you can request insertion of header files (e.g., Mac prologs). I use it with Rokicki's dvips and like the combo. Note that some PostScript files (ones with no bounding box or an inadequate one) require a little extra work (mainly measuring the figure), and some non-EPSF format files (especially from some older Mac tools such as MacDraw) require even a little more fiddling than that (the "op" and "F T cp" lines of MacDraw files are an especial pain; it usually works reasonably well just to comment out the "F T cp" line; sometimes I need to do these replacements to make all other tools (e.g., previewers) happy: "op" ==> "/pm save def" and "F T cp" ==> "pm restore"). Hope this also helps .... Eliot -- J. Eliot B. Moss, Assistant Professor Department of Computer and Information Science Lederle Graduate Research Center University of Massachusetts Amherst, MA 01003 (413) 545-4206; Moss@cs.umass.edu