mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 21:24:39 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3656 af4574ff-66df-0310-9fd7-8a98e5e911e0
170 lines
6.0 KiB
XML
170 lines
6.0 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY sgml-dtd-download-http "http://www.docbook.org/sgml/&sgml-dtd-version;/docbook-&sgml-dtd-version;.zip">
|
|
<!ENTITY sgml-dtd-download-ftp " ">
|
|
<!ENTITY sgml-dtd-md5sum "f89e1bd0b2c7a361e3f1f739e16b5d0d">
|
|
<!ENTITY sgml-dtd-size "66 KB">
|
|
<!ENTITY sgml-dtd-buildsize "784 KB">
|
|
<!ENTITY sgml-dtd-time "0.01 SBU">
|
|
]>
|
|
|
|
<sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="sgml-dtd.html"?>
|
|
<title>DocBook SGML DTD-&sgml-dtd-version;</title>
|
|
<indexterm zone="sgml-dtd">
|
|
<primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-version;">DocBook SGML
|
|
DTD-&sgml-dtd-version;</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application></title>
|
|
|
|
<para>The <application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application> package contains document type definitions
|
|
for verification of <acronym>SGML</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>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&sgml-dtd-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&sgml-dtd-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &sgml-dtd-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &sgml-dtd-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&sgml-dtd-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&sgml-dtd-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="sgml-common"/> and <xref linkend="unzip"/></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application></title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../use-unzip.xml"/>
|
|
|
|
<para>Install <application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>sed -i -e '/ISO 8879/d' \
|
|
-e '/gml/d' docbook.cat</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>install -v -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &&
|
|
chown -R root:root . &&
|
|
install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &&
|
|
cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &&
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
|
|
/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &&
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
|
|
/etc/sgml/sgml-docbook.cat</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat</command>:
|
|
This command removes the ENT definitions from the catalog file.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>DocBook <acronym>SGML</acronym>
|
|
<acronym>DTD</acronym></application></title>
|
|
|
|
<sect3 id="sgml-dtd-config"><title>Config files</title>
|
|
<para><filename>/etc/sgml/catalog</filename></para>
|
|
<indexterm zone="sgml-dtd sgml-dtd-config">
|
|
<primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary></indexterm>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>The above installation script updates the catalog.</para>
|
|
|
|
<para>Using only the most current 4.x version of <application>DocBook
|
|
<acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the
|
|
following (perform as the root user):</para>
|
|
|
|
<screen><userinput role='root'><command>cat >> /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog << "EOF"</command>
|
|
-- Begin Single Major Version catalog changes --
|
|
|
|
PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
|
|
PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
|
|
PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
|
|
PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
|
|
|
|
-- End Single Major Version catalog changes --
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Files</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>None</seg>
|
|
<seg>SGML DTD and MOD files</seg>
|
|
<seg>/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<varlistentry id="SGML-DTD-files-4">
|
|
<term><filename>SGML 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
|
|
<acronym>SGML</acronym> files.</para>
|
|
<indexterm zone="sgml-dtd SGML-DTD-files-4">
|
|
<primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="SGML-MOD-files-4">
|
|
<term><filename>SGML MOD files</filename></term>
|
|
<listitem><para>contain components of the document type definition that are
|
|
sourced into the <filename>DTD</filename> files.</para>
|
|
<indexterm zone="sgml-dtd SGML-MOD-files-4">
|
|
<primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|