Updated build entities and added indexing tags to the SGML DTD-3.1 instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3600 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-03-28 18:12:04 +00:00
parent 1af6dcf9b3
commit 2ddf76a855
2 changed files with 50 additions and 22 deletions

View File

@ -118,7 +118,7 @@ Common</application></title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Misc. Files</segtitle>
<segtitle>Installed Files</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>

View File

@ -7,7 +7,7 @@
<!ENTITY sgml-dtd-3-download-ftp "ftp://ftp.kde.org/pub/kde/devel/docbook/SOURCES/docbk31.zip">
<!ENTITY sgml-dtd-3-md5sum "432749c0c806dbae81c8bcb70da3b5d3">
<!ENTITY sgml-dtd-3-size "55 KB">
<!ENTITY sgml-dtd-3-buildsize "336 KB">
<!ENTITY sgml-dtd-3-buildsize "676 KB">
<!ENTITY sgml-dtd-3-time "0.01 SBU">
]>
@ -18,6 +18,9 @@
</sect1info>
<?dbhtml filename="sgml-dtd-3.html"?>
<title>DocBook SGML DTD-&sgml-dtd-3-version;</title>
<indexterm zone="sgml-dtd-3">
<primary sortas="a-DocBook-SGML-DTD-&sgml-dtd-3-version;">DocBook SGML
DTD-&sgml-dtd-3-version;</primary></indexterm>
<sect2>
<title>Introduction to <application>DocBook <acronym>SGML</acronym>
@ -64,11 +67,14 @@ url="&sgml-dtd-3-download-ftp;"/></para></listitem>
<screen><userinput><command>sed -i -e '/ISO 8879/d' \
-e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
docbook.cat &amp;&amp;
install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
docbook.cat</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
chown -R root:root . &amp;&amp;
install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &amp;&amp;
cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &amp;&amp;
cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
/usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &amp;&amp;
install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-3-version;.cat \
@ -94,8 +100,10 @@ SGMLDECL catalog entry.</para>
<title>Configuring <application>DocBook <acronym>SGML</acronym>
<acronym>DTD</acronym></application></title>
<sect3><title>Config files</title>
<sect3 id="sgml-dtd-3-config"><title>Config files</title>
<para><filename>/etc/sgml/catalog</filename></para>
<indexterm zone="sgml-dtd-3 sgml-dtd-3-config">
<primary sortas="e-etc-sgml-catalog">/etc/sgml/catalog</primary></indexterm>
</sect3>
<sect3><title>Configuration Information</title>
@ -104,9 +112,9 @@ SGMLDECL catalog entry.</para>
<para>Using only the most current 3.x version of <application>DocBook
<acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the
following:</para>
following (perform as the root user):</para>
<screen><userinput><command>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &lt;&lt; "EOF"</command>
<screen><userinput role='root'><command>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version;/catalog &lt;&lt; "EOF"</command>
-- Begin Single Major Version catalog changes --
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
@ -121,23 +129,43 @@ PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
<sect2>
<title>Contents</title>
<para>The <application>DocBook <acronym>SGML</acronym>
<acronym>DTD</acronym></application> package contains <filename>DTD</filename>
files and <filename>MOD</filename> files.</para>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Files</segtitle>
<segtitle>Installed Directory</segtitle>
</sect2>
<seglistitem>
<seg>None</seg>
<seg>None</seg>
<seg>SGML DTD and MOD files</seg>
<seg>/usr/share/sgml/docbook/sgml-dtd-3.1</seg>
</seglistitem>
</segmentedlist>
<sect2><title>Description</title>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<sect3><title>DTD files</title>
<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
corresponding <acronym>SGML</acronym> files.</para></sect3>
<varlistentry id="SGML-DTD-files">
<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-3 SGML-DTD-files">
<primary sortas="g-SGML-DTD-files">SGML DTD files</primary>
</indexterm></listitem>
</varlistentry>
<sect3><title>MOD files</title>
<para><filename>MOD</filename> files contain components of the document type
definition that are sourced into the <filename>DTD</filename> files.</para>
</sect3>
<varlistentry id="SGML-MOD-files">
<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-3 SGML-MOD-files">
<primary sortas="g-SGML-MOD-files">SGML MOD files</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>