Package doclifter

Translates documents written in troff macros to DocBook

http://www.catb.org/~esr/doclifter/

The doclifter program translates documents written in troff macros to DocBook.

Lifting documents from presentation level to semantic level is hard, and
a really good job requires human polishing. This tool aims to do everything
that can be mechanized, and to preserve any troff-level information that might
have structural implications in XML comments.

This tool does the hard parts. TBL tables are translated into DocBook
table markup, PIC into SVG, and EQN into MathML (relying on pic2svg
and GNU eqn for the last two).

General Commands (Section 1)
doclifter
doclifter translates documents written in troff macros to DocBook. Structural subsets of the requests in man(7), mdoc(7), ms(7), me(7), mm(7), and troff(1) are...
manlifter
manlifter is a script that sequences doclifter(1) to convert an entire manual-page tree to XML-Docbook, optionally also generating HTML from the XML. Another...