How can I make a non-breaking space in reStructuredText?
An obvious but problematic solution is:
`word A`
But it might be treated differently by different implementations, such as rst2latex or rst2pdf. Plus it is rendered in italics.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t see the problem here, running docutils v0.9.
At least rst2latex and rst2html are behaving properly regarding non-breaking whitespace.
Latex generates ~ and html generates when you input a non-breaking character (\xa0, \0240).
Maybe you have an editor issue ? If you can manage to input the character, docutils will do the job.