I would like to parse man pages into a more structure form, but I'm unable to find a proper specification for the data format under use by man pages. Should I be looking for troff or nroff or groff or something else? groff(7) says
The groff system has all features of the classical roff, but adds many extensions.
Are these extensions the various preprocessors like tbl or something else?
So far I've found the following resources:
troff.org - This has historical notes and some tutorials, and some dead links.
man-pages(7) (Linux) - This provides guidelines about sections in man pages (which is useful), but it doesn't talk about the data format.
Is there a clear specification somewhere for the exact format under use by man pages?