Index: pst/pst.xml
===================================================================
--- pst/pst.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/pst.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -5,7 +5,8 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/printing/printing.xml"/> 
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/scanning/scanning.xml"/> 
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/sgml/sgml.xml"/> 
 
-<!-- &pst-scanning; -->
-&pst-sgml;
+
+<!-- &pst-sgml; -->
 &pst-xml;
 &pst-ps;
Index: pst/sgml/docbook-dsssl.xml
===================================================================
--- pst/sgml/docbook-dsssl.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/docbook-dsssl.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,11 +1,113 @@
+<!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-dsssl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-dsssl-&docbook-dsssl-version;.tar.gz">
+  <!ENTITY docbook-dsssl-download-ftp  " ">
+  <!ENTITY docbook-dsssl-size          "384 KB">
+  <!ENTITY docbook-dsssl-buildsize     "4 MB">
+  <!ENTITY docbook-dsssl-time          "0.01 SBU">
+]>
+
 <sect1 id="docbook-dsssl" xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;">
 <?dbhtml filename="docbook-dsssl.html"?>
 <title>DocBook DSSSL Stylesheets-&docbook-dsssl-version;</title>
 
-&docbook-dsssl-intro;
-&docbook-dsssl-inst;
-&docbook-dsssl-exp;
-&docbook-dsssl-config;
-&docbook-dsssl-desc;
+<sect2>
+<title>Introduction to <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application></title>
+
+<para>The <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> package 
+contains <acronym>DSSSL</acronym> stylesheets. These are
+used by <application>OpenJade</application> or other tools to transform
+<acronym>SGML</acronym> and <acronym>XML</acronym> DocBook files.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink url="&docbook-dsssl-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink url="&docbook-dsssl-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &docbook-dsssl-size;</para></listitem>
+<listitem><para>Estimated Disk space required: &docbook-dsssl-buildsize;</para></listitem>
+<listitem><para>Estimated build time: &docbook-dsssl-time;</para></listitem></itemizedlist>
+</sect3>
+
+<sect3><title><application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> dependencies</title>
+<sect4><title>Required</title>
+<para><xref linkend="sgml-common"/></para></sect4>
+</sect3>
+
+
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application></title>
+
+<para>Install <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> by running the following commands:</para>
+
+<screen><userinput><command>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/test &amp;&amp;
+mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
+install bin/collateindex.pl /usr/bin &amp;&amp;
+cp catalog VERSION /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &amp;&amp;
+cp dtds/decls/*.dcl \
+    /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls &amp;&amp;
+cp lib/dblib.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
+cp common/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
+cp common/*.ent /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common &amp;&amp;
+cp html/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html &amp;&amp;
+cp lib/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib &amp;&amp;
+cp print/*.dsl /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print &amp;&amp;
+cp images/*.gif /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/images &amp;&amp;
+install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
+    /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog &amp;&amp;
+install-catalog --add /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/dsssl-docbook-stylesheets.cat</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para>Above commands create a <command>make install</command> script
+for this package.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application></title>
+
+<sect3><title>Configuration Information</title>
+
+<para>The following configuration is necessary in order to utilize
+<application>OpenJade</application> to convert the <acronym>BLFS</acronym> 
+Book from <acronym>XML</acronym> to <acronym>HTML</acronym>:</para>
+<screen><userinput><command>ln -sf <replaceable>[your home directory]</replaceable>/BLFS/BOOK/blfs.dsl \
+    /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/</command></userinput></screen>
+
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> package 
+contains <acronym>DSSSL</acronym> stylesheets and <command>collateindex.pl</command>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>collateindex.pl</title>
+<para><command>collateindex.pl</command> is a
+<application>Perl</application> script that creates a DocBook index
+from raw index data. </para></sect3>
+
+</sect2>
 
 </sect1>
Index: pst/sgml/openjade.xml
===================================================================
--- pst/sgml/openjade.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/openjade.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,11 +1,132 @@
+<!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 openjade-download-http "http://prdownloads.sourceforge.net/openjade/openjade-&openjade-version;.tar.gz">
+  <!ENTITY openjade-download-ftp  "ftp://ftp.freestandards.org/pub/lsb/app-battery/packages/openjade-&openjade-version;.tar.gz">
+  <!ENTITY openjade-size          "880 KB">
+  <!ENTITY openjade-buildsize     "14.5 MB">
+  <!ENTITY openjade-time          "1.51 SBU">
+]>
+
 <sect1 id="openjade" xreflabel="OpenJade-&openjade-version;">
 <?dbhtml filename="openjade.html"?>
 <title>OpenJade-&openjade-version;</title>
 
-&openjade-intro;
-&openjade-inst;
-&openjade-exp;
-&openjade-config;
-&openjade-desc;
+<sect2>
+<title>Introduction to <application>OpenJade</application></title>
+
+<para>The <application>OpenJade</application> package contains a
+<acronym>DSSSL</acronym> engine. This is useful for
+<acronym>SGML</acronym> and <acronym>XML</acronym> transformations into
+<acronym>RTF</acronym>, TeX, <acronym>SGML</acronym>
+and <acronym>XML</acronym>.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink
+url="&openjade-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&openjade-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &openjade-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&openjade-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&openjade-time;</para></listitem></itemizedlist>
+</sect3>
+
+<sect3><title><application>OpenJade</application> dependencies</title>
+<sect4><title>Required</title>
+<para><xref linkend="opensp"/></para></sect4>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>OpenJade</application></title>
+
+<para>Install <application>OpenJade</application> by running the following commands:</para>
+
+<screen><userinput><command>./configure --prefix=/usr --enable-http --disable-static \
+    --enable-default-catalog=/etc/sgml/catalog \
+    --enable-default-search-path=/usr/share/sgml \
+    --datadir=/usr/share/sgml/openjade-&openjade-version; &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+ln -sf openjade /usr/bin/jade &amp;&amp;
+ln -sf libogrove.so /usr/lib/libgrove.so &amp;&amp;
+ln -sf libospgrove.so /usr/lib/libspgrove.so &amp;&amp;
+ln -sf libostyle.so /usr/lib/libstyle.so &amp;&amp;
+install -m644 dsssl/catalog /usr/share/sgml/openjade-&openjade-version;/ &amp;&amp;
+install -m644 dsssl/*.dtd dsssl/*.dsl dsssl/*.sgm \
+    /usr/share/sgml/openjade-&openjade-version; &amp;&amp;
+install-catalog --add /etc/sgml/openjade-&openjade-version;.cat \
+    /usr/share/sgml/openjade-&openjade-version;/catalog &amp;&amp;
+install-catalog --add /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/openjade-&openjade-version;.cat</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><option>--disable-static</option>: This switch prevents
+the building of the static library.</para>
+
+<para><option>--enable-http</option>: This switch adds support
+for <acronym>HTTP</acronym>.</para>
+
+<para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This 
+switch sets the path to the centralized catalog.</para>
+
+<para><option>--enable-default-search-path</option>: This switch
+sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
+
+<para><parameter>--datadir=/usr/share/sgml/openjade-&openjade-version;</parameter>: This switch puts data files in 
+<filename>/usr/share/sgml/openjade-&openjade-version;</filename> instead of 
+<filename class="directory">/usr/share</filename>.</para>
+
+<para><screen><command>ln -sf openjade /usr/bin/jade
+ln -sf libogrove.so /usr/lib/libgrove.so
+ln -sf libospgrove.so /usr/lib/libspgrove.so
+ln -sf libostyle.so /usr/lib/libstyle.so</command></screen>
+These commands create the Jade equivalents of OpenJade executables and
+libraries.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring OpenJade</title>
+
+<sect3><title>Configuration Information</title>
+
+<screen><userinput><command>echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/&DocBook-version;/docbookx.dtd\" \
+    \"/usr/share/xml/docbook/xml-dtd-&DocBook-version;/docbookx.dtd\"" &gt;&gt; \
+    /usr/share/sgml/openjade-&openjade-version;/catalog</command></userinput></screen>
+<para>This configuration is only necessary if you intend to use
+<application>OpenJade</application> to process the
+<acronym>BLFS</acronym> <acronym>XML</acronym> files through
+<acronym>DSSSL</acronym> Stylesheets.
+</para>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application>OpenJade</application> package contains
+<command>openjade</command>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>openjade</title>
+<para><command>openjade</command> is a <acronym>DSSSL</acronym> engine used for transformations.</para></sect3>
+
+
+</sect2>
 
 </sect1>
Index: pst/sgml/opensp.xml
===================================================================
--- pst/sgml/opensp.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/opensp.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,10 +1,158 @@
+<!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 opensp-download-http "http://download.sourceforge.net/openjade/OpenSP-&opensp-version;.tar.gz">
+  <!ENTITY opensp-download-ftp  " ">
+  <!ENTITY opensp-size          "1.4 MB">
+  <!ENTITY opensp-buildsize     "37 MB">
+  <!ENTITY opensp-time          "1.50 SBU">
+]>
+
 <sect1 id="opensp" xreflabel="OpenSP-&opensp-version;">
 <?dbhtml filename="opensp.html"?>
 <title>OpenSP-&opensp-version;</title>
 
-&opensp-intro;
-&opensp-inst;
-&opensp-exp;
-&opensp-desc;
+<sect2>
+<title>Introduction to <application>OpenSP</application></title>
+
+<para>The <application>OpenSP</application> package contains a
+<application>C++</application> library for using
+<acronym>SGML</acronym>/<acronym>XML</acronym> files.
+This is useful for validating, parsing and manipulating
+<acronym>SGML</acronym> and <acronym>XML</acronym>
+documents.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink
+url="&opensp-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&opensp-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &opensp-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&opensp-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&opensp-time;</para></listitem></itemizedlist>
+</sect3>
+<sect3><title>Additional downloads</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Required Patch: <ulink url="&patch-root;/OpenSP-&opensp-version;-LITLEN.patch"/></para></listitem>
+</itemizedlist></sect3>
+
+<sect3><title><application>OpenSP</application> dependencies</title>
+<sect4><title>Required</title>
+<para><xref linkend="sgml-common"/></para></sect4>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>OpenSP</application></title>
+
+<para>This patch removes some annoying messages that can appear while
+running <command>openjade</command>:</para>
+
+<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN.patch</command></userinput></screen>
+
+<para>Install <application>OpenSP</application> by running the following commands:</para>
+
+<screen><userinput><command>./configure --prefix=/usr --disable-static --enable-http \
+    --enable-default-catalog=/etc/sgml/catalog \
+    --enable-default-search-path=/usr/share/sgml &amp;&amp;
+make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &amp;&amp;
+make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
+ln -sf onsgmls /usr/bin/nsgmls &amp;&amp;
+ln -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
+ln -sf ospam /usr/bin/spam &amp;&amp;
+ln -sf ospcat /usr/bin/spcat &amp;&amp;
+ln -sf ospent /usr/bin/spent &amp;&amp;
+ln -sf osx /usr/bin/sx &amp;&amp;
+ln -sf osx /usr/bin/sgml2xml &amp;&amp;
+ln -sf libosp.so /usr/lib/libsp.so &amp;&amp;
+install-catalog --add /etc/sgml/OpenSP-&opensp-version;.cat \
+    /usr/share/sgml/OpenSP-&opensp-version;/catalog &amp;&amp;
+install-catalog --add /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
+
+<tip><title>Update hint</title>
+<para>Remove the above catalog items prior to upgrading with:
+<screen><command>install-catalog --remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
+    /usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &amp;&amp;
+install-catalog --remove /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><option>--disable-static</option>: This switch prevents
+the building of the static library.</para>
+
+<para><option>--enable-http</option>: This switch adds support
+for <acronym>HTTP</acronym>.</para>
+
+<para><parameter>--enable-default-catalog=/etc/sgml/catalog</parameter>: This 
+switch sets the path to the centralized catalog.</para>
+
+<para><option>--enable-default-search-path</option>: This switch
+sets the default value of <envar>SGML_SEARCH_PATH</envar>.</para>
+
+<para><option>--enable-xml-messages</option>: This switch adds
+support for <acronym>XML</acronym> Formatted Messages.</para>
+
+<para><command>make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version;</command>: This
+sets the pkgdatadir variable in the <filename>Makefile</filename> from
+<filename class="directory">/usr/share/OpenSP</filename> to
+<filename class="directory">/usr/share/sgml/OpenSP-1.5</filename>.</para>
+
+<para><screen><command>ln -sf onsgmls /usr/bin/nsgmls
+ln -sf osgmlnorm /usr/bin/sgmlnorm
+ln -sf ospam /usr/bin/spam
+ln -sf ospcat /usr/bin/spcat
+ln -sf ospent /usr/bin/spent
+ln -sf osx /usr/bin/sx
+ln -sf osx /usr/bin/sgml2xml
+ln -sf libosp.so /usr/lib/libsp.so</command></screen>
+These commands create the <application>SP</application> equivalents of
+<application>OpenSP</application> executables and
+libraries.</para>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application>OpenSP</application> package contains <command>onsgmls</command>,
+<command>ospam</command>, <command>osx</command>,
+<command>ospcat</command> and
+<command>ospent</command>.</para>
+
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>onsgmls</title>
+<para><command>onsgmls</command> processes <acronym>SGML</acronym> files.</para></sect3>
+
+<sect3><title>ospam</title>
+<para><command>ospam</command> is a markup stream editor.</para></sect3>
+
+<sect3><title>osx</title>
+<para><command>osx</command> is a <acronym>SGML</acronym> normalizer or a 
+converter of <acronym>SGML</acronym> to <acronym>XML</acronym>.</para></sect3>
+
+<sect3><title>ospcat</title>
+<para><command>ospcat</command> prints effective system identifiers found in the
+catalogs.</para></sect3>
+
+<sect3><title>ospent</title>
+<para><command>ospent</command> provides access to
+<application>OpenSP</application>'s entity manager.</para></sect3>
+
+</sect2>
 
 </sect1>
Index: pst/sgml/sgml-common.xml
===================================================================
--- pst/sgml/sgml-common.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/sgml-common.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,10 +1,123 @@
+<!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 sgml-common-download-http "http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-&sgml-common-version;.tgz">
+  <!ENTITY sgml-common-download-ftp  "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-&sgml-common-version;.tgz">
+  <!ENTITY sgml-common-size          "75 KB">
+  <!ENTITY sgml-common-buildsize     "648 KB">
+  <!ENTITY sgml-common-time          "0.00 SBU">
+]>
+
 <sect1 id="sgml-common" xreflabel="SGML Common-&sgml-common-version;">
 <?dbhtml filename="sgml-common.html"?>
 <title>SGML Common-&sgml-common-version;</title>
 
-&sgml-common-intro;
-&sgml-common-inst;
-&sgml-common-config;
-&sgml-common-desc;
+<sect2>
+<title>Introduction to <application><acronym>SGML</acronym> Common</application></title>
+
+<para>The <application><acronym>SGML</acronym> Common package</application> 
+contains <command>install-catalog</command>. This is useful
+for creating and maintaining centralized <acronym>SGML</acronym> catalogs.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink
+url="&sgml-common-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&sgml-common-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &sgml-common-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&sgml-common-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&sgml-common-time;</para></listitem></itemizedlist>
+</sect3>
+
+<sect3><title>Additional downloads</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Required Patch: <ulink url="&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/></para></listitem>
+</itemizedlist></sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application><acronym>SGML</acronym> Common</application></title>
+
+<para>First apply the patch</para>
+
+<screen><userinput><command>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch</command></userinput></screen>
+
+<para>The autotools files included with sgml-common are old. Use the following
+commands to regenerate the files.</para>
+
+<screen><userinput><command>aclocal &amp;&amp;
+automake -acf &amp;&amp;
+autoconf</command></userinput></screen>
+
+<para>Install <application><acronym>SGML</acronym> Common</application> by 
+running the following commands:</para>
+
+<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+install-catalog --add /etc/sgml/sgml-ent.cat \
+    /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &amp;&amp;
+install-catalog --add /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/sgml-ent.cat</command></userinput></screen>
+
+<tip><title>Update hint</title>
+<para>Remove the above catalog items prior to upgrading with:
+<screen><command>install-catalog --remove /etc/sgml/sgml-ent.cat \
+    /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &amp;&amp;
+install-catalog --remove /etc/sgml/sgml-docbook.cat \
+    /etc/sgml/sgml-ent.cat</command></screen></para></tip>
+</sect2>
+
+<sect2>
+<title>Configuring <application><acronym>SGML</acronym>-common</application></title>
+
+<sect3><title>Config files</title>
+<para><filename>/etc/sgml/sgml.conf</filename></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para>No change in this file is necessary.</para>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application><acronym>SGML</acronym> Common</application> package contains
+<command>install-catalog</command>,
+<command>sgmlwhich</command>, <acronym>SGML</acronym> entities
+files and <acronym>XML</acronym> entities files.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>install-catalog</title>
+<para><command>install-catalog</command> creates a centralized catalog that 
+maintains references to catalogs scattered throughout the
+<filename class="directory">/usr/share/sgml</filename> directory tree.</para></sect3>
+
+<sect3><title>sgmlwhich</title>
+<para><command>sgmlwhich</command> will print to standard output the name of 
+the main configuration file.</para></sect3>
+
+<sect3><title>SGML entities files</title>
+<para><acronym>SGML</acronym> entities files contain the basic character 
+entities defined with <acronym>SDATA</acronym> entries.</para></sect3>
+
+<sect3><title>XML entities files</title>
+<para><acronym>XML</acronym> entities files contain the basic character 
+entities defined by a hexadecimal representation of the Unicode character
+number.</para></sect3>
+
+</sect2>
 
 </sect1>
Index: pst/sgml/sgml-dtd-3.xml
===================================================================
--- pst/sgml/sgml-dtd-3.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/sgml-dtd-3.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,11 +1,133 @@
+<!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 sgml-dtd-3-download-http "http://www.docbook.org/sgml/3.1/docbk31.zip">
+  <!ENTITY sgml-dtd-3-download-ftp  "ftp://ftp.rutgers.edu/pub/kde/devel/docbook/SOURCES/docbk31.zip">
+  <!ENTITY sgml-dtd-3-size          "60 KB">
+  <!ENTITY sgml-dtd-3-buildsize     "336 KB">
+  <!ENTITY sgml-dtd-3-time          "0.01 SBU">
+]>
+
 <sect1 id="sgml-dtd-3" xreflabel="DocBook SGML DTD-&sgml-dtd-3-version;">
 <?dbhtml filename="sgml-dtd-3.html"?>
 <title>DocBook SGML DTD-&sgml-dtd-3-version;</title>
 
-&sgml-dtd-3-intro;
-&sgml-dtd-3-inst;
-&sgml-dtd-3-exp;
-&sgml-dtd-3-config;
-&sgml-dtd-3-desc;
+<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-3-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&sgml-dtd-3-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &sgml-dtd-3-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&sgml-dtd-3-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&sgml-dtd-3-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"/></para></sect4>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
+
+<para>Install <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> by running the following commands:</para>
+
+<screen><userinput><command>cp docbook.cat docbook.cat.orig &amp;&amp;
+sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat &amp;&amp;
+cp docbook.cat docbook.cat.orig &amp;&amp;
+sed -e '/gml/d' docbook.cat.orig > docbook.cat &amp;&amp;
+cp docbook.cat docbook.cat.orig &amp;&amp;
+sed -e 's|DTDDECL "-//OASIS//DTD DocBook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
+    docbook.cat.orig > docbook.cat &amp;&amp;
+install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-3-version; &amp;&amp;
+chown -R root:root . &amp;&amp;
+chmod -R 755 . &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-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 \
+    /etc/sgml/sgml-docbook.cat</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><screen><command>cp docbook.cat docbook.cat.orig
+sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat
+cp docbook.cat docbook.cat.orig
+sed -e '/gml/d' docbook.cat.orig > docbook.cat</command></screen>
+These commands remove the ENT definitions from the catalog file.</para>
+
+<para><screen><command>cp docbook.cat docbook.cat.orig
+sed -e 's|DTDDECL "-//OASIS//DTD Docbook V&sgml-dtd-3-version;//EN"|SGMLDECL|g' \
+    docbook.cat.orig > docbook.cat</command></screen>
+This command replaces the DTDDECL catalog entry, which is not supported
+by Linux <acronym>SGML</acronym> tools, with the SGMLDECL catalog entry.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
+
+<sect3><title>Config files</title>
+<para><filename>/etc/sgml/catalog</filename></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para>The above installation script updates the catalog.</para>
+
+<para>Using only the most current 3.x version of
+<application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> requires the following:</para>
+<screen><userinput><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"
+
+  -- End Single Major Version catalog changes --
+<command>EOF</command></userinput></screen>
+
+</sect3>
+
+</sect2>
+
+<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>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<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>
+
+<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>
+
+</sect2>
 
 </sect1>
Index: pst/sgml/sgml-dtd.xml
===================================================================
--- pst/sgml/sgml-dtd.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/sgml-dtd.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,11 +1,128 @@
+<!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 sgml-dtd-download-http "http://www.docbook.org/sgml/4.3/docbook-&sgml-dtd-version;.zip">
+  <!ENTITY sgml-dtd-download-ftp  " ">
+  <!ENTITY sgml-dtd-size          "76 KB">
+  <!ENTITY sgml-dtd-buildsize     "389 KB">
+  <!ENTITY sgml-dtd-time          "0.01 SBU">
+]>
+
 <sect1 id="sgml-dtd" xreflabel="DocBook SGML DTD-&sgml-dtd-version;">
 <?dbhtml filename="sgml-dtd.html"?>
 <title>DocBook SGML DTD-&sgml-dtd-version;</title>
 
-&sgml-dtd-intro;
-&sgml-dtd-inst;
-&sgml-dtd-exp;
-&sgml-dtd-config;
-&sgml-dtd-desc;
+<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 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"/></para></sect4>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
+
+<para>Install <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> by running the following commands:</para>
+
+<screen><userinput><command>cp docbook.cat docbook.cat.orig &amp;&amp;
+sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat &amp;&amp;
+cp docbook.cat docbook.cat.orig &amp;&amp;
+sed -e '/gml/d' docbook.cat.orig > docbook.cat &amp;&amp;
+install -d /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
+chown -R root:root . &amp;&amp;
+chmod -R 755 . &amp;&amp;
+install docbook.cat /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
+cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version; &amp;&amp;
+install-catalog --add /etc/sgml/sgml-docbook-dtd-&sgml-dtd-version;.cat \
+    /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &amp;&amp;
+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><screen><command>cp docbook.cat docbook.cat.orig
+sed -e '/ISO 8879/d' docbook.cat.orig > docbook.cat
+cp docbook.cat docbook.cat.orig
+sed -e '/gml/d' docbook.cat.orig > docbook.cat</command></screen>
+These commands remove the ENT definitions from the catalog file.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application></title>
+
+<sect3><title>Config files</title>
+<para><filename>/etc/sgml/catalog</filename></para>
+</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:</para>
+<screen><userinput><command>cat &gt;&gt; /usr/share/sgml/docbook/sgml-dtd-&sgml-dtd-version;/catalog &lt;&lt; "EOF"</command>
+  -- Begin Single Major Version catalog changes --
+
+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>
+
+<para>The <application>DocBook <acronym>SGML</acronym> <acronym>DTD</acronym></application> package contains <filename>DTD</filename> files and
+<filename>MOD</filename> files.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<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>
+
+<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>
+
+</sect2>
 
 </sect1>
Index: pst/sgml/sgml.xml
===================================================================
--- pst/sgml/sgml.xml	(revision 5d1668d7902c9a30b1e3832ec6e7047776cfb120)
+++ pst/sgml/sgml.xml	(revision 50d3491acf15a03a1bbbdc0a133842d5f5db2661)
@@ -1,2 +1,8 @@
+<!DOCTYPE chapter 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;
+]>
+
 <chapter id="pst-sgml">
 <?dbhtml filename="sgml.html"?>
@@ -8,10 +14,10 @@
 transform, format and publish DocBook documents.</para>
 
-&sgml-common;
-&sgml-dtd-3;
-&sgml-dtd;
-&opensp;
-&openjade;
-&docbook-dsssl;
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sgml-common.xml"/>    
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sgml-dtd-3.xml"/>    
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sgml-dtd.xml"/>    
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="opensp.xml"/>    
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="openjade.xml"/>    
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="docbook-dsssl.xml"/>    
 
 </chapter>
