View Single Post
Old 10-24-2019, 05:21 PM   #3290
DrLimu
Connoisseur
DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.DrLimu ought to be getting tired of karma fortunes by now.
 
Posts: 61
Karma: 2485318
Join Date: Jun 2018
Location: Sweden
Device: Kobo Clara
Quote:
Originally Posted by JSWolf View Post
What I would do is split/join as needed. Then I would proceed to clean up the CSS. I would rename all the HTML files so you know what they are by the name. I would also losslessly compress any graphics. If you have multiple CSS, I would merge them into one. I would delete any HTML ToC and any other HTML file you don't need such as a review page, or list of other books the author has written. eBooks have an advertising page that uses embedded fonts that you can dump as well as the fonts. And there are other HTML that can go.

It sounds a lot harder then it is, but it's not all that hard to do. For example, some of the cleaning up of the HTML can be done easily with search/replace.
I like tidy books and can easily see myself spending a lot of time making changes I would never notice while reading the book. Luckily my laziness usually wins out and I restrict myself to just shrinking the indents, margins and empty space around titles, and running some of the calibre functions (remove unused CSS, fix html, beautify files, compress images).
DrLimu is offline   Reply With Quote