https://github.com/Leedehai/typst-physics/blob/master/physic...
And fed it through the top pdf2epub on google:
https://cloudconvert.com/pdf-to-epub
Plain text is fine, but all maths is mangled, and tables and matrices are completely destroyed.