2004-06-14 12:56:21 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY DocBook-download-http "http://www.docbook.org/xml/4.3/docbook-xml-&DocBook-version;.zip">
|
2004-07-28 02:53:51 +08:00
|
|
|
<!ENTITY DocBook-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/docbook-xml-&DocBook-version;.zip">
|
2004-06-14 12:56:21 +08:00
|
|
|
<!ENTITY DocBook-size "97 KB">
|
|
|
|
<!ENTITY DocBook-buildsize "482 KB">
|
|
|
|
<!ENTITY DocBook-time "0.01 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-10-01 00:06:59 +08:00
|
|
|
<sect1 id="DocBook" xreflabel="DocBook XML DTD-&DocBook-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="DocBook.html"?>
|
2003-10-01 00:06:59 +08:00
|
|
|
<title>DocBook XML DTD-&DocBook-version;</title>
|
2002-08-25 00:35:24 +08:00
|
|
|
|
2004-06-14 12:56:21 +08:00
|
|
|
<sect2>
|
2004-07-28 02:53:51 +08:00
|
|
|
<title>Introduction to <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application></title>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
2004-07-28 02:53:51 +08:00
|
|
|
<para>The <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application>-&DocBook-version; package contains
|
|
|
|
document type definitions for verification of <acronym>XML</acronym> data
|
|
|
|
files against the DocBook rule set. These are useful for structuring books
|
|
|
|
and software documentation to a standard allowing you to utilize
|
|
|
|
transformations already written for that standard.</para>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink url="&DocBook-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink url="&DocBook-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Download size: &DocBook-size;</para></listitem>
|
|
|
|
<listitem><para>Estimated Disk space required: &DocBook-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time: &DocBook-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
2004-07-28 02:53:51 +08:00
|
|
|
<sect3><title><application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application> &DocBook-version; dependencies</title>
|
2004-06-14 12:56:21 +08:00
|
|
|
<sect4><title>Required</title>
|
2004-07-28 02:53:51 +08:00
|
|
|
<para><xref linkend="libxml2"/> and <xref linkend="unzip"/></para></sect4>
|
2004-06-14 12:56:21 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-07-28 02:53:51 +08:00
|
|
|
<title>Installation of <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application></title>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
2004-07-28 02:53:51 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
|
|
|
|
|
|
|
|
<para>Install <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application> by running the following commands:</para>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>install -d /usr/share/xml/docbook/xml-dtd-&DocBook-version; &&
|
2004-07-28 04:48:14 +08:00
|
|
|
chown -R root:root . &&
|
2004-06-14 12:56:21 +08:00
|
|
|
cp -af docbook.cat *.dtd ent/ *.mod /usr/share/xml/docbook/xml-dtd-&DocBook-version; &&
|
|
|
|
if [ ! -e /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog --noout \
|
|
|
|
--create /etc/xml/catalog; fi &&
|
|
|
|
if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
|
|
|
|
/etc/xml/docbook; fi &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//DTD DocBook XML V&DocBook-version;//EN" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//ENTITIES DocBook XML Character Entities V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbcentx.mod" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//ENTITIES DocBook XML Notations V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbnotnx.mod" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//ENTITIES DocBook XML Additional General Entities V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbhierx.mod" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/&DocBook-version;" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
|
|
"-//OASIS//ENTITIES DocBook XML" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
|
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
|
|
"-//OASIS//DTD DocBook XML" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
|
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
|
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-07-28 02:53:51 +08:00
|
|
|
<title>Configuring <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application></title>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2004-07-28 02:53:51 +08:00
|
|
|
<para><filename>/etc/xml/catalog</filename>,
|
|
|
|
<filename>/etc/xml/docbook</filename></para>
|
2004-06-14 12:56:21 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>The above installation script creates the files and updates the catalog.
|
|
|
|
In order to install <application>ScrollKeeper</application> or to utilize
|
|
|
|
<application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application> V&DocBook-version; when any version 4 is
|
|
|
|
requested in the System Identifier, make the following entry:</para>
|
|
|
|
<screen><userinput><command>xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//DTD DocBook XML V4.1.2//EN" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2/" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
|
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2/" \
|
|
|
|
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
|
|
|
/etc/xml/docbook</command></userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2004-07-28 02:53:51 +08:00
|
|
|
<para>The <application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
|
|
|
|
files, <filename>MOD</filename> files and <filename>ENT</filename> files.</para>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>DTD files</title>
|
2004-07-28 02:53:51 +08:00
|
|
|
<para><filename>DTD</filename> files contain a document type definition which
|
|
|
|
defines the element types and the attribute lists that can be used in the
|
2004-06-14 12:56:21 +08:00
|
|
|
corresponding <filename>XML</filename> files.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>MOD files</title>
|
2004-07-28 02:53:51 +08:00
|
|
|
<para><filename>MOD</filename> files contain components of the document type
|
|
|
|
definition that are sourced into the <filename>DTD</filename> files.</para>
|
|
|
|
</sect3>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
<sect3><title>ENT files</title>
|
|
|
|
<para><filename>ENT</filename> files contain lists of named character entities
|
|
|
|
allowed in <acronym>HTML</acronym>.</para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
2002-08-25 00:35:24 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|