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