View Single Post
Old 03-05-2011, 01:39 PM   #18
Faster
Connoisseur
Faster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of lightFaster is a glorious beacon of light
 
Posts: 61
Karma: 12096
Join Date: Sep 2010
Location: Tasmania
Device: Sony PRS 650
That's because the Find criteria provided is for MS Word.

In Sigil the Find criteria in BOOK view is: [a-z]\n\n

The above is intended to find two newlines after the lowercase letter, but you may have to settle for finding one by deleting a '\n'.

In Sigil the Find criteria in CODE view is: [a-z]</p>
This will find a lowercase letter followed by a single paragraph end.

In both Sigil cases Regular expressions must be checked.

In Sigil BOOK view to delete the newlines and replace it with a space and retain the lowercase letter this is what you use:

FIND: ([a-z])\n\n
REPLACE: \1_ where the underline should be typed as a space.
Unfortunately, you must repeat this for each and every (x)html file in book view.

In code view - where you can do the whole book in one go - it would be very difficult to do this replacing, which is why it is usually done in a word processor before going to Sigil.
Faster is offline   Reply With Quote