The textproc/doclifter port
doclifter-2.17 – troff to DocBook converter
The doclifter program translates documents written in troff macros to
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).
The OpenBSD ports mailing-list