Convert eps to pdf with the correct page size or boundaries
Linux
ps2pdf
by itself always converted the ps
file to pdf
onto a different sized paper. I finally discovered how to get the right paper size via this post. Here is my eps2pdf.sh
script:
#! /bin/bash
## look in comments
## http://opendevice.blogspot.com/2007/05/eps-to-pdf-how-to-avoid-clipping.html
for file in "$@"
do
ps2pdf -dEPSCrop "$file"
done