BSD Ports

textproc/doclifter 2.22 OpenBSD

troff to DocBook converter

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, lang/python

Description

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).

In the other systems

SystemPortVersion
OpenBSDtextproc/doclifter2.22
NetBSDtextproc/doclifter2.22

Install

Binary package:

pkg_add doclifter

From the ports tree:

cd /usr/ports/textproc/doclifter && make install

Dependencies

Run dependencies 1

No port depends on this one.