Add a description of when to use a manual page reference and when to
use <command> to markup commands in SGML docbook. PR: docs/52467 Submitted by: Simon L.Nielsen <simon@nitro.dk> Discussed on: -doc
This commit is contained in:
parent
d0f50c8b42
commit
1ce60fc6d2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17002
1 changed files with 8 additions and 0 deletions
|
@ -1741,6 +1741,14 @@ This is the file called 'foo2'</screen>
|
|||
<para>Use <sgmltag>option</sgmltag> to mark up a command's
|
||||
options.</para>
|
||||
|
||||
<para>When referring to the same command multiple times in
|
||||
close proximity it preferred to use the
|
||||
<literal>&man.<replaceable>command</replaceable>.<replaceable>section</replaceable>;</literal>
|
||||
notation to markup the first reference and use
|
||||
<sgmltag>command</sgmltag> to markup subsequent references.
|
||||
This makes the generated output, especially HTML, appear
|
||||
visually better.</para>
|
||||
|
||||
<para>This can be confusing, and sometimes the choice is not always
|
||||
clear. Hopefully this example makes it clearer.</para>
|
||||
|
||||
|
|
Loading…
Reference in a new issue