The DocBook-utils package is a collection of utility scripts used to convert and analyze SGML documents in general, and DocBook files in particular. The scripts are used to convert from DocBook or other SGML formats into “classical” file formats like HTML, man, info, RTF and many more. There's also a utility to compare two SGML files and only display the differences in markup. This is useful for comparing documents prepared for different languages.
Download (HTTP): http://sources-redhat.mirrors.redwire.net/docbook-tools/new-trials/SOURCES/docbook-utils-0.6.14.tar.gz
Download (FTP): ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-0.6.14.tar.gz
Download MD5 sum: 6b41b18c365c01f225bc417cf632d81c
Download size: 124 KB
Estimated disk space required: 1.44 MB
Estimated build time: .03 SBU
OpenJade-1.3.2, DocBook DSSSL Stylesheets-1.79 and DocBook SGML DTD-3.1
JadeTeX-3.13 (for conversion to DVI, PS and PDF), SGMLSpm (for conversion to man and texinfo), and Lynx-2.8.5 or Links-2.1pre17 or w3m (for conversion to ASCII text)
Earlier versions of the BLFS OpenSP instructions installed a catalog containing an SGMLDECL unicode.sd declaration into the system SGML catalogs. This declaration causes some of the OpenJade programs to fail occasionally. You'll need to remove these catalog definitions if they exist, or the package build will fail. The following command can determine if you need to remove these catalog definitions:
grep "OpenSP-1.5.1" /etc/sgml/catalog
If anything was returned, run the following command as the root user to remove the catalog definitions:
sed -i.orig \ -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ /etc/sgml/catalog \ /etc/sgml/sgml-docbook.cat
Install DocBook-utils by running the following commands:
sed -i 's:/html::' doc/HTML/Makefile.in && ./configure --prefix=/usr && make
Now, as the root user:
make install
Many packages use an alternate name for the DocBook-utils scripts. If you wish to create these alternate names, use the following command:
for doctype in html ps dvi man pdf rtf tex texi txt do ln -s docbook2$doctype /usr/bin/db2$doctype done
The jw script uses the which command to locate required utilities. You must install which-2.16 before attempting to use any of the DocBook-utils programs.
sed -i 's:/html::' doc/HTML/Makefile.in: This command changes the installation directory of the HTML documents.
Last updated on 2005-08-01 13:29:19 -0600