#8 Treat unicode "smart" quotes as punctuation

closed-later
None
5
2006-04-22
2006-04-21
No

Consider: double quotes are considered punctuation:

$ echo '"`Practical Common Lisp` is dead sexy."' |
rst2html | grep sexy
<p>&quot;<cite>Practical Common Lisp</cite> is dead
sexy.&quot;</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>&ldquo;<cite>Practical Common Lisp</cite> is dead
sexy.&rdquo;</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.

Discussion

  • Felix Wiemann

    Felix Wiemann - 2006-04-22
    • status: open --> closed-later
     
  • Felix Wiemann

    Felix Wiemann - 2006-04-22
    • assigned_to: nobody --> felixwiemann
     
  • Felix Wiemann

    Felix Wiemann - 2006-04-22

    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

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks