Skip to main content

Lift documents in {n,t}roff markups to XML-DocBook.

Project description

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

Install by doing "make install". To install to a prefix other than
the default (/usr), set a PREFIX environment variable
e.g. "PREFIX=/usr/local make -e install"

Test loads are included in the distribution; do "make check" to run
the regression tests. The code has been live tested in about the most
brutal possible way; it has been run against every single man page in
all sections of a desktop Ubuntu installation. It lifts over 93% of
these pages without requiring any hand-hacking.

There is a detailed change log in the NEWS file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doclifter-2.20.4.tar.gz (208.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doclifter-2.20.4-py2.py3-none-any.whl (208.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file doclifter-2.20.4.tar.gz.

File metadata

  • Download URL: doclifter-2.20.4.tar.gz
  • Upload date:
  • Size: 208.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for doclifter-2.20.4.tar.gz
Algorithm Hash digest
SHA256 81afe09c71b58873ad7d148188702e2c800d41aa43e2e468b3f6fb5990ae96fe
MD5 7150c051ebc8806c7f70898f8e654cd0
BLAKE2b-256 179eb81b6c8eb92e6e3eee06b5e745212e014935f38da9311e1e35ec6e6e8762

See more details on using hashes here.

File details

Details for the file doclifter-2.20.4-py2.py3-none-any.whl.

File metadata

  • Download URL: doclifter-2.20.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 208.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for doclifter-2.20.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bdf30900a2cb072701df27b1f75e6e06e049a1872bf6612a698e17189724d13a
MD5 90b66ffe9d680491b274b4579fa3b39b
BLAKE2b-256 ecd024049a889feca99766be0f03a12180d56b77b8c0c891eea48565552272ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page