source: pst/xml/docbook.xml@ ebabf24

10.0 10.1 11.0 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ebabf24 was ebabf24, checked in by Randy McMurchy <randy@…>, 15 years ago

Moved the last two xinclude files in the root of the book's sources to the global xinclude directory

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6212 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY DocBook-download-http "http://www.docbook.org/xml/&DocBook-version;/docbook-xml-&DocBook-version;.zip">
8 <!ENTITY DocBook-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/docbook-xml-&DocBook-version;.zip">
9 <!ENTITY DocBook-md5sum "cbb04e9a700955d88c50962ef22c1634">
10 <!ENTITY DocBook-size "96 KB">
11 <!ENTITY DocBook-buildsize "1.2 MB">
12 <!ENTITY DocBook-time "less than 0.1 SBU">
13]>
14
15<sect1 id="DocBook" xreflabel="DocBook XML DTD-&DocBook-version;">
16 <?dbhtml filename="DocBook.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>DocBook XML DTD-&DocBook-version;</title>
24
25 <indexterm zone="DocBook">
26 <primary sortas="a-DocBook-XML-DTD">DocBook XML DTD</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to DocBook XML DTD</title>
31
32 <para>The <application>DocBook XML DTD</application>-&DocBook-version;
33 package contains document type definitions for verification of XML data
34 files against the DocBook rule set. These are useful for structuring books
35 and software documentation to a standard allowing you to utilize
36 transformations already written for that standard.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&DocBook-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&DocBook-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &DocBook-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &DocBook-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &DocBook-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &DocBook-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">DocBook XML DTD Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="libxml2"/> and
64 <xref linkend="unzip"/></para>
65
66 <para condition="html" role="usernotes">User Notes:
67 <ulink url="&blfs-wiki;/docbook"/></para>
68
69 </sect2>
70
71 <sect2 role="installation">
72 <title>Installation of DocBook XML DTD</title>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../../xincludes/use-unzip.xml"/>
76
77 <para>Install <application>DocBook XML DTD</application> by running the
78 following commands as the <systemitem class="username">root</systemitem>
79 user:</para>
80
81<screen role="root"><userinput>install -v -d -m755 /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
82install -v -d -m755 /etc/xml &amp;&amp;
83chown -R root:root . &amp;&amp;
84cp -v -af docbook.cat *.dtd ent/ *.mod \
85 /usr/share/xml/docbook/xml-dtd-&DocBook-version;</userinput></screen>
86
87 <para>Create (or update) and populate the
88 <filename>/etc/xml/docbook</filename> catalog file by running the following
89 commands as the <systemitem class="username">root</systemitem> user:</para>
90
91<screen role="root"><userinput>if [ ! -e /etc/xml/docbook ]; then
92 xmlcatalog --noout --create /etc/xml/docbook
93fi &amp;&amp;
94xmlcatalog --noout --add "public" \
95 "-//OASIS//DTD DocBook XML V&DocBook-version;//EN" \
96 "http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd" \
97 /etc/xml/docbook &amp;&amp;
98xmlcatalog --noout --add "public" \
99 "-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
100 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
101 /etc/xml/docbook &amp;&amp;
102xmlcatalog --noout --add "public" \
103 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
104 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
105 /etc/xml/docbook &amp;&amp;
106xmlcatalog --noout --add "public" \
107 "-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
108 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
109 /etc/xml/docbook &amp;&amp;
110xmlcatalog --noout --add "public" \
111 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V&DocBook-version;//EN" \
112 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbhierx.mod" \
113 /etc/xml/docbook &amp;&amp;
114xmlcatalog --noout --add "public" \
115 "-//OASIS//ELEMENTS DocBook XML HTML Tables V&DocBook-version;//EN" \
116 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/htmltblx.mod" \
117 /etc/xml/docbook
118xmlcatalog --noout --add "public" \
119 "-//OASIS//ENTITIES DocBook XML Notations V&DocBook-version;//EN" \
120 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbnotnx.mod" \
121 /etc/xml/docbook &amp;&amp;
122xmlcatalog --noout --add "public" \
123 "-//OASIS//ENTITIES DocBook XML Character Entities V&DocBook-version;//EN" \
124 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbcentx.mod" \
125 /etc/xml/docbook &amp;&amp;
126xmlcatalog --noout --add "public" \
127 "-//OASIS//ENTITIES DocBook XML Additional General Entities V&DocBook-version;//EN" \
128 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
129 /etc/xml/docbook &amp;&amp;
130xmlcatalog --noout --add "rewriteSystem" \
131 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
132 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
133 /etc/xml/docbook &amp;&amp;
134xmlcatalog --noout --add "rewriteURI" \
135 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
136 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
137 /etc/xml/docbook</userinput></screen>
138
139 <para>Create (or update) and populate the
140 <filename>/etc/xml/catalog</filename> catalog file by running the following
141 commands as the <systemitem class="username">root</systemitem> user:</para>
142
143<screen role="root"><userinput>if [ ! -e /etc/xml/catalog ]; then
144 xmlcatalog --noout --create /etc/xml/catalog
145fi &amp;&amp;
146xmlcatalog --noout --add "delegatePublic" \
147 "-//OASIS//ENTITIES DocBook XML" \
148 "file:///etc/xml/docbook" \
149 /etc/xml/catalog &amp;&amp;
150xmlcatalog --noout --add "delegatePublic" \
151 "-//OASIS//DTD DocBook XML" \
152 "file:///etc/xml/docbook" \
153 /etc/xml/catalog &amp;&amp;
154xmlcatalog --noout --add "delegateSystem" \
155 "http://www.oasis-open.org/docbook/" \
156 "file:///etc/xml/docbook" \
157 /etc/xml/catalog &amp;&amp;
158xmlcatalog --noout --add "delegateURI" \
159 "http://www.oasis-open.org/docbook/" \
160 "file:///etc/xml/docbook" \
161 /etc/xml/catalog</userinput></screen>
162
163 </sect2>
164
165 <sect2 role="configuration">
166 <title>Configuring DocBook XML DTD</title>
167
168 <sect3 id="docbook-config">
169 <title>Config Files</title>
170
171 <para><filename>/etc/xml/catalog</filename>,
172 <filename>/etc/xml/docbook</filename></para>
173
174 <indexterm zone="DocBook docbook-config">
175 <primary sortas="e-etc-xml-docbook">/etc/xml/docbook</primary>
176 </indexterm>
177
178 <indexterm zone="DocBook docbook-config">
179 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary>
180 </indexterm>
181
182 </sect3>
183
184 <sect3>
185 <title>Configuration Information</title>
186
187 <para>The above installation creates the files and updates the catalogs.
188 In order to install <application>ScrollKeeper</application> or to
189 utilize <application>DocBook XML DTD</application> V&DocBook-version;
190 when any version 4.x is requested in the System Identifier, you need to
191 add additional statements to the catalog files. If you have any of the
192 <application>DocBook XML DTD</application>'s referenced below already
193 installed on your system, remove those entries from the
194 <command>for</command> command below (issue the commands as the
195 <systemitem class="username">root</systemitem> user):</para>
196
197<screen role="root"><userinput>for DTDVERSION in 4.1.2 4.2 4.3
198do
199 xmlcatalog --noout --add "public" \
200 "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
201 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
202 /etc/xml/docbook
203 xmlcatalog --noout --add "rewriteSystem" \
204 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
205 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
206 /etc/xml/docbook
207 xmlcatalog --noout --add "rewriteURI" \
208 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
209 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
210 /etc/xml/docbook
211 xmlcatalog --noout --add "delegateSystem" \
212 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
213 "file:///etc/xml/docbook" \
214 /etc/xml/catalog
215 xmlcatalog --noout --add "delegateURI" \
216 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
217 "file:///etc/xml/docbook" \
218 /etc/xml/catalog
219done</userinput></screen>
220
221 </sect3>
222
223 </sect2>
224
225 <sect2 role="content">
226 <title>Contents</title>
227
228 <segmentedlist>
229 <segtitle>Installed Programs</segtitle>
230 <segtitle>Installed Libraries</segtitle>
231 <segtitle>Installed Files</segtitle>
232 <segtitle>Installed Directories</segtitle>
233
234 <seglistitem>
235 <seg>None</seg>
236 <seg>None</seg>
237 <seg>DTD, MOD and ENT files</seg>
238 <seg>/etc/xml and /usr/share/xml/docbook/xml-dtd-&DocBook-version;</seg>
239 </seglistitem>
240 </segmentedlist>
241
242 <variablelist>
243 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
244 <?dbfo list-presentation="list"?>
245 <?dbhtml list-presentation="table"?>
246
247 <varlistentry id="DTD-files">
248 <term><filename>DTD files</filename></term>
249 <listitem>
250 <para>contain a document type definition which defines the element
251 types and the attribute lists that can be used in the corresponding
252 <filename>XML</filename> files.</para>
253 <indexterm zone="DocBook DTD-files">
254 <primary sortas="g-DTD-files">DTD Files</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="MOD-files">
260 <term><filename>MOD files</filename></term>
261 <listitem>
262 <para>files contain components of the document type definition that
263 are sourced into the <filename>DTD</filename> files.</para>
264 <indexterm zone="DocBook MOD-files">
265 <primary sortas="g-MOD-files">MOD files</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="ENT-files">
271 <term><filename>ENT files</filename></term>
272 <listitem>
273 <para>files contain lists of named character entities allowed in
274 HTML.</para>
275 <indexterm zone="DocBook ENT-files">
276 <primary sortas="g-ENT-files">ENT-files</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 </variablelist>
282
283 </sect2>
284
285</sect1>
Note: See TracBrowser for help on using the repository browser.