View Single Post
Old 02-21-2024, 06:10 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,784
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Ebookus View Post
Thanks for your quick reply, I have followed your advice regarding KindleUnpack and that seems to have worked great.

I am curious as to what errors would occur and what benefit one gets from deleting unused CSS, besides un-bloating the code.
Oddly. I've seen very few CSS errors in ebooks downloaded from Amazon and processed by KindleUnpack. For the most part, despite Jon's endless comments, most of the errors that ADE will dump the stylesheet for are items such as missing ;'s at the end of a line in the middle of a class. It does a decent job of treating unsupported items as no-ops.

The benefits are mostly just un-bloating the code though since an epub is a .zip container, you have to do major surgery to see a noticeable change in the size of the epub.

I do some basic editing on my ebooks (removing absolute measurements, color codes for black or white text, setting the basic paragraph style to my preferences, etc.) but few require major surgery though one recent example had individual stylesheets for each paragraph that set the viewport size and nothing else while inline styles were used for all other styling. Deleting the mass of stylesheets and using Sigil's inline style converter worked rather well for that ebook.

Quote:
Originally Posted by Ebookus View Post
This is a text-only ebook so no issue with images this time. Regarding the AZW6, is there any difference between downloading the KF8 file from the website (download and transfer via USB) vs transferring it from a kindle keyboard?
I'm fairly certain that neither of those two methods will download the AZW6 file.

Last edited by DNSB; 02-21-2024 at 06:12 PM.
DNSB is offline   Reply With Quote