View Single Post
Old 02-26-2024, 12:06 PM   #13
reinsley
Connoisseur
reinsley began at the beginning.
 
reinsley's Avatar
 
Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
Quote:
Originally Posted by pdurrant View Post

so

— « I'm speaking », said the man. « don't interrupt! »

Should be left alone but

He came through the door. « I'm here », he said.

should be changed into

He came through the door.
— « I'm here », he said.


Is that right?

Exactly, perfect. I want to highlight only the part in bold .space«space in your exemple : [...]door. « I'm here », he said.
And break it as you did.
To split the sentence into 2 Paragraphs, I replace by
.</span> </p>
<p class="calibre8"> <span class="calibre3"> .
— «
I'm here », he said.

As I do a find/replace manually to choose .space«space , it is not glorious and it's about 600 changes for one book. It's a serie of 12 books.
The space may sometimes be a nbsp, never at the same place. So I have to do a second pass, about 100 changes. A regex solution will be elegant and a good way to learn something new. Two or three passes with regex is easy to cover all the cases.
reinsley is offline   Reply With Quote