Ever felt the need to convert a #PDF into a fixed-layout #EPUB that preserves the table of contents, internal cross-references and hyperlinks? Finding no out-of-the-box solution, I've developed one myself using #Python and the #PyMuPDF library. Here it is, open source, and ready for use:

https://github.com/aourednik/pdf2epub3fixed

My script is particularly suitable for the conversion of complex layout PDFs generated with variants of #TeXLaTeX.
Enjoy!

GitHub - aourednik/pdf2epub3fixed: Convert PDF to fixed-layout EPUB, conserving the table of contents, inner cross-references and hyperlinks.

Convert PDF to fixed-layout EPUB, conserving the table of contents, inner cross-references and hyperlinks. - aourednik/pdf2epub3fixed

GitHub
@andre_ourednik Hi André! This looks amazing! But as a non-dev Windows person, please allow me to I ask if it would be hard for you to offer it as a command line executable, taking parameters?
@daniel Hi, thanks for your feedback. Packaging this in an executable is beyond my resources but, in reaction to your post, I now provide more thorough step by step installation insctuctions, including for Windows.
Also, you can now set the parameters in a config file, rather than editing the preamble of the main python code. Tell me if this helps
@andre_ourednik thanks for your kindness! The new instructions are very clear... I'll test them soon 🤗