source: pst/xml/docbook-45-xml.xml@ f429481

11.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f429481 was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

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