OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Manpages, cmdsynopsis and sbr


I have found the following formatting error when using <sbr/> in 
cmdsynopsis, for manpages.

DocBook code:

   <arg choice="opt">-s, --start</arg><sbr/>
   <arg choice="opt">-k, --stop</arg><sbr/>
   <arg choice="opt">-h, --help</arg><sbr/>
   <arg choice="opt">-V, --version</arg>

The roff output is the following:

.ad l
.HP 7
\fBbdmond\fR [\-s,\ \-\-start]
  [\-k,\ \-\-stop]
  [\-h,\ \-\-help]
  [\-V,\ \-\-version]

As you can see, in front of the '[' character from the arguments, at the 
beginning of the line, after the '.br' lines, there is an empty space. 
When processed, the text is this one:

        bdmond [-s, --start]
                [-k, --stop]
                [-h, --help]
                [-V, --version]

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]