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