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