Quote:
Originally Posted by arspr
Well, I've just run Calibre's Smarten punctuaction (the curly double quotation mark button in the Editor toolbar) on that same text and I've gotten:
Code:
<p>”Tis is a dialogue’ John said.</p>
<p>”Whatever” is not a dialogue.</p>
which is quite odd in any case... It seems that a pair of ' is always converted into a curly right double quotation mark.
Is everything fine? Or is there some kind of bug here?
|
I don't understand what characters you're using for single-quotes (pre-smartening). When I try your examples, and I start with single, straight quotes ('):
Code:
<p>''Tis is a dialogue' John said.
<p>''Whatever'' is not a dialogue.</p>
my smarten tool produces exactly what I expect it to. None of my consecutive straight, single quotes are being converted into curly right double quotes.
Let's try this: I'm attaching a sample epub that contains your examples (and some of my own). I'm also attaching the same epub AFTER my smartening routine has processed it (using my original apostrophe exception file, all boxes checked, and the dashes combobox set to the middle of the three options). Please make sure you're getting the same results.
EDIT: ooh ... I see now what you mean about calibre's regular smartening routine. It DOES turn those consecutive straight single quotes into right curlies. I don't think it
always did that.
EDIT 2: After studying SmartyPants again, the attempt to smarten backticks is
exactly why all consecutive single quotes get converted to a right (closing) curly double quote -- and exactly why I chose to turn that feature off.