Beyond Linux® From Scratch - Version 7.5

Chapter 45. Standard Generalized Markup Language (SGML)

DocBook-utils-0.6.14

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.

This package is known to build and work properly using an LFS-7.5
platform.

Note

The jw script uses
the which command
to locate required utilities. You must install Which-2.20 before attempting to
use any of the DocBook-utils
programs.

Command Explanations

patch -Np1 -i
../docbook-utils-0.6.14-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.