Quote:
Originally Posted by ownedbycats
In my specific case, I have a book that the author decided to publish the book in a single HTML file even though the chapters are clearly marked. It causes ebook-viewer to freeze for a few seconds trying to open it and I don't even want to try it on my Kobo. I was hoping to fix it without doing an epub>epub conversion.
|
In the editor there is a "split at multiple locations" tool. Just right-click on the big file, in the text, to see it. Again it wants an x-path expression, but here it is usually pretty simple, and there is a wizard. If you have, or can easily make, well-defined chapter boundaries (like H1, class = chapter), it's dead simple.
I often merge all the chapter files (yeah, thanks Gutenberg) and then use this.