2 .Dd $Mdocdate: January 16 2009 $
8 .Nd mdoc macro compiler
19 utility interfaces the
21 library to validate and parse mdoc-macro documents. Arguments follow:
22 .Bl -tag -width "\-Werr... "
24 Print warning messages. May be set to
28 for groff/troff-compatibility warnings, or
30 for syntax warnings. If
32 is specified, warnings are considered errors and cause utility
35 arguments may be comma-separated, such as
36 .Fl W Ns Ar error,all .
38 Print verbose parsing output.
47 Parsing and validation rules are drawn entirely from the
55 reads from stdin, writes messages to stdout, and writes errors and
65 To validate this manual page:
67 .D1 % mdocml \-Wall,error mdocml.1
79 utility was written by
80 .An Kristaps Dzonsons Aq kristaps@kth.se .
83 The most glaring short-coming of
85 is that it doesn't yet support the
89 macros when used to extend the line arguments to
91 in effect, trampling the body section. We note that this is explicitly
94 but in practice used quite often.