[b3b8d69] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[50d3491a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b650556] | 6 |
|
---|
[c6b192c] | 7 | <!ENTITY sgml-dtd-3-download-http "https://www.docbook.org/sgml/&docbook-3.1-dtd-version;/docbk31.zip">
|
---|
[8dfc5c3] | 8 | <!ENTITY sgml-dtd-3-download-ftp " ">
|
---|
[c2a37a6] | 9 | <!ENTITY sgml-dtd-3-md5sum "432749c0c806dbae81c8bcb70da3b5d3">
|
---|
| 10 | <!ENTITY sgml-dtd-3-size "55 KB">
|
---|
[2ddf76a8] | 11 | <!ENTITY sgml-dtd-3-buildsize "676 KB">
|
---|
[51cfa7c3] | 12 | <!ENTITY sgml-dtd-3-time "less than 0.1 SBU">
|
---|
[50d3491a] | 13 | ]>
|
---|
| 14 |
|
---|
[6633f56] | 15 | <sect1 id="sgml-dtd-3" xreflabel="docbook-&docbook-3.1-dtd-version;-dtd">
|
---|
| 16 | <?dbhtml filename="docbook-3.1-dtd.html"?>
|
---|
[b3b8d69] | 17 |
|
---|
| 18 |
|
---|
[6633f56] | 19 | <title>docbook-&docbook-3.1-dtd-version;-dtd</title>
|
---|
[b3b8d69] | 20 |
|
---|
| 21 | <indexterm zone="sgml-dtd-3">
|
---|
[6633f56] | 22 | <primary sortas="a-DocBook-SGML-DTD-&docbook-3.1-dtd-version;">DocBook SGML
|
---|
| 23 | DTD-&docbook-3.1-dtd-version;</primary>
|
---|
[b3b8d69] | 24 | </indexterm>
|
---|
| 25 |
|
---|
[4e82a189] | 26 | <sect2 role="package">
|
---|
[6633f56] | 27 | <title>Introduction to DocBook-3.1 SGML DTD</title>
|
---|
[b3b8d69] | 28 |
|
---|
[47274444] | 29 | <para>
|
---|
| 30 | The <application>DocBook SGML DTD</application> package contains
|
---|
| 31 | document type definitions for verification of SGML data files against
|
---|
| 32 | the DocBook rule set. These are useful for structuring books and software
|
---|
| 33 | documentation to a standard allowing you to utilize transformations
|
---|
| 34 | already written for that standard.
|
---|
| 35 | </para>
|
---|
[b3b8d69] | 36 |
|
---|
[48cb482] | 37 | &lfs112_checked;
|
---|
[00555b0f] | 38 |
|
---|
[b3b8d69] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[47274444] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&sgml-dtd-3-download-http;"/>
|
---|
| 44 | </para>
|
---|
[b3b8d69] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[47274444] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&sgml-dtd-3-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[b3b8d69] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[47274444] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &sgml-dtd-3-md5sum;
|
---|
| 54 | </para>
|
---|
[b3b8d69] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[47274444] | 57 | <para>
|
---|
| 58 | Download size: &sgml-dtd-3-size;
|
---|
| 59 | </para>
|
---|
[b3b8d69] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[47274444] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &sgml-dtd-3-buildsize;
|
---|
| 64 | </para>
|
---|
[b3b8d69] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[47274444] | 67 | <para>
|
---|
| 68 | Estimated build time: &sgml-dtd-3-time;
|
---|
| 69 | </para>
|
---|
[b3b8d69] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[6633f56] | 73 | <bridgehead renderas="sect3">DocBook-3.1 SGML DTD Dependencies</bridgehead>
|
---|
[b3b8d69] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[47274444] | 76 | <para role="required">
|
---|
| 77 | <xref linkend="sgml-common"/> and
|
---|
| 78 | <xref linkend="unzip"/>
|
---|
| 79 | </para>
|
---|
[b3b8d69] | 80 |
|
---|
[977061b0] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/sgml-dtd-3"/></para>
|
---|
| 83 |
|
---|
[b3b8d69] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
[6633f56] | 87 | <title>Installation of DocBook-3.1 SGML DTD</title>
|
---|
[b3b8d69] | 88 |
|
---|
[e05cd03f] | 89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[ebabf24] | 90 | href="../../xincludes/use-unzip.xml"/>
|
---|
[b3b8d69] | 91 |
|
---|
[47274444] | 92 | <para>
|
---|
[6633f56] | 93 | Install <application>DocBook-3.1 SGML DTD</application> by running
|
---|
[47274444] | 94 | the following commands:
|
---|
| 95 | </para>
|
---|
[b3b8d69] | 96 |
|
---|
[512f843] | 97 | <screen><userinput>sed -i -e '/ISO 8879/d' \
|
---|
[6633f56] | 98 | -e 's|DTDDECL "-//OASIS//DTD DocBook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g' \
|
---|
[31d2934] | 99 | docbook.cat</userinput></screen>
|
---|
[2ddf76a8] | 100 |
|
---|
[47274444] | 101 | <para>
|
---|
| 102 | This package does not come with a test suite.
|
---|
| 103 | </para>
|
---|
[ea92fe5] | 104 |
|
---|
[47274444] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[2ddf76a8] | 108 |
|
---|
[6633f56] | 109 | <screen role="root"><userinput>install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version; &&
|
---|
[50d3491a] | 110 | chown -R root:root . &&
|
---|
[6633f56] | 111 | install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &&
|
---|
| 112 | cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version; &&
|
---|
[512f843] | 113 |
|
---|
[6633f56] | 114 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-3.1-dtd-version;.cat \
|
---|
| 115 | /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &&
|
---|
[512f843] | 116 |
|
---|
[6633f56] | 117 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-3.1-dtd-version;.cat \
|
---|
[b3b8d69] | 118 | /etc/sgml/sgml-docbook.cat</userinput></screen>
|
---|
[50d3491a] | 119 |
|
---|
[b3b8d69] | 120 | </sect2>
|
---|
[50d3491a] | 121 |
|
---|
[b3b8d69] | 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
[50d3491a] | 124 |
|
---|
[47274444] | 125 | <para>
|
---|
| 126 | <command>sed -i -e '/ISO 8879/d' docbook.cat</command>: This command
|
---|
| 127 | removes the ENT definitions from the catalog file.
|
---|
| 128 | </para>
|
---|
[50d3491a] | 129 |
|
---|
[47274444] | 130 | <para>
|
---|
| 131 | <command>sed -i -e 's|DTDDECL
|
---|
[6633f56] | 132 | "-//OASIS//DTD Docbook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g'
|
---|
[47274444] | 133 | docbook.cat</command>: This command replaces the DTDDECL catalog entry,
|
---|
| 134 | which is not supported by Linux SGML tools, with the SGMLDECL catalog
|
---|
| 135 | entry.
|
---|
| 136 | </para>
|
---|
[50d3491a] | 137 |
|
---|
[b3b8d69] | 138 | </sect2>
|
---|
[50d3491a] | 139 |
|
---|
[b3b8d69] | 140 | <sect2 role="configuration">
|
---|
[6633f56] | 141 | <title>Configuring DocBook-3.1 SGML DTD</title>
|
---|
[50d3491a] | 142 |
|
---|
[b3b8d69] | 143 | <sect3 id="sgml-dtd-3-config">
|
---|
| 144 | <title>Config Files</title>
|
---|
[50d3491a] | 145 |
|
---|
[47274444] | 146 | <para>
|
---|
| 147 | <filename>/etc/sgml/catalog</filename>
|
---|
| 148 | </para>
|
---|
[50d3491a] | 149 |
|
---|
[b3b8d69] | 150 | <indexterm zone="sgml-dtd-3 sgml-dtd-3-config">
|
---|
| 151 | <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
|
---|
| 152 | </indexterm>
|
---|
[50d3491a] | 153 |
|
---|
[b3b8d69] | 154 | </sect3>
|
---|
[b650556] | 155 |
|
---|
[b3b8d69] | 156 | <sect3>
|
---|
| 157 | <title>Configuration Information</title>
|
---|
| 158 |
|
---|
[47274444] | 159 | <para>
|
---|
| 160 | The above installation script updates the catalog.
|
---|
| 161 | </para>
|
---|
[b3b8d69] | 162 |
|
---|
[47274444] | 163 | <para>
|
---|
| 164 | Using only the most current 3.x version of <application>DocBook
|
---|
| 165 | SGML DTD</application> requires the following (perform as the
|
---|
| 166 | <systemitem class="username">root</systemitem> user):
|
---|
| 167 | </para>
|
---|
[b3b8d69] | 168 |
|
---|
[6633f56] | 169 | <screen role="root"><userinput>cat >> /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog << "EOF"
|
---|
[b3b8d69] | 170 | <literal> -- Begin Single Major Version catalog changes --
|
---|
[50d3491a] | 171 |
|
---|
| 172 | PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
|
---|
| 173 |
|
---|
[b3b8d69] | 174 | -- End Single Major Version catalog changes --</literal>
|
---|
| 175 | EOF</userinput></screen>
|
---|
| 176 |
|
---|
| 177 | </sect3>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | <sect2 role="content">
|
---|
| 182 | <title>Contents</title>
|
---|
| 183 |
|
---|
| 184 | <segmentedlist>
|
---|
| 185 | <segtitle>Installed Programs</segtitle>
|
---|
| 186 | <segtitle>Installed Libraries</segtitle>
|
---|
| 187 | <segtitle>Installed Files</segtitle>
|
---|
| 188 | <segtitle>Installed Directory</segtitle>
|
---|
| 189 |
|
---|
| 190 | <seglistitem>
|
---|
| 191 | <seg>None</seg>
|
---|
| 192 | <seg>None</seg>
|
---|
| 193 | <seg>SGML DTD and MOD files</seg>
|
---|
[6633f56] | 194 | <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;</seg>
|
---|
[b3b8d69] | 195 | </seglistitem>
|
---|
| 196 | </segmentedlist>
|
---|
| 197 |
|
---|
| 198 | <variablelist>
|
---|
| 199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 200 | <?dbfo list-presentation="list"?>
|
---|
[869b15ae] | 201 | <?dbhtml list-presentation="table"?>
|
---|
[b3b8d69] | 202 |
|
---|
| 203 | <varlistentry id="SGML-DTD-files">
|
---|
| 204 | <term><filename>SGML DTD files</filename></term>
|
---|
| 205 | <listitem>
|
---|
[47274444] | 206 | <para>
|
---|
| 207 | contains a document type definition which defines the element
|
---|
| 208 | types and the attribute lists that can be used in the corresponding
|
---|
[4c24eb0a] | 209 | SGML files
|
---|
[47274444] | 210 | </para>
|
---|
[b3b8d69] | 211 | <indexterm zone="sgml-dtd-3 SGML-DTD-files">
|
---|
| 212 | <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="SGML-MOD-files">
|
---|
| 218 | <term><filename>SGML MOD files</filename></term>
|
---|
| 219 | <listitem>
|
---|
[47274444] | 220 | <para>
|
---|
| 221 | contains components of the document type definition that are
|
---|
[4c24eb0a] | 222 | sourced into the <filename>DTD</filename> files
|
---|
[47274444] | 223 | </para>
|
---|
[b3b8d69] | 224 | <indexterm zone="sgml-dtd-3 SGML-MOD-files">
|
---|
| 225 | <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | </variablelist>
|
---|
| 231 |
|
---|
| 232 | </sect2>
|
---|
[fc1d0ba7] | 233 |
|
---|
| 234 | </sect1>
|
---|