I'm the author of mandoc, http://mdocml.bsd.lv, which formats UNIX
manual pages in `mdoc' and (less so) `man' (not to be confused with
troff, which is generalised). mandoc is primarily a resident of the BSD
UNIX systems (e.g., OpenBSD), but in the last release I put in the
necessary bits for producing a win32 binary with mingw32. It was quite
easy: only a few missing functions caught when configuring (strptime is
the only bugger, as are wide-character functions).
Anyway, a mingw user wrote and suggested I contact this list about
getting mandoc to work closer with mingw (which apparently uses groff).
I know nothing about Windows programming; however, I welcome the
opportunity to make mandoc work better with non-UNIX systems (mdoc is
really a nice documentation language). So if anybody on this list has
any ideas on how to have mandoc play nicer with MS via mingw without
hoops, please let me know and I'm happy to work in fixes and patches to
make it happen.