From 26bc74833f1bd0f551e05e9c848fb7d948403159 Mon Sep 17 00:00:00 2001 From: grubert Date: Tue, 12 Feb 2013 21:24:37 +0000 Subject: [PATCH] manpage Fix option separating comma was bold (thanks to Bill Morris). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7601 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- HISTORY.txt | 4 ++++ docutils/writers/manpage.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/HISTORY.txt b/HISTORY.txt index 978031ec9..e2f6219ce 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -45,6 +45,10 @@ Changes Since 0.10 .. _SmartQuotes: docs/user/config.html#smart-quotes +* docutils/writers/manpage.py + + - Fix option separating comma was bold (thanks to Bill Morris). + Release 0.10 (2012-12-16) ========================= diff --git a/docutils/writers/manpage.py b/docutils/writers/manpage.py index 9133f060c..94c1cad72 100644 --- a/docutils/writers/manpage.py +++ b/docutils/writers/manpage.py @@ -898,7 +898,7 @@ class Translator(nodes.NodeVisitor): def visit_option(self, node): # each form of the option will be presented separately if self.context[-1] > 0: - self.body.append(', ') + self.body.append('\\fP,\\fB ') if self.context[-3] == '.BI': self.body.append('\\') self.body.append(' ') -- 2.11.4.GIT