source: pst/xml/docbook.xml@ 977061b0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 977061b0 was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

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