Mercurial > hg-stable
changeset 9628:816564f5dea9
rst2man: highlight inline literals in bold
The old code would switch to Courier, but that doesn't really help
much in a manpage.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 22 Oct 2009 00:30:24 +0200 |
parents | 4515761ea531 |
children | 91d7d54b92cf |
files | doc/rst2man.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/rst2man.py Thu Oct 22 00:27:08 2009 +0200 +++ b/doc/rst2man.py Thu Oct 22 00:30:24 2009 +0200 @@ -212,7 +212,7 @@ 'indent' : ('.INDENT %.1f\n', '.UNINDENT\n'), 'definition_list_item' : ('.TP', ''), 'field_name' : ('.TP\n.B ', '\n'), - 'literal' : ('\\fC', '\\fP'), + 'literal' : ('\\fB', '\\fP'), 'literal_block' : ('.sp\n.nf\n.ft C\n', '\n.ft P\n.fi\n'), 'option_list_item' : ('.TP\n', ''),