View Single Post
Old 01-20-2019, 08:29 PM   #19
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by maximus83 View Post
Maybe as an experiment, I should convert the book simply to split apart large files into smaller ones of 260K or less? I noticed just now clicking into edit mode on the book, there are a boatload of contained XHTML files that are of larger sizes: many many files are 400K to 800K, I didn't spot any over 1MB.
800K is far too big and will certainly result in problems. Such a book wouldn't even be able to be opened on many older devices.

Doing a Calibre conversion can help with some books, but it depends on whether Calibre is able to pick up the appropriate locations to break the files. A conversion can also introduce other problems such as the line-spacing or font-face becoming locked.

If the book has a conventional structure with chapter headings like "Chapter One", "Chapter Two" etc. or if the publisher has used appropriate html heading tags <h1>, <h2> etc. then Calibre will be able to use these as a guide to where to insert the file breaks. But if not then the breaks will occur at arbitrary locations, and the results will not be ideal, although it might still be an improvement on the original.

To get best results for books that don't have a conventional chapter structure you will probably have to locate the break points by hand, which can be a lot of work for a large book.

(Edit: Just a warning that if splitting the html files you should delete the old book from the device before loading the converted book with Calibre, so the the device notices the file structure of the book has changed. If you just "send to device" while the old book is still on the device then there will be problems.)

Last edited by GeoffR; 01-20-2019 at 08:50 PM. Reason: ... delete the old book from the device ...
GeoffR is offline   Reply With Quote