rst2man: highlight inline literals in bold
authorMartin Geisler <mg@lazybytes.net>
Thu, 22 Oct 2009 00:30:24 +0200
changeset 9628 816564f5dea9
parent 9627 4515761ea531
child 9629 91d7d54b92cf
rst2man: highlight inline literals in bold The old code would switch to Courier, but that doesn't really help much in a manpage.
doc/rst2man.py
--- 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', ''),