%general-entities; ]> DocBook SGML DTD-&sgml-dtd-3-version; Introduction to <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> 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. Package information Download (HTTP): Download (FTP): Download size: &sgml-dtd-3-size; Estimated Disk space required: &sgml-dtd-3-buildsize; Estimated build time: &sgml-dtd-3-time; <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> dependencies Required and Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> Install DocBook SGML DTD by running the following commands: sed -i -e '/ISO 8879/d' docbook.cat && sed -i -e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \ docbook.cat && install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; && chown -R root:root . && chmod -R 755 . && install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog && cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; && install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \ /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog && install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \ /etc/sgml/sgml-docbook.cat Command explanations sed -i -e '/ISO 8879/d' docbook.cat: This command removes the ENT definitions from the catalog file. sed -i -e 's|DTDDECL "-//OASIS//DTD Docbook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' docbook.cat: This command replaces the DTDDECL catalog entry, which is not supported by Linux SGML tools, with the SGMLDECL catalog entry. Configuring <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> Config files /etc/sgml/catalog Configuration Information The above installation script updates the catalog. Using only the most current 3.x version of DocBook SGML DTD requires the following: cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog << "EOF" -- Begin Single Major Version catalog changes -- PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd" -- End Single Major Version catalog changes -- EOF Contents The DocBook SGML DTD package contains DTD files and MOD files. Description DTD 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. MOD files MOD files contain components of the document type definition that are sourced into the DTD files.