View Single Post
Old 10-04-2007, 01:04 PM   #22
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by JSWolf View Post
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

Last edited by DaleDe; 10-04-2007 at 03:30 PM. Reason: added comment
DaleDe is offline   Reply With Quote