[Python-modules-team] Bug#806601: rst2man: comma after option argument is in bold
Jakub Wilk
jwilk at debian.org
Sun Nov 29 16:19:14 UTC 2015
Package: python-docutils
Version: 0.12+dfsg-1
Please see the attached rST document. If you convert it to a manpage,
the comma between "-f" and "--foo" uses the normal font, as it should;
but the comma between "-b n" and "--bar n" is in bold.
I had a look at the *roff source:
$ rst2man man.rst | grep -E 'foo|bar'
.B \-f\fP,\fB \-\-foo
.BI \-b \ n\fP,\fB \ \-\-bar \ n
I suppose \fP was intended to reset to the normal font; but in the .BI
line it actually switches to the bold font.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages python-docutils depends on:
ii docutils-common 0.12+dfsg-1
ii python-roman 2.0.0-2
pn python:any <none>
--
Jakub Wilk
-------------- next part --------------
-f, --foo
FOO
-b n, --bar n
BAR
More information about the Python-modules-team
mailing list