version 1.40, 2009/10/03 15:26:26 |
version 1.43, 2009/10/15 02:42:53 |
Line 54 Input format. See |
|
Line 54 Input format. See |
|
for available formats. Defaults to |
for available formats. Defaults to |
.Fl m Ns Ar andoc . |
.Fl m Ns Ar andoc . |
. |
. |
.It Fl o Ns Ar format |
.It Fl o Ns Ar option... |
Comma-separated output options. See |
Comma-separated output options. See |
.Sx Output Options |
.Sx Output Options |
for details. |
for details. |
|
|
is used as a template for linked header files (usually via the |
is used as a template for linked header files (usually via the |
.Sq \&In |
.Sq \&In |
macro). Instances of |
macro). Instances of |
.Sq %I |
.Sq \&%I |
are replaced with the include filename. The default is not to present a |
are replaced with the include filename. The default is not to present a |
hyperlink. |
hyperlink. |
.It Fl o Ns Ar man=fmt |
.It Fl o Ns Ar man=fmt |
|
|
is used as a template for linked manuals (usually via the |
is used as a template for linked manuals (usually via the |
.Sq \&Xr |
.Sq \&Xr |
macro). Instances of |
macro). Instances of |
.Sq %N |
.Sq \&%N |
and |
and |
.Sq %S |
.Sq %S |
are replaced with the linked manual's name and section, respectively. |
are replaced with the linked manual's name and section, respectively. |
Line 295 To page manuals to the terminal: |
|
Line 295 To page manuals to the terminal: |
|
.D1 % mandoc mandoc.1 mdoc.3 mdoc.7 | less |
.D1 % mandoc mandoc.1 mdoc.3 mdoc.7 | less |
. |
. |
.Pp |
.Pp |
To produce HTML manuals with |
To produce HTML manuals with |
.Pa http://localhost/ |
.Ar style.css |
as the base URI: |
as the style-sheet: |
.Pp |
.Pp |
.D1 % mandoc \-Thtml -obase=http://localhost/ mdoc.7 > mdoc.7.html |
.D1 % mandoc \-Thtml -ostyle=style.css mdoc.7 > mdoc.7.html |
.Pp |
.Pp |
To check over a large set of manuals: |
To check over a large set of manuals: |
. |
. |
|
|
. |
. |
.It |
.It |
Sentences are unilaterally monospaced. |
Sentences are unilaterally monospaced. |
|
.El |
|
. |
|
.Ss HTML output |
|
.Bl -bullet -compact |
|
.It |
|
The |
|
.Xr mdoc 7 |
|
.Sq \&Bl \-hang |
|
and |
|
.Sq \&Bl \-tag |
|
list types render similarly (no break following overreached left-hand |
|
side) due to the expressive constraints of HTML. |
|
. |
|
.It |
|
The |
|
.Xr man 7 |
|
.Sq IP |
|
and |
|
.Sq TP |
|
lists render similarly. |
.El |
.El |
.\" SECTION |
.\" SECTION |
.Sh SEE ALSO |
.Sh SEE ALSO |