If you must get a PDF book into EPUB, and keep all the formatting, the only way to do it is to convert the PDF to images first. It makes a huge file, of course, but it works, I just tried it.
You can convert the PDF into images for free at smallpdf.com, then when it’s done converting, you can merge the images back into one big PDF file on that same website. Then, you can use Calibre to convert that PDF of images into EPUB.
If you must get a PDF book into EPUB, and keep all the formatting, the only way to do it is to convert the PDF to images first. It makes a huge file, of course, but it works, I just tried it.
You can convert the PDF into images for free at smallpdf.com, then when it’s done converting, you can merge the images back into one big PDF file on that same website. Then, you can use Calibre to convert that PDF of images into EPUB.
will test this