Quote:
Originally Posted by kiwidude
You obviously have some scenario/situation in mind...?
|
I use some standard search/replaces to make the books that I publish conform to a similar look and feel, (kind of like Feedbooks all have the same theme and internal structure), and they are content independent - for example removing all class="calibre[0-9]*" attributes from tags. (I replace the generated stylesheet.css with my own standard one). I always convert from markdown to ePub and then use the resultant ePub as the starting point for a publication. At the moment I apply all the regexes via Tweak ePub/Notepad++ and also use some VBScript for other changes, but it's a bit onerous.
The process would only be applied to a single ePub at a time and would be used straight after conversion. It would obviously not be useful to apply to ePubs generally.
I am sure that Sigil could also do the job but it would have the same labour intensiveness that Tweak ePub has.