Find/Change all straight quotes to smart quotes
Posted: 2014-08-11 23:00:49
In 2.0.7 I tried to change all straight quotation marks from a pasted text to curly quotation marks. Since my settings in NWP's Preferences seem right [(QuickFix > Language (English (U.S.)) has "Use smart punctuation" checked (and set to "Standard")], I assumed that by replacing " with " NWP would automatically change the " used as opening quotation marks to “ and those used as closing quotation marks to ”. It doesn't. It just leaves straight quotation marks there. If I tell NWP to change all straight quotation marks to “, it does so regardless of whether they are opening or closing marks. So do I need to do a more complex search with any space + straight quotes being changed to opening curly quotes and then another search/replace changing any straight quotes followed by any punctuation or space being changed to closing curly quotes? (I think that would miss some.). I also need to change the single quotation mark to a curly one in words like "it's" (to "it’s"). I looked in the macros that ship with NWP or that I've added on my machine, and I don't see anything that would do this. Seems it'd be good to have some macro or built-in function for this (maybe going both ways, since sometimes you want to change back, although admittedly that is easier to do with simple find/replace).
Thanks for any advice!
Thanks for any advice!