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