2 .Dd $Mdocdate: January 20 2009 $
8 .Nd mdoc macro compiler
19 utility interfaces the
21 library to scan, parse and validate mdoc-macro documents. Arguments
23 .Bl -tag -width "\-Werr... "
25 Print warning messages. May be set to
29 for groff/troff-compatibility warnings, or
31 for syntax warnings. If
33 is specified, warnings are considered errors and cause utility
36 arguments may be comma-separated, such as
37 .Fl W Ns Ar error,all .
39 Print verbose parsing output.
48 Parsing and validation rules are drawn entirely from the
56 reads from stdin, writes messages to stdout, and writes errors and
66 To validate this manual page:
68 .D1 % mdocml \-Wall,error mdocml.1
80 utility was written by
81 .An Kristaps Dzonsons Aq kristaps@kth.se .
84 The most glaring short-coming of
86 is that it doesn't yet support the
90 macros when used to extend the line arguments to
92 in effect, trampling the body section. We note that this is explicitly
95 but in practice used quite often.