Consider: double quotes are considered punctuation:
$ echo '"`Practical Common Lisp` is dead sexy."' |
rst2html | grep sexy
<p>"<cite>Practical Common Lisp</cite> is dead
sexy."</p>
but unicode smart quotes are not:
$ echo '“`Practical Common Lisp` is dead sexy.”' |
rst2html | grep sexy
<p>“`Practical Common Lisp` is dead sexy.”</p>
The desired result is either:
$ echo '“`Practical Common Lisp` is dead sexy.”' |
rst2html | grep sexy
<p>“<cite>Practical Common Lisp</cite> is dead
sexy.”</p>
or:
$ echo '“`Practical Common Lisp` is dead sexy.”' |
rst2html | grep sexy
<p>“<cite>Practical Common Lisp</cite> is dead sexy.”</p>
Note that this is more important for single quotes,
since rst2latex+latex converts 'foo' to ’foo’ (not
‘foo’), so smart quotes are *required* for correct
translation.
Logged In: YES
user_id=1374215
Thanks for your feature request. There is a recent thread
about this issue at
<http://thread.gmane.org/gmane.text.docutils.user/2765>.
(As always, feel free to join the discussion if you like.)
I'm closing this feature request -- we'll use the mailing
list thread or a to-do list entry to track this issue.
Felix