[OS X TeX] How to convert eps w/bounding box to pdf retaining Bbox info

Siep Kroonenberg siepo at cybercomm.nl
Thu Aug 10 12:02:33 EDT 2006


On Thu, Aug 10, 2006 at 04:07:25PM +0200, Markus Hänchen wrote:
> Hi,
> 
> Being forced to move to pdflatex from tex+ghostscript because a 
> collaborator cannot get its ghostscript working, I have to convert my 
> eps files to pdf files. If I do a simply 'Save As' in Illustrator, the 
> resulting pdf will be an A4 with lots of whitespace below and on top of 
> my original figure. Not good.
> 
> Although the eps file also was shown to have a Document Size of A4 in 
> Illustrator, by virtue of having a bounding box (the bounding box 
> having been originally created by e.g. Igor or created by me in 
> Illustrator), Latex (tex+ghostscript) handled these figures without any 
> additional whitespace.
> 
> The only work-around I have found is to define a different document 
> size, be it in Illustrator or when creating a pdf directly out of 
> Matlab (there one is limited to a number of fixed paper sizes) before 
> saving as a pdf. This is quite cumbersome.
> 
> Is there a better way to produce high-quality graphs with pdflatex 
> without going the route of high-resolution bitmaps, especially for 
> graphs coming from Igor or Matlab?
> 
> Thanks,
> 
> Markus

Also have a look at my new epspdf[tk] script:

> Announce: epspdf and epspdftk, for
> conversion between EPS, generic PostScript and pdf.
>
> Features:
> - optional GUI
> - user-configurable distiller- and settings
> - single-page selection from multipage document
> - boundingbox correction
> - grayscaling
> - configuration screen
> - settings stored in config file (unix) or registry (windows)

> Download from http://tex.aanhet.net/epspdf/

For best results, also install the xpdf suite. The web page lists a
binary package for xpdf on osx, but it is easy to compile yourself.

-- 
Siep Kroonenberg
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list