View Single Post
Old 04-30-2014, 10:14 PM   #34
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,843
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
It should be noted that the SmartyPants algorithm is customizable (the EM|EN dash behavior can be easily reversed, ellipses ignored, etc.). The calibre version has also had modifications/improvements made to it. calibre's implementation also does not result in html entities.

I say this because it's important to note that while calibre uses the SmartyPants script, there's a little more to "Smarten Punctuation" than SmartyPants.
Be nice if the details were documented, the user manual references the daringfireball site

Quote:
--smarten-punctuation

Convert plain quotes, dashes and ellipsis to their typographically correct equivalents. For details, see http://daringfireball.net/projects/smartypants
Which is the same link as DoctorOhh posted - and from which I posted a clip

BR
BetterRed is online now   Reply With Quote