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

11.0 11.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 16 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 11.3 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 &lfs101_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 <para>
215 The above installation creates the files and updates the catalogs.
216 In order to utilize <application>DocBook XML DTD</application>
217 V&docBook-45-xml-version; when any version 4.x is requested in the System
218 Identifier, you need to add additional statements to the catalog
219 files. If you have any of the <application>DocBook XML
220 DTD</application>'s referenced below already installed on your
221 system, remove those entries from the <command>for</command> command
222 below (issue the commands as the <systemitem
223 class="username">root</systemitem> user):
224 </para>
225
226<screen role="root"><userinput>for DTDVERSION in 4.1.2 4.2 4.3 4.4
227do
228 xmlcatalog --noout --add "public" \
229 "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
230 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
231 /etc/xml/docbook
232 xmlcatalog --noout --add "rewriteSystem" \
233 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
234 "file:///usr/share/xml/docbook/xml-dtd-&docBook-45-xml-version;" \
235 /etc/xml/docbook
236 xmlcatalog --noout --add "rewriteURI" \
237 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
238 "file:///usr/share/xml/docbook/xml-dtd-&docBook-45-xml-version;" \
239 /etc/xml/docbook
240 xmlcatalog --noout --add "delegateSystem" \
241 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
242 "file:///etc/xml/docbook" \
243 /etc/xml/catalog
244 xmlcatalog --noout --add "delegateURI" \
245 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
246 "file:///etc/xml/docbook" \
247 /etc/xml/catalog
248done</userinput></screen>
249
250 </sect3>
251
252 </sect2>
253
254 <sect2 role="content">
255 <title>Contents</title>
256
257 <segmentedlist>
258 <segtitle>Installed Programs</segtitle>
259 <segtitle>Installed Libraries</segtitle>
260 <segtitle>Installed Files</segtitle>
261 <segtitle>Installed Directories</segtitle>
262
263 <seglistitem>
264 <seg>None</seg>
265 <seg>None</seg>
266 <seg>DTD, MOD and ENT files</seg>
267 <seg>/etc/xml and /usr/share/xml/docbook/xml-dtd-&docBook-45-xml-version;</seg>
268 </seglistitem>
269 </segmentedlist>
270
271 <variablelist>
272 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
273 <?dbfo list-presentation="list"?>
274 <?dbhtml list-presentation="table"?>
275
276 <varlistentry id="DTD-files">
277 <term><filename>DTD files</filename></term>
278 <listitem>
279 <para>
280 contain a document type definition which defines the element
281 types and the attribute lists that can be used in the corresponding
282 <filename>XML</filename> files
283 </para>
284 <indexterm zone="DocBook DTD-files">
285 <primary sortas="g-XML-DTD-files">XML DTD Files</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="MOD-files">
291 <term><filename>MOD files</filename></term>
292 <listitem>
293 <para>
294 contain components of the document type definition that
295 are sourced into the <filename>DTD</filename> files
296 </para>
297 <indexterm zone="DocBook MOD-files">
298 <primary sortas="g-XML-MOD-files">XML MOD files</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="ENT-files">
304 <term><filename>ENT files</filename></term>
305 <listitem>
306 <para>
307 contain lists of named character entities allowed in HTML
308 </para>
309 <indexterm zone="DocBook ENT-files">
310 <primary sortas="g-XML-ENT-files">XML entity files</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 </variablelist>
316
317 </sect2>
318
319</sect1>
Note: See TracBrowser for help on using the repository browser.