[41f1223] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[50d3491a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[cb6de2e] | 6 |
|
---|
[2aae5cbe] | 7 | <!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/&sgml-dtd-version;/docbook-&sgml-dtd-version;.zip">
|
---|
[50d3491a] | 8 | <!ENTITY sgml-dtd-download-ftp " ">
|
---|
[2aae5cbe] | 9 | <!ENTITY sgml-dtd-md5sum "f89e1bd0b2c7a361e3f1f739e16b5d0d">
|
---|
| 10 | <!ENTITY sgml-dtd-size "66 KB">
|
---|
| 11 | <!ENTITY sgml-dtd-buildsize "784 KB">
|
---|
[50d3491a] | 12 | <!ENTITY sgml-dtd-time "0.01 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[b028890] | 15 | <sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
|
---|
[41f1223] | 16 | <?dbhtml filename="sgml-dtd.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[d352a28] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">docbook-&sgml-dtd-version;.zip</keyword>
|
---|
[f1283d3f] | 23 | <keyword role="ftpdir">docbook</keyword>
|
---|
[d352a28] | 24 | </keywordset>
|
---|
[41f1223] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>DocBook SGML DTD-&sgml-dtd-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="sgml-dtd">
|
---|
| 30 | <primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-version;">DocBook SGML
|
---|
| 31 | DTD-&sgml-dtd-version;</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
[4e82a189] | 34 | <sect2 role="package">
|
---|
[41f1223] | 35 | <title>Introduction to DocBook SGML DTD</title>
|
---|
| 36 |
|
---|
| 37 | <para>The <application>DocBook SGML DTD</application> package contains
|
---|
| 38 | document type definitions for verification of SGML data files against the
|
---|
| 39 | DocBook rule set. These are useful for structuring books and software
|
---|
| 40 | documentation to a standard allowing you to utilize transformations
|
---|
| 41 | already written for that standard.</para>
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&sgml-dtd-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &sgml-dtd-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &sgml-dtd-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &sgml-dtd-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &sgml-dtd-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
[37a457d9] | 65 | <bridgehead renderas="sect3">DocBook SGML DTD Dependencies</bridgehead>
|
---|
[41f1223] | 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d352a28] | 68 | <para role="required"><xref linkend="sgml-common"/> and
|
---|
| 69 | <xref linkend="unzip"/></para>
|
---|
[41f1223] | 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of DocBook SGML DTD</title>
|
---|
| 75 |
|
---|
| 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 77 | href="../../use-unzip.xml"/>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>DocBook SGML DTD</application> by running
|
---|
| 80 | the following commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>sed -i -e '/ISO 8879/d' \
|
---|
| 83 | -e '/gml/d' docbook.cat</userinput></screen>
|
---|
| 84 |
|
---|
[ea92fe5] | 85 | <para>This package does not come with a test suite.</para>
|
---|
| 86 |
|
---|
[41f1223] | 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &&
|
---|
[50d3491a] | 90 | chown -R root:root . &&
|
---|
[2aae5cbe] | 91 | install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &&
|
---|
| 92 | cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &&
|
---|
[50d3491a] | 93 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
|
---|
| 94 | /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &&
|
---|
| 95 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
|
---|
[41f1223] | 96 | /etc/sgml/sgml-docbook.cat</userinput></screen>
|
---|
[50d3491a] | 97 |
|
---|
[41f1223] | 98 | </sect2>
|
---|
[50d3491a] | 99 |
|
---|
[41f1223] | 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
[50d3491a] | 102 |
|
---|
[41f1223] | 103 | <para><command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
|
---|
| 104 | This command removes the ENT definitions from the catalog file.</para>
|
---|
[50d3491a] | 105 |
|
---|
[41f1223] | 106 | </sect2>
|
---|
[50d3491a] | 107 |
|
---|
[41f1223] | 108 | <sect2 role="configuration">
|
---|
| 109 | <title>Configuring DocBook SGML DTD</title>
|
---|
[50d3491a] | 110 |
|
---|
[41f1223] | 111 | <sect3 id="sgml-dtd-config">
|
---|
| 112 | <title>Config Files</title>
|
---|
[50d3491a] | 113 |
|
---|
[41f1223] | 114 | <para><filename>/etc/sgml/catalog</filename></para>
|
---|
[50d3491a] | 115 |
|
---|
[41f1223] | 116 | <indexterm zone="sgml-dtd sgml-dtd-config">
|
---|
| 117 | <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
|
---|
| 118 | </indexterm>
|
---|
[50d3491a] | 119 |
|
---|
[41f1223] | 120 | </sect3>
|
---|
[b650556] | 121 |
|
---|
[41f1223] | 122 | <sect3>
|
---|
| 123 | <title>Configuration Information</title>
|
---|
| 124 |
|
---|
| 125 | <para>The above installation script updates the catalog.</para>
|
---|
| 126 |
|
---|
| 127 | <para>Using only the most current 4.x version of <application>DocBook
|
---|
| 128 | SGML DTD</application> requires the following (perform as the
|
---|
| 129 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 130 |
|
---|
| 131 | <screen role="root"><userinput>cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog << "EOF"
|
---|
| 132 | <literal> -- Begin Single Major Version catalog changes --
|
---|
[50d3491a] | 133 |
|
---|
[2aae5cbe] | 134 | PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
|
---|
[50d3491a] | 135 | PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
|
---|
| 136 | PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
|
---|
| 137 | PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
|
---|
| 138 |
|
---|
[41f1223] | 139 | -- End Single Major Version catalog changes --</literal>
|
---|
| 140 | EOF</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | </sect3>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
| 150 | <segtitle>Installed Programs</segtitle>
|
---|
| 151 | <segtitle>Installed Libraries</segtitle>
|
---|
| 152 | <segtitle>Installed Files</segtitle>
|
---|
| 153 | <segtitle>Installed Directory</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>None</seg>
|
---|
| 157 | <seg>None</seg>
|
---|
| 158 | <seg>SGML DTD and MOD files</seg>
|
---|
| 159 | <seg>/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;</seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="SGML-DTD-files-4">
|
---|
| 169 | <term><filename>SGML DTD files</filename></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>contain a document type definition which defines the element
|
---|
| 172 | types and the attribute lists that can be used in the corresponding
|
---|
| 173 | SGML files.</para>
|
---|
| 174 | <indexterm zone="sgml-dtd SGML-DTD-files-4">
|
---|
| 175 | <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="SGML-MOD-files-4">
|
---|
| 181 | <term><filename>SGML MOD files</filename></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>contain components of the document type definition that are
|
---|
| 184 | sourced into the <filename>DTD</filename> files.</para>
|
---|
| 185 | <indexterm zone="sgml-dtd SGML-MOD-files-4">
|
---|
| 186 | <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | </variablelist>
|
---|
| 192 |
|
---|
| 193 | </sect2>
|
---|
[fc1d0ba7] | 194 |
|
---|
| 195 | </sect1>
|
---|