View Single Post
Old 03-16-2017, 12:31 PM   #1
sbin
Voracious reader
sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.
 
sbin's Avatar
 
Posts: 56
Karma: 14644
Join Date: Oct 2009
Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3
how to automatize routine modifications to epubs?

I'm always performing the same fixes to my epubs before reading them, and I was wondering if there's a way to automatize all the work (or at least part of it).

The operations I normally do manually within calibre's editor are:
— "beautify" all the files (this is needed mainly for the searches&replaces to work properly)
— fix the ellipsis in all text files
— remove line-height and text-alignment: justify in all the css
— set all non-zero values for text-indent to 1em
— some other stuff very similar to the previous points


I already have a bunch of saved searches, but given that all these operations don't require discretion, is there a plugin or a smarter way to manage all this?

Thanks
sbin is offline   Reply With Quote