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 oh hey, thank you for this work!
Stirling PDF: Free Adobe Acrobat Alternative (10M+ Downloads)

Stirling PDF is the leading self-hosted, open source PDF editor—trusted by millions as a powerful, privacy-first alternative to Adobe Acrobat.

@Dragon Stirlingpdf is a .com site but I see the tools are free of charge. Since the economic model seems based on services rather than software sales, I am open to discussion but my script can't be incorporated into a paid-for software

@andre_ourednik appears to be the MIT license on GitHub for starling but it’s of course for your code it’s completely up to you how you wish to license it.

I just quite liked the way starling wrapped everything in their webui the couple times I’ve used it made it very point click , done

@andre_ourednik That looks really handy!

(I get what it actually means, but my brain insists on reading the name in the style of "project.007.some_feature.004.final.final" 😅)

@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 🤗