View Single Post
Old 02-22-2012, 06:14 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,697
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
But that's not why I was asking. I also have some fairly shoddily-formatted commercial epubs that give me the irrits, which I want to tidy up. Most of what I need to do I've nutted out, but not the quotes.
SmartyPants (originally written in Perl and ported to Python). It's what calibre uses. Nothing's going to be perfect for this sort of thing but it does very well. Areas where it fails are fairly easy to clean up afterwards. I run xhtml through it before ever opening in Sigil. It will create them as HTML entities though.

Last edited by DiapDealer; 02-22-2012 at 06:18 PM.
DiapDealer is online now   Reply With Quote