2005-04-02 23:59:17 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
2004-06-14 12:56:21 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2005-02-16 08:43:57 +08:00
|
|
|
|
2005-04-01 16:04:06 +08:00
|
|
|
<!ENTITY DocBook-download-http "http://www.docbook.org/xml/&DocBook-version;/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">
|
2005-04-01 16:04:06 +08:00
|
|
|
<!ENTITY DocBook-md5sum "cbb04e9a700955d88c50962ef22c1634">
|
|
|
|
<!ENTITY DocBook-size "96 KB">
|
|
|
|
<!ENTITY DocBook-buildsize "1.2 MB">
|
2004-06-14 12:56:21 +08:00
|
|
|
<!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>
|
2005-04-01 16:04:06 +08:00
|
|
|
<indexterm zone="DocBook">
|
|
|
|
<primary sortas="a-DocBook-XML-DTD">DocBook XML DTD</primary></indexterm>
|
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'>
|
2005-01-12 12:36:51 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&DocBook-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&DocBook-download-ftp;"/></para></listitem>
|
2005-02-16 08:43:57 +08:00
|
|
|
<listitem><para>Download MD5 sum: &DocBook-md5sum;</para></listitem>
|
2004-06-14 12:56:21 +08:00
|
|
|
<listitem><para>Download size: &DocBook-size;</para></listitem>
|
2005-01-12 12:36:51 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&DocBook-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&DocBook-time;</para></listitem></itemizedlist>
|
2004-06-14 12:56:21 +08:00
|
|
|
</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>
|
2005-02-16 08:43:57 +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>
|
2005-04-01 16:04:06 +08:00
|
|
|
<acronym>DTD</acronym></application> by running the following commands as the
|
|
|
|
root user:</para>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
2005-04-01 16:04:06 +08:00
|
|
|
<screen><userinput role='root'><command>install -v -d -m755 /usr/share/xml/docbook/xml-dtd-&DocBook-version; &&
|
|
|
|
install -v -d -m755 /etc/xml &&
|
2004-07-28 04:48:14 +08:00
|
|
|
chown -R root:root . &&
|
2005-04-01 16:04:06 +08:00
|
|
|
cp -v -af docbook.cat *.dtd ent/ *.mod \
|
|
|
|
/usr/share/xml/docbook/xml-dtd-&DocBook-version;</command></userinput></screen>
|
|
|
|
|
2005-04-02 05:25:35 +08:00
|
|
|
<para>Create (or update) and populate the
|
|
|
|
<filename>/etc/xml/docbook</filename> catalog file by running the following
|
|
|
|
commands as the root user:</para>
|
2005-04-01 16:04:06 +08:00
|
|
|
|
|
|
|
<screen><userinput role='root'><command>if [ ! -e /etc/xml/docbook ]; then
|
|
|
|
xmlcatalog --noout --create /etc/xml/docbook
|
|
|
|
fi &&
|
2004-06-14 12:56:21 +08:00
|
|
|
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" \
|
2005-04-01 16:04:06 +08:00
|
|
|
"-//OASIS//DTD DocBook XML CALS Table Model V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/calstblx.dtd" \
|
2004-06-14 12:56:21 +08:00
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
2005-04-01 16:04:06 +08:00
|
|
|
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/soextblx.dtd" \
|
2004-06-14 12:56:21 +08:00
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
2005-04-01 16:04:06 +08:00
|
|
|
"-//OASIS//ELEMENTS DocBook XML Information Pool V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbpoolx.mod" \
|
2004-06-14 12:56:21 +08:00
|
|
|
/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" \
|
2005-04-01 16:04:06 +08:00
|
|
|
"-//OASIS//ELEMENTS DocBook XML HTML Tables V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/htmltblx.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" \
|
2004-06-14 12:56:21 +08:00
|
|
|
/etc/xml/docbook &&
|
|
|
|
xmlcatalog --noout --add "public" \
|
2005-04-01 16:04:06 +08:00
|
|
|
"-//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 Additional General Entities V&DocBook-version;//EN" \
|
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;/dbgenent.mod" \
|
2004-06-14 12:56:21 +08:00
|
|
|
/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;" \
|
2005-04-01 16:04:06 +08:00
|
|
|
/etc/xml/docbook</command></userinput></screen>
|
|
|
|
|
2005-04-02 05:25:35 +08:00
|
|
|
<para>Create (or update) and populate the
|
|
|
|
<filename>/etc/xml/catalog</filename> catalog file by running the following
|
|
|
|
commands as the root user:</para>
|
2005-04-01 16:04:06 +08:00
|
|
|
|
|
|
|
<screen><userinput role='root'><command>if [ ! -e /etc/xml/catalog ]; then
|
|
|
|
xmlcatalog --noout --create /etc/xml/catalog
|
|
|
|
fi &&
|
2004-06-14 12:56:21 +08:00
|
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
|
|
"-//OASIS//ENTITIES DocBook XML" \
|
2005-04-02 05:25:35 +08:00
|
|
|
"file:///etc/xml/docbook" \
|
|
|
|
/etc/xml/catalog &&
|
2004-06-14 12:56:21 +08:00
|
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
|
|
"-//OASIS//DTD DocBook XML" \
|
2005-04-02 05:25:35 +08:00
|
|
|
"file:///etc/xml/docbook" \
|
|
|
|
/etc/xml/catalog &&
|
2004-06-14 12:56:21 +08:00
|
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/" \
|
2005-04-02 05:25:35 +08:00
|
|
|
"file:///etc/xml/docbook" \
|
|
|
|
/etc/xml/catalog &&
|
2004-06-14 12:56:21 +08:00
|
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/" \
|
2005-04-02 05:25:35 +08:00
|
|
|
"file:///etc/xml/docbook" \
|
|
|
|
/etc/xml/catalog</command></userinput></screen>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
</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
|
|
|
|
2005-01-06 01:27:38 +08:00
|
|
|
<sect3 id="docbook-config"><title>Config files</title>
|
2004-07-28 02:53:51 +08:00
|
|
|
<para><filename>/etc/xml/catalog</filename>,
|
|
|
|
<filename>/etc/xml/docbook</filename></para>
|
2005-01-06 01:27:38 +08:00
|
|
|
<indexterm zone="DocBook docbook-config"><primary
|
2005-01-16 22:52:10 +08:00
|
|
|
sortas="e-etc-xml-docbook">/etc/xml/docbook</primary></indexterm>
|
2005-01-06 01:27:38 +08:00
|
|
|
<indexterm zone="DocBook docbook-config"><primary
|
2005-01-16 22:52:10 +08:00
|
|
|
sortas="e-etc-xml-catalog">/etc/xml/catalog</primary></indexterm>
|
2004-06-14 12:56:21 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2005-04-01 16:04:06 +08:00
|
|
|
<para>The above installation creates the files and updates the catalogs. 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.x is
|
|
|
|
requested in the System Identifier, you need to add additional statements to
|
|
|
|
the catalog files. If you have any of the
|
|
|
|
<application>DocBook <acronym>XML</acronym>
|
|
|
|
<acronym>DTD</acronym></application>'s referenced below already installed on
|
|
|
|
your system, remove those entries from the <command>for</command> command
|
|
|
|
below (issue the commands as the root user):</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>for DTDVERSION in 4.1.2 4.2 4.3
|
|
|
|
do
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
|
|
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
|
2005-04-02 05:25:35 +08:00
|
|
|
/etc/xml/docbook
|
2005-04-01 16:04:06 +08:00
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
2004-06-14 12:56:21 +08:00
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
2005-04-02 05:25:35 +08:00
|
|
|
/etc/xml/docbook
|
2005-04-01 16:04:06 +08:00
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
2004-06-14 12:56:21 +08:00
|
|
|
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
2005-04-02 05:25:35 +08:00
|
|
|
/etc/xml/docbook
|
2005-04-01 16:04:06 +08:00
|
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
|
|
|
"file:///etc/xml/docbook" \
|
2005-04-02 05:25:35 +08:00
|
|
|
/etc/xml/catalog
|
2005-04-01 16:04:06 +08:00
|
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
|
|
|
"file:///etc/xml/docbook" \
|
2005-04-02 05:25:35 +08:00
|
|
|
/etc/xml/catalog
|
2005-04-01 16:04:06 +08:00
|
|
|
done</command></userinput></screen>
|
2004-06-14 12:56:21 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-04-01 16:04:06 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Files</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>DTD, MOD and ENT files</seg>
|
|
|
|
<seg>/etc/sgml and /usr/share/xml/docbook/xml-dtd-&DocBook-version;</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="DTD-files">
|
|
|
|
<term><filename>DTD files</filename></term>
|
|
|
|
<listitem><para>contain a document type definition which defines the element
|
|
|
|
types and the attribute lists that can be used in the corresponding
|
|
|
|
<filename>XML</filename> files.</para>
|
|
|
|
<indexterm zone="DocBook DTD-files">
|
|
|
|
<primary sortas="g-DTD-files">DTD Files</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="MOD-files">
|
|
|
|
<term><filename>MOD files</filename></term>
|
|
|
|
<listitem><para>files contain components of the document type definition that
|
|
|
|
are sourced into the <filename>DTD</filename> files.</para>
|
|
|
|
<indexterm zone="DocBook MOD-files">
|
|
|
|
<primary sortas="g-MOD-files">MOD files</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ENT-files">
|
|
|
|
<term><filename>ENT files</filename></term>
|
|
|
|
<listitem><para>files contain lists of named character entities allowed in
|
|
|
|
<acronym>HTML</acronym>.</para>
|
|
|
|
<indexterm zone="DocBook ENT-files">
|
|
|
|
<primary sortas="g-ENT-files">ENT-files</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-06-14 12:56:21 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-08-25 00:35:24 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|