Menu

#287 rst2man: comma after option argument is in bold

closed-fixed
nobody
5
2022-09-07
2015-12-07
No

[ Forwarded from Debian #806601. ]

With the following reStructuredText file:

-f, --foo
   FOO

-b n, --bar n
   BAR

rst2man produces the following output:

.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.

Discussion

  • engelbert gruber

    • labels: --> manpage-writer
     
  • engelbert gruber

    switch to normal font with

    \fR 
    
     
  • engelbert gruber

    • status: open --> closed-fixed
     
  • Günter Milde

    Günter Milde - 2022-09-07
    • labels: manpage-writer --> manpage writer
     

Log in to post a comment.