source: pst/xml/docbook.xml@ 440ef6e

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 440ef6e was 440ef6e, checked in by Larry Lawrence <larry@…>, 17 years ago

fix sorting on Config files

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3255 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): <ulink url="&DocBook-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink url="&DocBook-download-ftp;"/></para></listitem>
36<listitem><para>Download size: &DocBook-size;</para></listitem>
37<listitem><para>Estimated disk space required: &DocBook-buildsize;</para></listitem>
38<listitem><para>Estimated build time: &DocBook-time;</para></listitem></itemizedlist>
39</sect3>
40
41<sect3><title><application>DocBook <acronym>XML</acronym>
42<acronym>DTD</acronym></application> &DocBook-version; dependencies</title>
43<sect4><title>Required</title>
44<para><xref linkend="libxml2"/> and <xref linkend="unzip"/></para></sect4>
45</sect3>
46
47</sect2>
48
49<sect2>
50<title>Installation of <application>DocBook <acronym>XML</acronym>
51<acronym>DTD</acronym></application></title>
52
53<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
54
55<para>Install <application>DocBook <acronym>XML</acronym>
56<acronym>DTD</acronym></application> by running the following commands:</para>
57
58<screen><userinput><command>install -d /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
59chown -R root:root . &amp;&amp;
60cp -af docbook.cat *.dtd ent/ *.mod /usr/share/xml/docbook/xml-dtd-&DocBook-version; &amp;&amp;
61if [ ! -e /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog --noout \
62 --create /etc/xml/catalog; fi &amp;&amp;
63if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
64 /etc/xml/docbook; fi &amp;&amp;
65xmlcatalog --noout --add "public" \
66 "-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
67 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
68 /etc/xml/docbook &amp;&amp;
69xmlcatalog --noout --add "public" \
70 "-//OASIS//DTD DocBook XML V&DocBook-version;//EN" \
71 "http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd" \
72 /etc/xml/docbook &amp;&amp;
73xmlcatalog --noout --add "public" \
74 "-//OASIS//ENTITIES DocBook XML Character Entities V&DocBook-version;//EN" \
75 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbcentx.mod" \
76 /etc/xml/docbook &amp;&amp;
77xmlcatalog --noout --add "public" \
78 "-//OASIS//ENTITIES DocBook XML Notations V&DocBook-version;//EN" \
79 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbnotnx.mod" \
80 /etc/xml/docbook &amp;&amp;
81xmlcatalog --noout --add "public" \
82 "-//OASIS//ENTITIES DocBook XML Additional General Entities V&DocBook-version;//EN" \
83 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
84 /etc/xml/docbook &amp;&amp;
85xmlcatalog --noout --add "public" \
86 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V&DocBook-version;//EN" \
87 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbhierx.mod" \
88 /etc/xml/docbook &amp;&amp;
89xmlcatalog --noout --add "public" \
90 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
91 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
92 /etc/xml/docbook &amp;&amp;
93xmlcatalog --noout --add "public" \
94 "-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
95 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
96 /etc/xml/docbook &amp;&amp;
97xmlcatalog --noout --add "rewriteSystem" \
98 "http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
99 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
100 /etc/xml/docbook &amp;&amp;
101xmlcatalog --noout --add "rewriteURI" \
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 "delegatePublic" \
106 "-//OASIS//ENTITIES DocBook XML" \
107 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
108xmlcatalog --noout --add "delegatePublic" \
109 "-//OASIS//DTD DocBook XML" \
110 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
111xmlcatalog --noout --add "delegateSystem" \
112 "http://www.oasis-open.org/docbook/" \
113 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
114xmlcatalog --noout --add "delegateURI" \
115 "http://www.oasis-open.org/docbook/" \
116 "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
117
118</sect2>
119
120<sect2>
121<title>Configuring <application>DocBook <acronym>XML</acronym>
122<acronym>DTD</acronym></application></title>
123
124<sect3 id="docbook-config"><title>Config files</title>
125<para><filename>/etc/xml/catalog</filename>,
126<filename>/etc/xml/docbook</filename></para>
127<indexterm zone="DocBook docbook-config"><primary
128sortas="e-docbook-catalog">/etc/xml/docbook</primary></indexterm>
129<indexterm zone="DocBook docbook-config"><primary
130sortas="e-docbook-catalog">/etc/xml/catalog</primary></indexterm>
131</sect3>
132
133<sect3><title>Configuration Information</title>
134
135<para>The above installation script creates the files and updates the catalog.
136In order to install <application>ScrollKeeper</application> or to utilize
137<application>DocBook <acronym>XML</acronym>
138<acronym>DTD</acronym></application> V&DocBook-version; when any version 4 is
139requested in the System Identifier, make the following entry:</para>
140<screen><userinput><command>xmlcatalog --noout --add "public" \
141 "-//OASIS//DTD DocBook XML V4.1.2//EN" \
142 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
143 /etc/xml/docbook &amp;&amp;
144xmlcatalog --noout --add "delegateSystem" \
145 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
146 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
147xmlcatalog --noout --add "delegateURI" \
148 "http://www.oasis-open.org/docbook/xml/4.1.2/" \
149 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
150xmlcatalog --noout --add "rewriteSystem" \
151 "http://www.oasis-open.org/docbook/xml/4.1.2" \
152 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
153 /etc/xml/docbook &amp;&amp;
154xmlcatalog --noout --add "rewriteURI" \
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.2" \
160 "file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
161 /etc/xml/docbook</command></userinput></screen>
162</sect3>
163
164</sect2>
165
166<sect2>
167<title>Contents</title>
168
169<para>The <application>DocBook <acronym>XML</acronym>
170<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
171files, <filename>MOD</filename> files and <filename>ENT</filename> files.</para>
172
173</sect2>
174
175<sect2><title>Description</title>
176
177<sect3><title>DTD files</title>
178<para><filename>DTD</filename> files contain a document type definition which
179defines the element types and the attribute lists that can be used in the
180corresponding <filename>XML</filename> files.</para></sect3>
181
182<sect3><title>MOD files</title>
183<para><filename>MOD</filename> files contain components of the document type
184definition that are sourced into the <filename>DTD</filename> files.</para>
185</sect3>
186
187<sect3><title>ENT files</title>
188<para><filename>ENT</filename> files contain lists of named character entities
189allowed in <acronym>HTML</acronym>.</para></sect3>
190
191</sect2>
192
193</sect1>
194
Note: See TracBrowser for help on using the repository browser.