1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/&sgml-dtd-version;/docbook-&sgml-dtd-version;.zip">
|
---|
7 | <!ENTITY sgml-dtd-download-ftp " ">
|
---|
8 | <!ENTITY sgml-dtd-md5sum "f89e1bd0b2c7a361e3f1f739e16b5d0d">
|
---|
9 | <!ENTITY sgml-dtd-size "66 KB">
|
---|
10 | <!ENTITY sgml-dtd-buildsize "784 KB">
|
---|
11 | <!ENTITY sgml-dtd-time "0.01 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="sgml-dtd.html"?>
|
---|
20 | <title>DocBook SGML DTD-&sgml-dtd-version;</title>
|
---|
21 | <indexterm zone="sgml-dtd">
|
---|
22 | <primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-version;">DocBook SGML
|
---|
23 | DTD-&sgml-dtd-version;</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
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
|
---|
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>
|
---|
42 | <listitem><para>Download MD5 sum: &sgml-dtd-md5sum;</para></listitem>
|
---|
43 | <listitem><para>Download size: &sgml-dtd-size;</para></listitem>
|
---|
44 | <listitem><para>Estimated disk space required:
|
---|
45 | &sgml-dtd-buildsize;</para></listitem>
|
---|
46 | <listitem><para>Estimated build time:
|
---|
47 | &sgml-dtd-time;</para></listitem></itemizedlist>
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | <sect3><title><application>DocBook <acronym>SGML</acronym>
|
---|
51 | <acronym>DTD</acronym></application> dependencies</title>
|
---|
52 | <sect4><title>Required</title>
|
---|
53 | <para><xref linkend="sgml-common"/> and <xref linkend="unzip"/></para>
|
---|
54 | </sect4>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2>
|
---|
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"/>
|
---|
64 |
|
---|
65 | <para>Install <application>DocBook <acronym>SGML</acronym>
|
---|
66 | <acronym>DTD</acronym></application> by running the following commands:</para>
|
---|
67 |
|
---|
68 | <screen><userinput><command>sed -i -e '/ISO 8879/d' \
|
---|
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; &&
|
---|
74 | chown -R root:root . &&
|
---|
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; &&
|
---|
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 |
|
---|
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>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2>
|
---|
93 | <title>Configuring <application>DocBook <acronym>SGML</acronym>
|
---|
94 | <acronym>DTD</acronym></application></title>
|
---|
95 |
|
---|
96 | <sect3 id="sgml-dtd-config"><title>Config files</title>
|
---|
97 | <para><filename>/etc/sgml/catalog</filename></para>
|
---|
98 | <indexterm zone="sgml-dtd sgml-dtd-config">
|
---|
99 | <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary></indexterm>
|
---|
100 | </sect3>
|
---|
101 |
|
---|
102 | <sect3><title>Configuration Information</title>
|
---|
103 |
|
---|
104 | <para>The above installation script updates the catalog.</para>
|
---|
105 |
|
---|
106 | <para>Using only the most current 4.x version of <application>DocBook
|
---|
107 | <acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the
|
---|
108 | following (perform as the root user):</para>
|
---|
109 |
|
---|
110 | <screen><userinput role='root'><command>cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog << "EOF"</command>
|
---|
111 | -- Begin Single Major Version catalog changes --
|
---|
112 |
|
---|
113 | PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
|
---|
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 |
|
---|
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>
|
---|
165 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
168 | </sect1>
|
---|
169 |
|
---|