source: pst/xml/docbook.xml@ 71d04e9

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 71d04e9 was 71d04e9, checked in by Randy McMurchy <randy@…>, 17 years ago

Fixed index tags to only display one instance of a file (like Larry had it to start with)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3290 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 \
65 /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
66if [ ! -e /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog \
67 --noout --create /etc/xml/catalog; fi &amp;&amp;
68if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
69 /etc/xml/docbook; fi &amp;&amp;
70xmlcatalog --noout --add "public" \
71 "-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
72 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
73 /etc/xml/docbook &amp;&amp;
74xmlcatalog --noout --add "public" \
75 "-//OASIS//DTD DocBook XML V&DocBook-version;//EN" \
76 "http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd" \
77 /etc/xml/docbook &amp;&amp;
78xmlcatalog --noout --add "public" \
79 "-//OASIS//ENTITIES DocBook XML Character Entities V&DocBook-version;//EN" \
80 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbcentx.mod" \
81 /etc/xml/docbook &amp;&amp;
82xmlcatalog --noout --add "public" \
83 "-//OASIS//ENTITIES DocBook XML Notations V&DocBook-version;//EN" \
84 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbnotnx.mod" \
85 /etc/xml/docbook &amp;&amp;
86xmlcatalog --noout --add "public" \
87 "-//OASIS//ENTITIES DocBook XML Additional General Entities V&DocBook-version;//EN" \
88 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
89 /etc/xml/docbook &amp;&amp;
90xmlcatalog --noout --add "public" \
91 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V&DocBook-version;//EN" \
92 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbhierx.mod" \
93 /etc/xml/docbook &amp;&amp;
94xmlcatalog --noout --add "public" \
95 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
96 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
97 /etc/xml/docbook &amp;&amp;
98xmlcatalog --noout --add "public" \
99 "-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
100 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
101 /etc/xml/docbook &amp;&amp;
102xmlcatalog --noout --add "rewriteSystem" \
103 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
104 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
105 /etc/xml/docbook &amp;&amp;
106xmlcatalog --noout --add "rewriteURI" \
107 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
108 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
109 /etc/xml/docbook &amp;&amp;
110xmlcatalog --noout --add "delegatePublic" \
111 "-//OASIS//ENTITIES DocBook XML" \
112 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
113xmlcatalog --noout --add "delegatePublic" \
114 "-//OASIS//DTD DocBook XML" \
115 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
116xmlcatalog --noout --add "delegateSystem" \
117 "http://www.oasis-open.org/docbook/" \
118 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
119xmlcatalog --noout --add "delegateURI" \
120 "http://www.oasis-open.org/docbook/" \
121 "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
122
123</sect2>
124
125<sect2>
126<title>Configuring <application>DocBook <acronym>XML</acronym>
127<acronym>DTD</acronym></application></title>
128
129<sect3 id="docbook-config"><title>Config files</title>
130<para><filename>/etc/xml/catalog</filename>,
131<filename>/etc/xml/docbook</filename></para>
132<indexterm zone="DocBook docbook-config"><primary
133sortas="e-etc-xml-docbook">/etc/xml/docbook</primary></indexterm>
134<indexterm zone="DocBook docbook-config"><primary
135sortas="e-etc-xml-catalog">/etc/xml/catalog</primary></indexterm>
136</sect3>
137
138<sect3><title>Configuration Information</title>
139
140<para>The above installation script creates the files and updates the catalog.
141In order to install <application>ScrollKeeper</application> or to utilize
142<application>DocBook <acronym>XML</acronym>
143<acronym>DTD</acronym></application> V&DocBook-version; when any version 4 is
144requested in the System Identifier, make the following entry:</para>
145<screen><userinput><command>xmlcatalog --noout --add "public" \
146 "-//OASIS//DTD DocBook XML V4.1.2//EN" \
147 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
148 /etc/xml/docbook &amp;&amp;
149xmlcatalog --noout --add "delegateSystem" \
150 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
151 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
152xmlcatalog --noout --add "delegateURI" \
153 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
154 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
155xmlcatalog --noout --add "rewriteSystem" \
156 "http://www.oasis-open.org/docbook/xml/4.1.2" \
157 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
158 /etc/xml/docbook &amp;&amp;
159xmlcatalog --noout --add "rewriteURI" \
160 "http://www.oasis-open.org/docbook/xml/4.1.2" \
161 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
162 /etc/xml/docbook &amp;&amp;
163xmlcatalog --noout --add "rewriteURI" \
164 "http://www.oasis-open.org/docbook/xml/4.2" \
165 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
166 /etc/xml/docbook</command></userinput></screen>
167</sect3>
168
169</sect2>
170
171<sect2>
172<title>Contents</title>
173
174<para>The <application>DocBook <acronym>XML</acronym>
175<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
176files, <filename>MOD</filename> files and <filename>ENT</filename> files.</para>
177
178</sect2>
179
180<sect2><title>Description</title>
181
182<sect3><title>DTD files</title>
183<para><filename>DTD</filename> files contain a document type definition which
184defines the element types and the attribute lists that can be used in the
185corresponding <filename>XML</filename> files.</para></sect3>
186
187<sect3><title>MOD files</title>
188<para><filename>MOD</filename> files contain components of the document type
189definition that are sourced into the <filename>DTD</filename> files.</para>
190</sect3>
191
192<sect3><title>ENT files</title>
193<para><filename>ENT</filename> files contain lists of named character entities
194allowed in <acronym>HTML</acronym>.</para></sect3>
195
196</sect2>
197
198</sect1>
199
Note: See TracBrowser for help on using the repository browser.