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
61 To validate this manual page:
63 .D1 % mdocml \-Wall,error mdocml.1
75 utility was written by
76 .An Kristaps Dzonsons Aq kristaps@kth.se .
79 The most glaring short-coming of
81 is that it doesn't yet support the
85 macros when used to extend the line arguments to
87 in effect, trampling the body section. We note that this is explicitly
90 but in practice used quite often.