version 1.9, 2008/11/30 18:50:44 |
version 1.11, 2008/11/30 23:05:57 |
|
|
.\" |
.\" |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm mdocml |
.Nm mdocml |
.Op Fl vW |
.Op Fl W |
.Op Fl f Ar filter |
.Op Fl f Ar filter |
.Op Fl o Ar outfile |
.Op Fl o Ar outfile |
.Op Ar infile |
.Op Ar infile |
Line 27 formatted manual source and passes results into the ou |
|
Line 27 formatted manual source and passes results into the ou |
|
dictated by |
dictated by |
.Fl f Ar filter . |
.Fl f Ar filter . |
The only current output filter is |
The only current output filter is |
.Ar validate , |
.Ar xml , |
the default. The arguments are as follows: |
the default. The arguments are as follows: |
.Bl -tag -width "\-o outfile," |
.Bl -tag -width "\-o outfile" |
.It Sq Fl o Ar outfile , |
.It Fl f Ar filter |
|
The output filter name, which defaults to |
|
.Ar xml . |
|
.It Fl o Ar outfile |
Place output in |
Place output in |
.Ar outfile , |
.Ar outfile , |
which may be |
which may be |
.Qq \- |
.Qq \- |
for standard output. The default is standard output. |
for stdout. The default is stdout. |
|
.It Fl W |
|
Print compiler warnings to stderr. |
.It Ar infile |
.It Ar infile |
Read input from |
Read input from |
.Ar infile , |
.Ar infile , |
which may be |
which may be |
.Qq \- |
.Qq \- |
for standard input. The default is standard input. |
for stdin. The default is stdin. |
.It Fl v |
|
Print messages (output depends on filter). |
|
.It Fl W |
|
Print warnings (output depends on filter). |
|
.El |
.El |
.Ss Validate Filter |
.Ss XML Filter |
The validate filter, specified by |
The XML filter, specified by |
.Fl f Ar validate , |
.Fl f Ar xml , |
is the default filter. It produces no output, so specifying |
is the default filter. It creates an XML document where element names are |
.Fl o Ar outfile |
their respective roff macro names. Each element name has an associated |
results in an empty file. |
namespace, which is one of |
|
.Qq block , |
|
.Qq inline , |
|
or |
|
.Qq special , |
|
corresponding to the display mode of a node. |
.\" The following requests should be uncommented and used where appropriate. |
.\" The following requests should be uncommented and used where appropriate. |
.\" This next request is for sections 2, 3, and 9 function return values only. |
.\" This next request is for sections 2, 3, and 9 function return values only. |
.\" .Sh RETURN VALUES |
.\" .Sh RETURN VALUES |