While writing, make sure that your manual is correctly structured:
% mandoc -Tlint -Wall -fstrict name.1
The quick-fix feature of
vim(1) is useful for checking over many manuals:
% mandoc -Wall -fstrict -Tlint -fign-errors \
./path/to/manuals/* 2>&1 > /tmp/mandoc.errs
% vim -q /tmp/mandoc.errs
You may spell-check your work as follows:
% deroff name.1 | spell
If
ispell(1) is installed, it has a special mode for manuals:
% ispell -n name.1
Use
cvs(1) or
rcs(1) to version-control your work. If you wish the last check-in to effect your document's date, use the following RCS tag for the date macro:
.Dd $Mdocdate: April 13 2010 $