Quote:
Originally Posted by lindsayw
Left double-quotes can occur only at the start of a line or after a space.
|
Or after a dash, or after an opening parenthesis
Quote:
Right double-quotes can occur only before a space or at the end of a line.
|
Or before a punctuation, can't you imagine a sentence ending "thus"?
Quote:
In html, the start or end of a line can be determined by > or < characters.
|
But those characters appear also elsewhere, like the start and end of italics.
Quote:
Citations, the only occurrence of left single-quotes, can start only after a space.
|
Or after a dash or parenthesis too. There can also be apostrophes after a space, 'tis possible to find 'em.
Quote:
1. Search-&-replace for >" – replace these left double-quotes with >“
|
Not all " are ", actually, I never find " in my files, and there are many " that must not be replaced.
Note also that "things like <em>this</em
>" are possible
Quote:
4. Search-&-replace for "< – replace these right double-quotes with ”<
|
And—
"<em>this</em> is possible" too.
Quote:
7. Now you need to find and replace the left-sloping ones. Search-&-replace for (space)’ – replace these with (space)‘
|
Replace
'em all...