Quote:
Originally Posted by JSWolf
How do you get the proper curly quotes for the ending and beginning quotes?
|
The hard way. I search/replace for ." - ," - !" - ?" - "space - and sometimes -" or even '" depending on the book contents. This gets the right one and then all the others are left ones.
Single quotes are even harder. I search for space' and "' for the left one and then all the rest are right ones. Except this falls down when the book uses dialects and has words with missing leading characters. If I know it does this I manually fix them after the fact using a search for left ' or sometimes if I know the dialect word beginning I will search and fix it using search and replace.
Sometimes I get lucky on PG books when they use `` and ''
Not easy, have you got a better way? By the way, I am planning to automate this somewhat with a sed script.
Dale