%general-entities; ]> $Date$ DocBook-utils-&docbook-utils-version; DocBook-utils Introduction to DocBook-utils 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. &lfs110a_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &docbook-utils-md5sum; Download size: &docbook-utils-size; Estimated disk space required: &docbook-utils-buildsize; Estimated build time: &docbook-utils-time; Additional Downloads Required patch: DocBook-utils Dependencies Required , , and Optional (Runtime Dependencies Only) (for conversion to man and texinfo), and or or W3m (for conversion to ASCII text) User Notes: Installation of DocBook-utils Install DocBook-utils by running the following commands: patch -Np1 -i ../docbook-utils-&docbook-utils-version;-grep_fix-1.patch && sed -i 's:/html::' doc/HTML/Makefile.in && ./configure --prefix=/usr --mandir=/usr/share/man && make This package does not come with a test suite. Now, as the root user: make docdir=/usr/share/doc install Many packages use an alternate name for the DocBook-utils scripts. If you wish to create these alternate names, use the following command as the root user: for doctype in html ps dvi man pdf rtf tex texi txt do ln -svf docbook2$doctype /usr/bin/db2$doctype done The jw script uses the which command to locate required utilities. You must install before attempting to use any of the DocBook-utils programs. Command Explanations patch -Np1 -i ../docbook-utils-&docbook-utils-version;-grep_fix-1.patch: This patch corrects the syntax in the jw (Jade Wrapper) script which is at the heart of much db2* processing, so that the current version of grep will not reject it. sed -i 's:/html::' doc/HTML/Makefile.in: This command changes the installation directory of the HTML documents. : This option is placed on the make install line because is is not recognized by configure. Contents Installed Programs Installed Libraries Installed Directories Installed Symlinks docbook2dvi, docbook2html, docbook2man, docbook2pdf, docbook2ps, docbook2rtf, docbook2tex, docbook2texi, docbook2txt, jw, and sgmldiff None /usr/share/doc/docbook-utils-&docbook-utils-version; and /usr/share/sgml/docbook/utils-&docbook-utils-version; db2dvi, db2html, db2man, db2pdf, db2ps, db2rtf, db2tex, db2texi, and db2txt Short Descriptions docbook2* are simple one-line wrapper scripts to jw. They are provided as easy-to-remember names used to convert DocBook or other SGML files to the respective format docbook2* db2* are symlinks pointing at the respectively named docbook2* commands, created to satisfy some program's use of these names db2* jw is a script used to convert DocBook or other SGML files to various output formats. It hides most of OpenJade's complexity and adds comfortable features jw sgmldiff is used to compare two SGML files and only return the differences in the markup. This is especially useful to compare files that should be identical except for language differences in the content sgmldiff