source: pst/xml/docbook.xml@ c2a37a6

10.0 10.1 11.0 11.1 11.2 6.0 6.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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c2a37a6 was c2a37a6, checked in by Randy McMurchy <randy@…>, 18 years ago

Added md5sums to Chapter 42-44 package instructions

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

  • Property mode set to 100644
File size: 8.5 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY DocBook-download-http "http://www.docbook.org/xml/4.3/docbook-xml-&DocBook-version;.zip">
7 <!ENTITY DocBook-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/docbook-xml-&DocBook-version;.zip">
8 <!ENTITY DocBook-md5sum "ab200202b9e136a144db1e0864c45074">
9 <!ENTITY DocBook-size "83 KB">
10 <!ENTITY DocBook-buildsize "482 KB">
11 <!ENTITY DocBook-time "0.01 SBU">
12]>
13
14<sect1 id="DocBook" xreflabel="DocBook XML DTD-&DocBook-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="DocBook.html"?>
20<title>DocBook XML DTD-&DocBook-version;</title>
21
22<sect2>
23<title>Introduction to <application>DocBook <acronym>XML</acronym>
24<acronym>DTD</acronym></application></title>
25
26<para>The <application>DocBook <acronym>XML</acronym>
27<acronym>DTD</acronym></application>-&DocBook-version; package contains
28document type definitions for verification of <acronym>XML</acronym> data
29files against the DocBook rule set. These are useful for structuring books
30and software documentation to a standard allowing you to utilize
31transformations already written for that standard.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Download (HTTP):
36<ulink url="&DocBook-download-http;"/></para></listitem>
37<listitem><para>Download (FTP):
38<ulink url="&DocBook-download-ftp;"/></para></listitem>
39<listitem><para>Download MD5 sum: &DocBook-md5sum;</para></listitem>
40<listitem><para>Download size: &DocBook-size;</para></listitem>
41<listitem><para>Estimated disk space required:
42&DocBook-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&DocBook-time;</para></listitem></itemizedlist>
45</sect3>
46
47<sect3><title><application>DocBook <acronym>XML</acronym>
48<acronym>DTD</acronym></application> &DocBook-version; dependencies</title>
49<sect4><title>Required</title>
50<para><xref linkend="libxml2"/> and <xref linkend="unzip"/></para>
51</sect4>
52</sect3>
53
54</sect2>
55
56<sect2>
57<title>Installation of <application>DocBook <acronym>XML</acronym>
58<acronym>DTD</acronym></application></title>
59
60<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
61
62<para>Install <application>DocBook <acronym>XML</acronym>
63<acronym>DTD</acronym></application> by running the following commands:</para>
64
65<screen><userinput><command>install -d /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
66chown -R root:root . &amp;&amp;
67cp -af docbook.cat *.dtd ent/ *.mod \
68 /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
69if [ ! -e /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog \
70 --noout --create /etc/xml/catalog; fi &amp;&amp;
71if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
72 /etc/xml/docbook; fi &amp;&amp;
73xmlcatalog --noout --add "public" \
74 "-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
75 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
76 /etc/xml/docbook &amp;&amp;
77xmlcatalog --noout --add "public" \
78 "-//OASIS//DTD DocBook XML V&DocBook-version;//EN" \
79 "http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd" \
80 /etc/xml/docbook &amp;&amp;
81xmlcatalog --noout --add "public" \
82 "-//OASIS//ENTITIES DocBook XML Character Entities V&DocBook-version;//EN" \
83 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbcentx.mod" \
84 /etc/xml/docbook &amp;&amp;
85xmlcatalog --noout --add "public" \
86 "-//OASIS//ENTITIES DocBook XML Notations V&DocBook-version;//EN" \
87 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbnotnx.mod" \
88 /etc/xml/docbook &amp;&amp;
89xmlcatalog --noout --add "public" \
90 "-//OASIS//ENTITIES DocBook XML Additional General Entities V&DocBook-version;//EN" \
91 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
92 /etc/xml/docbook &amp;&amp;
93xmlcatalog --noout --add "public" \
94 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V&DocBook-version;//EN" \
95 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbhierx.mod" \
96 /etc/xml/docbook &amp;&amp;
97xmlcatalog --noout --add "public" \
98 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
99 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
100 /etc/xml/docbook &amp;&amp;
101xmlcatalog --noout --add "public" \
102 "-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
103 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
104 /etc/xml/docbook &amp;&amp;
105xmlcatalog --noout --add "rewriteSystem" \
106 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
107 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
108 /etc/xml/docbook &amp;&amp;
109xmlcatalog --noout --add "rewriteURI" \
110 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
111 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
112 /etc/xml/docbook &amp;&amp;
113xmlcatalog --noout --add "delegatePublic" \
114 "-//OASIS//ENTITIES DocBook XML" \
115 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
116xmlcatalog --noout --add "delegatePublic" \
117 "-//OASIS//DTD DocBook XML" \
118 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
119xmlcatalog --noout --add "delegateSystem" \
120 "http://www.oasis-open.org/docbook/" \
121 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
122xmlcatalog --noout --add "delegateURI" \
123 "http://www.oasis-open.org/docbook/" \
124 "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
125
126</sect2>
127
128<sect2>
129<title>Configuring <application>DocBook <acronym>XML</acronym>
130<acronym>DTD</acronym></application></title>
131
132<sect3 id="docbook-config"><title>Config files</title>
133<para><filename>/etc/xml/catalog</filename>,
134<filename>/etc/xml/docbook</filename></para>
135<indexterm zone="DocBook docbook-config"><primary
136sortas="e-etc-xml-docbook">/etc/xml/docbook</primary></indexterm>
137<indexterm zone="DocBook docbook-config"><primary
138sortas="e-etc-xml-catalog">/etc/xml/catalog</primary></indexterm>
139</sect3>
140
141<sect3><title>Configuration Information</title>
142
143<para>The above installation script creates the files and updates the catalog.
144In order to install <application>ScrollKeeper</application> or to utilize
145<application>DocBook <acronym>XML</acronym>
146<acronym>DTD</acronym></application> V&DocBook-version; when any version 4 is
147requested in the System Identifier, make the following entry:</para>
148<screen><userinput><command>xmlcatalog --noout --add "public" \
149 "-//OASIS//DTD DocBook XML V4.1.2//EN" \
150 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
151 /etc/xml/docbook &amp;&amp;
152xmlcatalog --noout --add "delegateSystem" \
153 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
154 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
155xmlcatalog --noout --add "delegateURI" \
156 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
157 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
158xmlcatalog --noout --add "rewriteSystem" \
159 "http://www.oasis-open.org/docbook/xml/4.1.2" \
160 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
161 /etc/xml/docbook &amp;&amp;
162xmlcatalog --noout --add "rewriteURI" \
163 "http://www.oasis-open.org/docbook/xml/4.1.2" \
164 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
165 /etc/xml/docbook &amp;&amp;
166xmlcatalog --noout --add "rewriteURI" \
167 "http://www.oasis-open.org/docbook/xml/4.2" \
168 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
169 /etc/xml/docbook</command></userinput></screen>
170</sect3>
171
172</sect2>
173
174<sect2>
175<title>Contents</title>
176
177<para>The <application>DocBook <acronym>XML</acronym>
178<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
179files, <filename>MOD</filename> files and <filename>ENT</filename> files.</para>
180
181</sect2>
182
183<sect2><title>Description</title>
184
185<sect3><title>DTD files</title>
186<para><filename>DTD</filename> files contain a document type definition which
187defines the element types and the attribute lists that can be used in the
188corresponding <filename>XML</filename> files.</para></sect3>
189
190<sect3><title>MOD files</title>
191<para><filename>MOD</filename> files contain components of the document type
192definition that are sourced into the <filename>DTD</filename> files.</para>
193</sect3>
194
195<sect3><title>ENT files</title>
196<para><filename>ENT</filename> files contain lists of named character entities
197allowed in <acronym>HTML</acronym>.</para></sect3>
198
199</sect2>
200
201</sect1>
202
Note: See TracBrowser for help on using the repository browser.