[BACK]Return to mdocml.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/mdocml.1, Revision 1.8

1.1       kristaps    1: .\"    $OpenBSD: mdoc.template,v 1.10 2007/05/31 22:10:19 jmc Exp $
                      2: .\"
                      3: .\" The following requests are required for all man pages.
                      4: .\"
                      5: .\" Remove `\&' from the line below.
1.2       kristaps    6: .Dd $Mdocdate$
                      7: .Dt mdocml 1
1.1       kristaps    8: .Os
1.3       kristaps    9: .\"
1.1       kristaps   10: .Sh NAME
1.2       kristaps   11: .Nm mdocml
                     12: .Nd compile manpage source into mark-up language
1.3       kristaps   13: .\"
1.1       kristaps   14: .Sh SYNOPSIS
1.2       kristaps   15: .Nm mdocml
1.7       kristaps   16: .Op Fl vW
                     17: .Op Fl f Ar filter
1.2       kristaps   18: .Op Fl o Ar outfile
                     19: .Op Ar infile
1.3       kristaps   20: .\"
1.1       kristaps   21: .Sh DESCRIPTION
                     22: The
                     23: .Nm
1.7       kristaps   24: utility parses
                     25: .Xr mdoc
                     26: formatted manual source and passes results into the output filter
                     27: dictated by
                     28: .Fl f Ar filter .
                     29: The only current output filter is
                     30: .Ar validate ,
                     31: the default.  The arguments are as follows:
1.8     ! kristaps   32: .Bl -tag -width "\-o outfile,"
        !            33: .It Sq Fl o Ar outfile ,
1.2       kristaps   34: Place output in
                     35: .Ar outfile ,
                     36: which may be
1.6       kristaps   37: .Qq \-
1.2       kristaps   38: for standard output.  The default is standard output.
                     39: .It Ar infile
                     40: Read input from
                     41: .Ar infile ,
                     42: which may be
1.6       kristaps   43: .Qq \-
1.2       kristaps   44: for standard input.  The default is standard input.
1.8     ! kristaps   45: .It Fl v
1.7       kristaps   46: Print messages (output depends on filter).
1.6       kristaps   47: .It Fl W
1.7       kristaps   48: Print warnings (output depends on filter).
1.2       kristaps   49: .El
1.7       kristaps   50: .Ss Validate Filter
                     51: The validate filter, specified by
                     52: .Fl f Ar validate ,
                     53: is the default filter.  It produces no output, so specifying
                     54: .Fl o Ar outfile
                     55: results in an empty file.
1.8     ! kristaps   56: .Qq Op Op Fl a ) , Fl b ,
        !            57: .Bf Em
        !            58: .Qq Op Op Fl a ) , Fl b ,
        !            59: .Ef
1.1       kristaps   60: .\" The following requests should be uncommented and used where appropriate.
                     61: .\" This next request is for sections 2, 3, and 9 function return values only.
                     62: .\" .Sh RETURN VALUES
                     63: .\" This next request is for sections 1, 6, 7 & 8 only.
                     64: .\" .Sh ENVIRONMENT
                     65: .\" .Sh FILES
                     66: .\" .Sh EXAMPLES
                     67: .\" This next request is for sections 1, 4, 6, and 8 only.
                     68: .\" .Sh DIAGNOSTICS
                     69: .\" The next request is for sections 2, 3, and 9 error and signal handling only.
                     70: .\" .Sh ERRORS
1.3       kristaps   71: .Sh SEE ALSO
                     72: .Xr groff 1 ,
                     73: .Xr mdoc.samples 7 ,
                     74: .Xr mdoc 7
1.1       kristaps   75: .\" .Sh STANDARDS
                     76: .\" .Sh HISTORY
1.3       kristaps   77: .Sh AUTHORS
                     78: The
                     79: .Nm
                     80: utility was written by
                     81: .An Kristaps Dzonsons Aq kristaps@kth.se .
                     82: .\"
                     83: .Sh CAVEATS
1.7       kristaps   84: Most caveats of
1.3       kristaps   85: .Nm
1.7       kristaps   86: stem from ambiguities in
                     87: .Xr mdoc 7
                     88: or the necessary limitations of converting an ad hoc language into
                     89: structured ones:
                     90: .Bl -enum -compact -offset indent
                     91: .It
                     92: The engine doesn't understand
1.3       kristaps   93: .Sq \&Xo
                     94: and
                     95: .Sq \&Xc
                     96: troff macros.
1.7       kristaps   97: .It
                     98: All macro arguments may be quoted, instead of only some.
                     99: .It
                    100: Blank lines raise warnings.
                    101: .It
                    102: Non-ascii characters may cause issues.
                    103: .El
1.1       kristaps  104: .\" .Sh BUGS

CVSweb