latex error: .xbb (no BoundingBox) for pdf files


So I have been encountering this error a lot for the pdf files which were working fine on one machine but after being shifted to other, could not compile me tex file. After spending quite a bit of time in fixing from with in latex, a friend recommended should just fix the pdfs themselves

so do following

%first convert pdf to eps

pdftops -eps yourPDFName.pdf yourPDFName.eps

%convert to eps with bounding box 

epstool –copy –bbox yourPDFName.eps –output yourPDFNameNew.eps

%convert back to pdf

epstopdf yourPDFNameNew.eps

 

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: