Trix & Graphix

Converting eps to pdf

In most Unix-like systems there is a tool called epstopdf. It is very simple, but incredibly useful for preparing figures for a LaTeX document. Nevertheless there are some cases in which this tool is not present in your system by default. For example Snow Leopard, the SO of Mac, does not provide it. If I remember correctly, this tool is also missing in Ubuntu, and I guess that this can be the case in many other Linux distributions. There are other cases in which although the tool is present, it does not work properly, and you get unexpected results with the warning message:

==> Warning: BoundingBox not found!
In this case, the problem is because you are using a too old version of this program. 

I have had problems in the past looking for a newer version, since you get a lot of garbage when searching epstopdf in google. Hence, this post is a simple hint to help you getting the program. Hopefully someone in the future will reach this post through google and will save a lot of time :)

The solution is simple: just go to the CTAN page of this software. Actually it is just a perl script. Place it somewhere and add the location of the script to your PATH. That's all folks.

0 Comments: