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