View Single Post
Old 09-02-2012, 10:39 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Little F&R RegEx help to clean a Calibre conversion

Real noob question:

When I convert a MOBI to EPUB using Calibre to clean it up and add my own CSS using Sigil, there's a lot of Calibre-created tags that I have to manually do a F&R on.

Things like:

<p class="calibre2"> ... <p class="calibre99"> etc.

<p class="calibre1 sgc-1">&nbsp;</p>

<div class="mbppagebreak" id="calibre_pb_0"></div>

My CSS has the 'standard' <p>, <h1>, etc. and I usually have to tidy' up the Calibre tags, inport my CSS, and manually apply the Headings

I assume there's no script (darn !!!) , but some guidence on a easy way to clean the tags would be appreciated.

Paul
phossler is offline   Reply With Quote