View Single Post
Old 10-10-2022, 03:21 PM   #9
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Quote:
Originally Posted by ownedbycats View Post
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.
retiredbiker is offline   Reply With Quote