View Single Post
Old 06-15-2011, 10:11 PM   #1
Nathan0015
Junior Member
Nathan0015 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2009
Device: PRS-505
Managing Scene Breaks during Conversion

Hi Everyone,

I was hoping to get a little help on managing my scene breaks during the conversion process. My primary use for the kindle is reading all of my fanfiction away from my computer, and as such I end up converting primarily HTML files to Mobi format. Every writer has a different preferred method for identifying their scene breaks from ######### to ****E E ****, so I'm trying to find a good way to identify a scene break and then ensure there is a space above and below the break.

The best way I have thought of to do this is using the search and replace function to identify which items are centered using this regular expression:

<p style="text-align:center;">.*?</p>

This works beautifully for selecting every scene break an author can come up with. Now that I can find them though I'm not sure about how to add the breaks above and below them. Also, this unfortunetley finds Chapters as well as scene breaks, so if I could figure out a way to exclude any center aligned text that uses the word chapter, that would be incredibly helpful as well.

Hopefully I managed to accuretley describe what I am striving towards, and if clarification is needed I would be happy to expound further. I would greatly appreciate any help anyone could give.
Nathan0015 is offline   Reply With Quote