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

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

Finish tagging for chapters 46-50.

  • Property mode set to 100644
File size: 7.1 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-3-download-http "https://www.docbook.org/sgml/&docbook-3.1-dtd-version;/docbk31.zip">
8 <!ENTITY sgml-dtd-3-download-ftp " ">
9 <!ENTITY sgml-dtd-3-md5sum "432749c0c806dbae81c8bcb70da3b5d3">
10 <!ENTITY sgml-dtd-3-size "55 KB">
11 <!ENTITY sgml-dtd-3-buildsize "676 KB">
12 <!ENTITY sgml-dtd-3-time "less than 0.1 SBU">
13]>
14
15<sect1 id="sgml-dtd-3" xreflabel="docbook-&docbook-3.1-dtd-version;-dtd">
16 <?dbhtml filename="docbook-3.1-dtd.html"?>
17
18
19 <title>docbook-&docbook-3.1-dtd-version;-dtd</title>
20
21 <indexterm zone="sgml-dtd-3">
22 <primary sortas="a-DocBook-SGML-DTD-&docbook-3.1-dtd-version;">DocBook SGML
23 DTD-&docbook-3.1-dtd-version;</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to DocBook-3.1 SGML DTD</title>
28
29 <para>
30 The <application>DocBook SGML DTD</application> package contains
31 document type definitions for verification of SGML data files against
32 the 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-3-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&sgml-dtd-3-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &sgml-dtd-3-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &sgml-dtd-3-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &sgml-dtd-3-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &sgml-dtd-3-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">DocBook-3.1 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-3.1 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-3.1 SGML DTD</application> by running
92 the following commands:
93 </para>
94
95<screen><userinput>sed -i -e '/ISO 8879/d' \
96 -e 's|DTDDECL "-//OASIS//DTD DocBook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g' \
97 docbook.cat</userinput></screen>
98
99 <para>
100 This package does not come with a test suite.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version; &amp;&amp;
108chown -R root:root . &amp;&amp;
109install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &amp;&amp;
110cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version; &amp;&amp;
111
112install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-3.1-dtd-version;.cat \
113 /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &amp;&amp;
114
115install-catalog --add /etc/sgml/sgml-docbook-dtd-&docbook-3.1-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' docbook.cat</command>: This command
125 removes the ENT definitions from the catalog file.
126 </para>
127
128 <para>
129 <command>sed -i -e 's|DTDDECL
130 "-//OASIS//DTD Docbook V&docbook-3.1-dtd-version;//EN"|SGMLDECL|g'
131 docbook.cat</command>: This command replaces the DTDDECL catalog entry,
132 which is not supported by Linux SGML tools, with the SGMLDECL catalog
133 entry.
134 </para>
135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring DocBook-3.1 SGML DTD</title>
140
141 <sect3 id="sgml-dtd-3-config">
142 <title>Config Files</title>
143
144 <para>
145 <filename>/etc/sgml/catalog</filename>
146 </para>
147
148 <indexterm zone="sgml-dtd-3 sgml-dtd-3-config">
149 <primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary>
150 </indexterm>
151
152 </sect3>
153
154 <sect3>
155 <title>Configuration Information</title>
156
157 <para>
158 The above installation script updates the catalog.
159 </para>
160
161 <para>
162 Using only the most current 3.x version of <application>DocBook
163 SGML DTD</application> requires the following (perform as the
164 <systemitem class="username">root</systemitem> user):
165 </para>
166
167<screen role="root"><userinput>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;/catalog &lt;&lt; "EOF"
168<literal> -- Begin Single Major Version catalog changes --
169
170PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
171
172 -- End Single Major Version catalog changes --</literal>
173EOF</userinput></screen>
174
175 </sect3>
176
177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Files</segtitle>
186 <segtitle>Installed Directory</segtitle>
187
188 <seglistitem>
189 <seg>None</seg>
190 <seg>None</seg>
191 <seg>SGML DTD and MOD files</seg>
192 <seg>/usr/share/sgml/docbook/sgml-dtd-&docbook-3.1-dtd-version;</seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="SGML-DTD-files">
202 <term><filename>SGML DTD files</filename></term>
203 <listitem>
204 <para>
205 contains a document type definition which defines the element
206 types and the attribute lists that can be used in the corresponding
207 SGML files
208 </para>
209 <indexterm zone="sgml-dtd-3 SGML-DTD-files">
210 <primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="SGML-MOD-files">
216 <term><filename>SGML MOD files</filename></term>
217 <listitem>
218 <para>
219 contains components of the document type definition that are
220 sourced into the <filename>DTD</filename> files
221 </para>
222 <indexterm zone="sgml-dtd-3 SGML-MOD-files">
223 <primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 </variablelist>
229
230 </sect2>
231
232</sect1>
Note: See TracBrowser for help on using the repository browser.