using mdoc

usage:  mdoc <start directory> <tex output file>