docbook2texi-spec.pl - Man Page

convert DocBook Booksto Texinfo documents

Synopsis

sgmlspl docbook2man-spec.pl

nsgmls [ sgml document ]| sgmlspl docbook2texi-spec.pl [ basename ]

Description

docbook2texi is a sgmlspl spec file that produces GNU Texinfo documents from DocBook documents.  

The program reads ESIS produced by nsgmls (or other SGML parsers) from standard input.  Currently the document element must be Book, otherwise the results are undefined.

Its output, the converted Texinfo document, is written to standard output.

The file basename.refs will also be created, which contains all the nodes in the document and their immediate 'child' nodes.  As node processing always require forward references, docbook2texi must be run twice for each document: the first time to build the references, and the second to actually generate a valid document.

Requirements

The SGMLSpm package from CPAN.  This package includes the sgmlspl script that is also needed.

Limitations

Trying docbook2man on non-DocBook or non-conformant SGML results in undefined behavior. :-)

This program is a slow, dodgy Perl script.

This program does not come close to supporting all the possible markup in DocBook, and may produce wrong output in some cases with supported markup.

To Do

Referenced By

jw(1).

11 February 2004