Summary

Lift documents in [nt]roff markups to XML-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 [nt]roff-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).

Resources


NEWSproject news
TODOto-do file
COPYINGproject license
READMEroadmap file
doclifter-2.21.md5source tarball MD5 checksum
doclifter-2.21.tar.gzgzipped source tarball
manlifter.htmlHTML rendering of manlifter.1
doclifter.htmlHTML rendering of doclifter.1

You can browse a report on manual-page bugs found by doclifter.

The project repository is at https://gitlab.com/esr/doclifter.

This is packaged for Debian and derivatives as: doclifter

If you appreciate this code (and especially if you make money by using it) please support me on Patreon.

Recent Changes

  Allow aliasing to MTO to URL - happens in some macro boilerplate
  Discard \F changes in the title field of .TH
  TAPify test machinery.
  Drop testing against Python 2

Supporters

This work is funded by...

My Bronze supporters: Martin Hohenberg, Jae Yang, Daniel Garber, Kyle Burkholder, Mike Nichols, Mark Ping, Tom Taylor, Arnold F. Williams, George Brower, Michael Nygard, Brendan Long, Sven Dowideit, Dave Witten, Jonathan Cast, James Cronin, David L. Jessup, Christopher Chang, Killer Delicious, Jacob Lyles, Neil Anuskiewicz, Mordant, Clemens Ladisch, Wojciech Woytniak, Masa Bando, John Carmack, Xingyu Wang, Jane Tang, Steven Evans, Jan Roudaut, Hsueh Sung, Ken LaCrosse, taishi28012, John Simpson, Jerod Tufte, Paul Abbott, Stan Witherspoon, Donald Greer, Gratiela Chergu, Michael Ciagala, Dale Carstensen, Chip Davis, Liudmilla Karukina, Jim McCloskey, Dewey Sasser, Hal Hildebrand, Connor Wood, Ken Kennedy, darrin, Mark Gardner, William Christensen, Malcolm Ocean, Rod Davenport, Nodarius Darjania, Cheryl Evry, Wenfeng Liang, Irving Rivas, Bill Soistman, ReallyBored, Άρης Δάσος, Ron Lauzon, TheFred, Paul Theodoropolous, Doug Phillips, Les Vogel, Matt Pollard, Andres Cordova, Umgeher Torgersen, Syeed Ali, Raghu Veer Dendukuri, Perry The Cynic, Gustav A Wirth, Mitchell Bryant, Matt Krueger, Jim Mog, John D. Taylor.

My Institutional supporters: Jason Azze and the DEVOPS team at his $DAYJOB, Christoph Happle, Symmetry Investments, Willam Duff, Mark Atwood, Caleb LaVergne, zariah mccall.

Become a Patreon patron!

Or contribute via SubscribeStar.