Matthew, > On Tue, 2005-04-05 at 07:24 +1000, Russell Lang wrote: > > In recent versions of Ghostscript, adding -dEPSCrop will crop the > > page to the bounding box, both when converting to bitmap formats > > and when converting to PDF. See doc/Use.htm for details. > > Thanks for the tip; I had read the man page but not HTML docs :-S. > However, using either EPSCrop and/or EPSFitPage doesn't work for me. It > produces results that go off the paper in gpdf and don't even show up in > the final document that pdflatex produces. The ones I modified by hand > still work fine though...
Converting with the following gives a PDF file with the media size set to the EPS Bounding Box. d.eps is your diagram.eps with the first line changed to mark it as EPS. gs -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=out.pdf -dNOPAUSE -dBATCH -dAutoRotatePages=/None -c .setpdfwrite -f d.eps Russell Lang [EMAIL PROTECTED] Ghostgum Software Pty Ltd http://www.ghostgum.com.au/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

