source: pst/xml/docbook.xml@ 0cd6d67

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 0cd6d67 was 0cd6d67, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified configuration file index sorting tags in various packages so that the index is sorted properly

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

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