View Single Post
Old 10-21-2022, 03:00 PM   #10
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by enuddleyarbl View Post
I don't know if Sigil is different from Calibre in this regard (the post is in the Sigil forum), but if the last search (for lowercase starting paragraphs) is saved in Calibre, make sure to check the "Case Sensitive" box.
Yes, by default, Calibre's Regex is case insensitive (why that is, I'm not sure).

In Calibre, make you you have that "Case Sensitive" box checked.

In Sigil, all you have to do is make sure you are in "Regex" mode.

Quote:
Originally Posted by enuddleyarbl View Post
Also, a question for the first ("hyphen") rule. Most of the books I edit have a tendency to end interrupted paragraphs with a dash:
Code:
<p>"Here I am wal-</p>
<p>The monster leaped out and ate my face.</p>
Stylistically, should the dash be replaced with something else (to signify an interruption)? Or, just leave it?
When conversations get cut off, the proper character to use is an:
  • — = EM DASH
    • (It is about the size of an 'm'.)

I recommend reading this great article in Wikipedia showing different examples:

and my many writings over the years:

- - -

In the case where you have a wrong/bad interruption:

Code:
<p>"Here I am wal-</p>
<p>The monster leaped out and ate my face.</p>
you would use this Regex:

Find: -</p>
Replace: —</p>

(Replace a HYPHEN at the end of a paragraph with an EM DASH.)

That will get you the correct:

Code:
<p>"Here I am wal—</p>
<p>The monster leaped out and ate my face.</p>
Note: DO NOT ever do a "Replace All" though, you'd have to decide these on a case-by-case basis.

- - -

Side Note: Actually, your example is off. Just because your dialogue got interrupted... you'd still need the close quote:

Code:
<p>“Here I am wal—”</p>
<p>The monster leaped out and ate my face.</p>
I'll let you figure out the Replace needed for that.

Last edited by Tex2002ans; 10-21-2022 at 03:13 PM.
Tex2002ans is offline   Reply With Quote