Calibre and online sites can convert from PDF to Epub usually lose most of the format. I tried PDFElements, with similarly poor results.
Is there any service/app that actually works and converts a PDF to Epub in a way that resembles closely the original?
@nostupidquestions@lemmy.world For posterity, I found that https://github.com/pdf2htmlEX/pdf2htmlEX does an excellent job converting to HTML (although the file size increases a lot).