What are the issues you're having with Calibre? I've found it to preserve the formatting I'm looking for. What formatting are you talking about that it's not preserving?
When the PDF is very clearly structured it's working just fine. But let's say the layout consists of multiple columns and complex formatting the output gets very imprecise. If the material is scanned it won't function at all.