View Single Post
Old 11-11-2023, 08:11 PM   #14
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Tex2002ans View Post
Hmmm... isn't that already what Calibre is doing when it's using its heuristics?
Possibly, yes, I think calibre's pdftohtml Poppler utility does have an XML output option, but it's not the utility I ended up using.

IIRC, when I originally experimented with calibre's PDF to EPUB conversion I had difficulties with the first couple of PDFs I tried. One of them failed to retain italics, the other did detect italics but failed to retain scenebreaks. For both of them, trying to remove PDF headers/footers via the convert-search/replace option was a PITA. Maybe I was just unlucky with my choice of PDFs but all 3 of those problems were showstoppers for me so I didn't pursue one-click PDF conversion any further. This was over 10 years ago, maybe it's better now ... but based on the OP's first post, maybe not.

Quote:
Originally Posted by Tex2002ans View Post
Trying to convert from PDF like that is a dark, dark, path!
Yes, but it is a well-trodden path which is already laid No point re-inventing the wheel if it works well enough for the occasional new PDF as I only convert for personal use or sometimes as a favour for a friend. FWIW the main reason for my original post was to say that "where there's a will there's a way" but hoping for a one-size-fits-all "magic button" is likely to end in disappointment.
jackie_w is offline   Reply With Quote