View Single Post
Old 10-04-2022, 12:38 PM   #228
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by DNSB View Post
My choice is to use Sigil to do much of the cleaning. The builtin Delete Unused Stylesheet Selectors (remove unused stylesheet entries) and the plugin cssUndefined Classes (remove undefined classes in the html files) do a very decent first pass. For those epubs where the author went for inline styles, the RemoveInlineStyles creates a stylesheet and moves the inline styles to the stylesheet. At times, after running those in Sigil, I will then use calibre's editor to merge similar styles—do you really need 6 paragraph styles with the only difference being the line height being set from 1.0 to 1.35?
Out of curiosity, how does that compare to calibre's "Polish book" feature (w/ the related cleanup toggles enabled)?
NiLuJe is offline   Reply With Quote