View Single Post
Old 02-08-2011, 12:13 PM   #22
Rajmahid
Enthusiast
Rajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with othersRajmahid plays well with others
 
Posts: 34
Karma: 2584
Join Date: Jan 2011
Device: Kindle
Quote:
Originally Posted by Perkin View Post
Do a search and replace

Search for
(\s)"(\w)
(copy & paste a backward quote instead of the ")

Replace with
\1"\2
(copy & paste an open quote instead of the ")

That should do it, step through a few first, and only if you're happy - replace all.

Edit:
Do this on the converted epub, with the incorrect 'smartquotes'
Needless to say, make sure you have a backup
Actually, I am doing search & replace using a front-end smartquote copied & pasted from MS Word (“) to replace with the plain-text inch-marks -- it works just dandy. But with 93 chapters -- all suffering from the same issue -- it's taking time. And I have to be especially vigilant due to mid-sentences that also contain quotes, or else I have to go back and manually fix the missed ones. It's also giving me an opportunity to fix some split sentences the original formatter missed. I just wish there was an easier way...

Last edited by Rajmahid; 02-08-2011 at 12:17 PM.
Rajmahid is offline   Reply With Quote