source: pst/xml/docbook.xml@ 07499ecc

10.0 10.1 11.0 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 07499ecc was 07499ecc, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Archive udisks
Tags for general/progs

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

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