View Single Post
Old 06-11-2012, 12:29 PM   #158
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by kiwidude View Post
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.

Agama is offline   Reply With Quote