PDF --> EPub conversions are notoriously bad. PDF is just too broad of a standard to make such conversions a simple process. But if that's what you're stuck with, Calibre is probably your best tool for the job.