source: pst/sgml/docbook-4.5-dtd.xml

trunk
Last change on this file was 6b33b5b, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Finish tagging for chapters 46-50.

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY sgml-dtd-download-http "https://www.docbook.org/sgml/&docbook-4.5-dtd-version;/docbook-&docbook-4.5-dtd-version;.zip">
8 <!ENTITY sgml-dtd-download-ftp " ">
9 <!ENTITY sgml-dtd-md5sum "07c581f4bbcba6d3aac85360a19f95f7">
10 <!ENTITY sgml-dtd-size "70 KB">
11 <!ENTITY sgml-dtd-buildsize "784 KB">
12 <!ENTITY sgml-dtd-time "less than 0.1 SBU">
13]>
14
15<sect1 id="sgml-dtd" xreflabel="docbook-&docbook-4.5-dtd-version;-dtd">
16 <?dbhtml filename="docbook-4.5-dtd.html"?>
17
18
19 <title>docbook-&docbook-4.5-dtd-version;-dtd</title>
20
21 <indexterm zone="sgml-dtd">
22 <primary sortas="a-DocBook-SGML-DTD-&docbook-4.5-dtd-version;">DocBook SGML
23 DTD-&docbook-4.5-dtd-version;</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to DocBook-4.5 SGML DTD</title>
28
29 <para>
30 The <application>DocBook-4.5 SGML DTD</application> package contains
31 document type definitions for verification of SGML data files against the
32 DocBook rule set. These are useful for structuring books and software
33 documentation to a standard allowing you to utilize transformations
34 already written for that standard.
35 </para>
36
37 &lfs121_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&sgml-dtd-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&sgml-dtd-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &sgml-dtd-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &sgml-dtd-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &sgml-dtd-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &sgml-dtd-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">DocBook-4.5 SGML DTD Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="sgml-common"/> and
78 <xref linkend="unzip"/> (or <xref role='nodep' linkend='libarchive'/>)
79 </para>
80
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of DocBook-4.5 SGML DTD</title>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../../xincludes/use-unzip.xml"/>
89
90 <para>
91 Install <application>DocBook-4.5 SGML DTD</application> by running
92 the following commands:
93 </para>
94
95<screen><userinput>sed -i -e '/ISO 8879/d' \
96 -e '/gml/d' docbook.cat</userinput></screen>
97
98 <para>
99 This package does not come with a test suite.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>install -v -d /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
107chown -R root:root . &amp;&amp;
108
109install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
110cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version; &amp;&amp;
111
112install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
113 /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &amp;&amp;
114
115install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-4.5-dtd-version;.cat \
116 /etc/sgml/sgml-docbook.cat</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para>
124 <command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
125 This command removes the ENT definitions from the catalog file.
126 </para>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring DocBook-4.5 SGML DTD</title>
132
133 <sect3 id="sgml-dtd-config">
134 <title>Config Files</title>
135
136 <para>
137 <filename>/etc/sgml/catalog</filename>
138 </para>
139
140 <indexterm zone="sgml-dtd sgml-dtd-config">
141 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
142 </indexterm>
143
144 </sect3>
145
146 <sect3>
147 <title>Configuration Information</title>
148
149 <para>
150 The above installation script updates the catalog.
151 </para>
152
153 <para>
154 Using only the most current 4.x version of <application>DocBook
155 SGML DTD</application> requires the following (perform as the
156 <systemitem class="username">root</systemitem> user):
157 </para>
158
159<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;/catalog &lt;&lt; "EOF"
160<literal> -- Begin Single Major Version catalog changes --
161
162PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
163PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
164PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
165PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
166PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
167
168 -- End Single Major Version catalog changes --</literal>
169EOF</userinput></screen>
170
171 </sect3>
172
173 </sect2>
174
175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Programs</segtitle>
180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Files</segtitle>
182 <segtitle>Installed Directory</segtitle>
183
184 <seglistitem>
185 <seg>None</seg>
186 <seg>None</seg>
187 <seg>SGML DTD and MOD files</seg>
188 <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-4.5-dtd-version;</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="SGML-DTD-files-4">
198 <term><filename>SGML DTD files</filename></term>
199 <listitem>
200 <para>
201 contains a document type definition which defines the element
202 types and the attribute lists that can be used in the corresponding
203 SGML files
204 </para>
205 <indexterm zone="sgml-dtd SGML-DTD-files-4">
206 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="SGML-MOD-files-4">
212 <term><filename>SGML MOD files</filename></term>
213 <listitem>
214 <para>
215 contains components of the document type definition that are
216 sourced into the <filename>DTD</filename> files
217 </para>
218 <indexterm zone="sgml-dtd SGML-MOD-files-4">
219 <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.