converting ps or eps files to pdf always left me with the wrong cropping of the image/page and with a white border that messes up the formatiing. To avoid this I convert the files using the following command:

<code style="color: black !important;" class="bash plain">ps2pdf -dPDFSETTINGS=</code><code style="color: black !important;" class="bash plain">/prepress</code><code style="color: black !important;" class="bash plain">-dEPSCrop </code><code style="color: #ff1493 !important;" class="bash functions">test</code><code style="color: black !important;" class="bash plain">.eps</code>