View Single Post
Old 09-08-2024, 10:46 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,083
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Tenome View Post
Thanks for the replies, I'll see if Calibre can manage it somehow. The reason I'm trying to homogenize the epubs is so I can mass-replace the CSS file inside with my own. Calibre sort of has that option when converting, but it renames the classes and throws out everything that isn't used, which I'm trying to avoid. So I'll try ebook-convert.exe. The Arrange into Folders option from the editor seems to be exactly what I'm looking for, can't believe it's not a command line feature!
MASS REPLACE Does not compute.

eg. class="calibre23" is not a standard across books.
in 1 book it may be used for Headings. Another for Spans. Another for Blockquotes.

The ONLY case you can count on is a Bare Tag (P, Div, H3, ...) (or when the selector is now NOT defined)

I keep (CSS) Clippings of MY STANDARDS. I use those to fix whatever selector Goto Link or style (On the context menu) jumps to. Even then, you will need REGEX foo, to trace out the dogs breath some books have (like a individual stylesheet per chapter file ).
theducks is online now   Reply With Quote