Turns out that this is actually harder than it seems. Looks like we can't use any built-in functions to extract the text from the book. After looking into a bit further, I've noticed Kindle Previewer 3 doesn't support KFX (so the library likely doesn't have a way to read the format) and KFX Output can't convert from KFX to other formats (so they likely also don't have a way to do that). This just got a lot harder. I'm not sure I can extract the text from the book. Will keep trying but I can't make any promises. Not going to lie -- it's looking pretty unlikely right now.
|