Utroff.org

Troffxml readme

Presentation

Troffxml provide a solution to build an xml file from a troff document that rely on nroff. A nroff macro (for example ux, from utmac) is used to build a flat text of the document which contain tags that a postprocessor (postxml) will convert to xml. A preprocessor (prexml) escape these tags if they are present in the source document. A final pipe program (trxtr) will translate the xml file to a famous xml format.

Build and install

To build and install, edit the file config.mk from the root directory, and run :

make install

In some circumstances, you might need utroff tools themselves to build the manual pages. In that case, build and install binaries before manual pages like this :

make installbin
make installman

You can uninstall files and clean the working directory :

make uninstall
make clean

For a more complete description of the build process, look at the README in the root directory.

License

Troffxml and its documentation are distributed under a two clause BSD license.

Help and bugs

Don’t hesitate to ask questions at help at utroff dot org. Please, send bugs and patches at help at utroff dot org.