[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;
|
---|
[b650556] | 5 |
|
---|
[2aae5cbe] | 6 | <!ENTITY sgml-dtd-3-download-http "http://www.docbook.org/sgml/&sgml-dtd-3-version;/docbk31.zip">
|
---|
[cb6de2e] | 7 | <!ENTITY sgml-dtd-3-download-ftp "ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/docbk31.zip">
|
---|
[c2a37a6] | 8 | <!ENTITY sgml-dtd-3-md5sum "432749c0c806dbae81c8bcb70da3b5d3">
|
---|
| 9 | <!ENTITY sgml-dtd-3-size "55 KB">
|
---|
[2ddf76a8] | 10 | <!ENTITY sgml-dtd-3-buildsize "676 KB">
|
---|
[50d3491a] | 11 | <!ENTITY sgml-dtd-3-time "0.01 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[b028890] | 14 | <sect1 id="sgml-dtd-3" xreflabel="DocBook SGML DTD-&sgml-dtd-3-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="sgml-dtd-3.html"?>
|
---|
[b028890] | 20 | <title>DocBook SGML DTD-&sgml-dtd-3-version;</title>
|
---|
[2ddf76a8] | 21 | <indexterm zone="sgml-dtd-3">
|
---|
| 22 | <primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-3-version;">DocBook SGML
|
---|
| 23 | DTD-&sgml-dtd-3-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-3-download-http;"/></para></listitem>
|
---|
| 40 | <listitem><para>Download (FTP): <ulink
|
---|
| 41 | url="&sgml-dtd-3-download-ftp;"/></para></listitem>
|
---|
[c2a37a6] | 42 | <listitem><para>Download MD5 sum: &sgml-dtd-3-md5sum;</para></listitem>
|
---|
[50d3491a] | 43 | <listitem><para>Download size: &sgml-dtd-3-size;</para></listitem>
|
---|
[518538f] | 44 | <listitem><para>Estimated disk space required:
|
---|
[50d3491a] | 45 | &sgml-dtd-3-buildsize;</para></listitem>
|
---|
| 46 | <listitem><para>Estimated build time:
|
---|
| 47 | &sgml-dtd-3-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>
|
---|
| 62 |
|
---|
| 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>
|
---|
[50d3491a] | 67 |
|
---|
[b650556] | 68 | <screen><userinput><command>sed -i -e '/ISO 8879/d' \
|
---|
| 69 | -e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
|
---|
[2ddf76a8] | 70 | docbook.cat</command></userinput></screen>
|
---|
| 71 |
|
---|
| 72 | <para>Now, as the root user:</para>
|
---|
| 73 |
|
---|
| 74 | <screen><userinput role='root'><command>install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &&
|
---|
[50d3491a] | 75 | chown -R root:root . &&
|
---|
[2ddf76a8] | 76 | install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &&
|
---|
| 77 | cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &&
|
---|
[50d3491a] | 78 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
|
---|
| 79 | /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &&
|
---|
| 80 | install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
|
---|
| 81 | /etc/sgml/sgml-docbook.cat</command></userinput></screen>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Command explanations</title>
|
---|
| 87 |
|
---|
[cb6de2e] | 88 | <para><command>sed -i -e '/ISO 8879/d' docbook.cat</command>: This command
|
---|
| 89 | removes the ENT definitions from the catalog file.</para>
|
---|
[50d3491a] | 90 |
|
---|
[c2a37a6] | 91 | <para><command>sed -i -e 's|DTDDECL
|
---|
| 92 | "-//OASIS//DTD Docbook V&sgml-dtd-3-version;//EN"|SGMLDECL|g'
|
---|
[cb6de2e] | 93 | docbook.cat</command>: This command replaces the DTDDECL catalog entry,
|
---|
| 94 | which is not supported by Linux <acronym>SGML</acronym> tools, with the
|
---|
| 95 | SGMLDECL catalog entry.</para>
|
---|
[50d3491a] | 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2>
|
---|
[cb6de2e] | 100 | <title>Configuring <application>DocBook <acronym>SGML</acronym>
|
---|
| 101 | <acronym>DTD</acronym></application></title>
|
---|
[50d3491a] | 102 |
|
---|
[2ddf76a8] | 103 | <sect3 id="sgml-dtd-3-config"><title>Config files</title>
|
---|
[50d3491a] | 104 | <para><filename>/etc/sgml/catalog</filename></para>
|
---|
[2ddf76a8] | 105 | <indexterm zone="sgml-dtd-3 sgml-dtd-3-config">
|
---|
| 106 | <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary></indexterm>
|
---|
[50d3491a] | 107 | </sect3>
|
---|
| 108 |
|
---|
| 109 | <sect3><title>Configuration Information</title>
|
---|
| 110 |
|
---|
| 111 | <para>The above installation script updates the catalog.</para>
|
---|
| 112 |
|
---|
[cb6de2e] | 113 | <para>Using only the most current 3.x version of <application>DocBook
|
---|
| 114 | <acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the
|
---|
[2ddf76a8] | 115 | following (perform as the root user):</para>
|
---|
[b650556] | 116 |
|
---|
[2ddf76a8] | 117 | <screen><userinput role='root'><command>cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog << "EOF"</command>
|
---|
[50d3491a] | 118 | -- Begin Single Major Version catalog changes --
|
---|
| 119 |
|
---|
| 120 | PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
|
---|
| 121 |
|
---|
| 122 | -- End Single Major Version catalog changes --
|
---|
| 123 | <command>EOF</command></userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2>
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
[2ddf76a8] | 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Files</segtitle>
|
---|
| 136 | <segtitle>Installed Directory</segtitle>
|
---|
| 137 |
|
---|
| 138 | <seglistitem>
|
---|
| 139 | <seg>None</seg>
|
---|
| 140 | <seg>None</seg>
|
---|
| 141 | <seg>SGML DTD and MOD files</seg>
|
---|
[2aae5cbe] | 142 | <seg>/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;</seg>
|
---|
[2ddf76a8] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="SGML-DTD-files">
|
---|
| 151 | <term><filename>SGML DTD files</filename></term>
|
---|
| 152 | <listitem><para>contain a document type definition which defines the element
|
---|
| 153 | types and the attribute lists that can be used in the corresponding
|
---|
| 154 | <acronym>SGML</acronym> files.</para>
|
---|
| 155 | <indexterm zone="sgml-dtd-3 SGML-DTD-files">
|
---|
| 156 | <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
|
---|
| 157 | </indexterm></listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="SGML-MOD-files">
|
---|
| 161 | <term><filename>SGML MOD files</filename></term>
|
---|
| 162 | <listitem><para>contain components of the document type definition that are
|
---|
| 163 | sourced into the <filename>DTD</filename> files.</para>
|
---|
| 164 | <indexterm zone="sgml-dtd-3 SGML-MOD-files">
|
---|
| 165 | <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
|
---|
| 166 | </indexterm></listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 | </variablelist>
|
---|
[50d3491a] | 169 |
|
---|
| 170 | </sect2>
|
---|
[fc1d0ba7] | 171 |
|
---|
| 172 | </sect1>
|
---|
| 173 |
|
---|