View Single Post
Old 06-29-2012, 12:57 PM   #106
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Danger View Post
I do this when replacing straight quote marks with proper curly quotes:
You can save yourself a lot of search and replace actions by using Calibre with Kiwidude's Modify Epub plugin. Simply select "Smarten Punctuation" and let the plugin do its magic.
Note that the heuristic algorithm is pretty good, but not 100% perfect.
If you don't want to use Calibre you can also test the "Smarten Punctuation" feature with DiapDealer's SmartyPants Python wrapper. (Both use the same python script.)
Doitsu is offline