DocBook SGML DTD-3.1
From CBLFS
Jump to navigationJump to search
Download Source: | http://www.docbook.org/sgml/3.1/docbk31.zip |
---|---|
Download Source: | ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/docbk31.zip |
Introduction to SGMLDTD-3.1
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.
Dependencies
Required
Non-Multilib or Multilib
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.
Remove the ENT definitions from the catalog file and replace the DTDDECL catalog entry, which is not support by Linux SGML tools, with the SGMLDECL catalog entry.
sed -i -e '/ISO 8879/d' \ -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \ docbook.cat
Install the package
install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-3.1 && chown -R root:root . && install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog && cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-3.1 && install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \ /usr/share/sgml/docbook/sgml-dtd-3.1/catalog && install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \ /etc/sgml/sgml-docbook.cat