The DocBook SGML DTD package contains document type definitions for verification of SGML data files against the DocBook rule set. These are useful for structuring books and software documentation to a standard allowing you to utilize transformations already written for that standard.
Download (HTTP): http://www.docbook.org/sgml/4.3/docbook-4.3.zip
Download MD5 sum: e3beb1b0b2923c24fa55a68e88654b01
Download size: 76 KB
Estimated disk space required: 389 KB
Estimated build time: 0.01 SBU
The package source is distributed in zip format and requires unzip. You should create a directory and change to that directory before unzipping the file to ease the removal of the source files after the package has been installed.
Install DocBook SGML DTD by running the following commands:
sed -i -e '/ISO 8879/d' \ -e '/gml/d' docbook.cat && install -d /usr/share/sgml/docbook/sgml-dtd-4.3 && chown -R root:root . && install docbook.cat /usr/share/sgml/docbook/sgml-dtd-4.3/catalog && cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-4.3 && install-catalog --add /etc/sgml/sgml-docbook-dtd-4.3.cat \ /usr/share/sgml/docbook/sgml-dtd-4.3/catalog && install-catalog --add /etc/sgml/sgml-docbook-dtd-4.3.cat \ /etc/sgml/sgml-docbook.cat
sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat: This command removes the ENT definitions from the catalog file.
The above installation script updates the catalog.
Using only the most current 4.x version of DocBook SGML DTD requires the following:
cat >> /usr/share/sgml/docbook/sgml-dtd-4.3/catalog << "EOF" -- Begin Single Major Version catalog changes -- PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd" -- End Single Major Version catalog changes -- EOF
The DocBook SGML DTD package contains DTD files and MOD files.
DTD files contain a document type definition which defines the element types and the attribute lists that can be used in the corresponding SGML files.
Last updated on 2005-02-15 17:43:57 -0700