Index: general/graphlib/libmng.xml
===================================================================
--- general/graphlib/libmng.xml	(revision 32fb5c25a1e891f8b3d47233eadafa90481dd557)
+++ general/graphlib/libmng.xml	(revision 68ceed75999e91bcc64535b8148788c6818662e2)
@@ -5,116 +5,128 @@
   %general-entities;
 
-<!ENTITY libmng-download-http "http://prdownloads.sourceforge.net/libmng/libmng-&libmng-version;.tar.gz">
-<!ENTITY libmng-download-ftp " ">
-<!ENTITY libmng-md5sum "ff1205ef70855a75c098ea09690413c6">
-<!ENTITY libmng-size "554 KB">
-<!ENTITY libmng-buildsize "7.1 MB">
-<!ENTITY libmng-time "0.11 SBU">
+  <!ENTITY libmng-download-http "http://prdownloads.sourceforge.net/libmng/libmng-&libmng-version;.tar.gz">
+  <!ENTITY libmng-download-ftp " ">
+  <!ENTITY libmng-md5sum "ff1205ef70855a75c098ea09690413c6">
+  <!ENTITY libmng-size "554 KB">
+  <!ENTITY libmng-buildsize "7.1 MB">
+  <!ENTITY libmng-time "0.11 SBU">
 ]>
 
 <sect1 id="libmng" xreflabel="libmng-&libmng-version;">
-<sect1info>
-<othername>$LastChangedBy$</othername>
-<date>$Date$</date>
-</sect1info>
-<?dbhtml filename="libmng.html"?>
-<title>libmng-&libmng-version;</title>
-<indexterm zone="libmng">
-<primary sortas="a-Libmng">Libmng</primary></indexterm>
+  <?dbhtml filename="libmng.html"?>
 
-<sect2>
-<title>Introduction to <application>libmng</application></title>
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
 
-<para>The <application>libmng</application> libraries are used by programs
-wanting to read and write Multiple-image Network Graphics 
-(<acronym>MNG</acronym>) files which are the animation
-equivalents to <acronym>PNG</acronym> files.</para>
+  <title>Libmng-&libmng-version;</title>
 
-<sect3><title>Package information</title>
-<itemizedlist spacing='compact'>
-<listitem><para>Download (HTTP): <ulink
-url="&libmng-download-http;"/></para></listitem>
-<listitem><para>Download (FTP): <ulink
-url="&libmng-download-ftp;"/></para></listitem>
-<listitem><para>Download MD5 sum: &libmng-md5sum;</para></listitem>
-<listitem><para>Download size: &libmng-size;</para></listitem>
-<listitem><para>Estimated disk space required:
-&libmng-buildsize;</para></listitem>
-<listitem><para>Estimated build time:
-&libmng-time;</para></listitem></itemizedlist>
-</sect3>
+  <indexterm zone="libmng">
+    <primary sortas="a-Libmng">Libmng</primary>
+  </indexterm>
 
-<sect3><title><application>libmng</application> dependencies</title>
-<sect4><title>Required</title>
-<para><xref linkend="libjpeg"/> and <xref linkend="lcms"/></para>
-</sect4>
-</sect3>
+  <sect2 role="package">
+    <title>Introduction to Libmng</title>
 
-</sect2>
+    <para>The <application>libmng</application> libraries are used by 
+    programswanting to read and write Multiple-image Network Graphics 
+    (MNG) files which are the animation equivalents to PNG files.</para>
 
-<sect2>
-<title>Installation of <application>libmng</application></title>
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&libmng-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&libmng-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &libmng-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &libmng-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &libmng-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &libmng-time;</para>
+      </listitem>
+    </itemizedlist>
 
-<para>Install <application>libmng</application> by running the following
-commands:</para>
+    <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
 
-<screen><userinput><command>cp makefiles/makefile.linux Makefile &amp;&amp;
-make</command></userinput></screen>
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para><xref linkend="libjpeg"/> and <xref linkend="lcms"/></para>
 
-<para>Now, as the root user:</para>
+  </sect2>
 
-<screen><userinput role='root'><command>make prefix=/usr install &amp;&amp;
+  <sect2 role="installation">
+    <title>Installation of Libmng</title>
+
+    <para>Install <application>libmng</application> by running the following
+    commands:</para>
+
+<screen><userinput>cp makefiles/makefile.linux Makefile &amp;&amp;
+make</userinput></screen>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make prefix=/usr install &amp;&amp;
 install -v -m644 doc/man/*.3 /usr/share/man/man3 &amp;&amp;
 install -v -m644 doc/man/*.5 /usr/share/man/man5 &amp;&amp;
 install -v -m755 -d /usr/share/doc/libmng-&libmng-version; &amp;&amp;
-install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-&libmng-version;</command></userinput></screen>
+install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-&libmng-version;</userinput></screen>
 
-</sect2>
+  </sect2>
 
-<sect2>
-<title>Command explanations</title>
+  <sect2 role="commands">
+    <title>Command Explanations</title>
 
-<para><command>cp makefiles/makefile.linux Makefile</command>: There are no 
-autotools shipped with this package. The Linux <filename>makefile</filename> 
-is copied to the root of the source tree, facilitating the installation.</para>
+    <para><command>cp makefiles/makefile.linux Makefile</command>: There are no 
+    autotools shipped with this package. The Linux <filename>makefile</filename> 
+    is copied to the root of the source tree, facilitating the installation.</para>
 
-<para><command>install ...</command>: The documentation files are not 
-installed by the installation procedure, so they are copied 
-manually.</para>
+    <para><command>install ...</command>: The documentation files are not 
+    installed by the installation procedure, so they are copied manually.</para>
 
-</sect2>
+  </sect2>
 
-<sect2>
-<title>Contents</title>
+  <sect2 role="content">
+    <title>Contents</title>
 
-<segmentedlist>
-<segtitle>Installed Programs</segtitle>
-<segtitle>Installed Library</segtitle>
-<segtitle>Installed Directory</segtitle>
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directory</segtitle>
 
-<seglistitem>
-<seg>None</seg>
-<seg>libmng.[so,a]</seg>
-<seg>/usr/share/doc/libmng-&libmng-version;</seg>
-</seglistitem>
-</segmentedlist>
+        <seglistitem>
+        <seg>None</seg>
+        <seg>libmng.[so,a]</seg>
+        <seg>/usr/share/doc/libmng-&libmng-version;</seg>
+      </seglistitem>
+    </segmentedlist>
 
-<variablelist>
-<bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
 
-<varlistentry id="libmng-lib">
-<term><filename class='libraryfile'>libmng.[so,a]</filename></term>
-<listitem><para>provides functions for programs wishing to read and write 
-<acronym>MNG</acronym> files which are animation files without 
-the patent problems associated with certain other formats.</para>
-<indexterm zone="libmng libmng-lib">
-<primary sortas="c-libmng">libmng.[so,a]</primary>
-</indexterm></listitem>
-</varlistentry>
-</variablelist>
+      <varlistentry id="libmng-lib">
+        <term><filename class='libraryfile'>libmng.[so,a]</filename></term>
+        <listitem>
+          <para>provides functions for programs wishing to read and write 
+          MNG files which are animation files without the patent problems associated 
+          with certain other formats.</para>
+          <indexterm zone="libmng libmng-lib">
+            <primary sortas="c-libmng">libmng.[so,a]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
-</sect2>
+    </variablelist>
+
+  </sect2>
 
 </sect1>
-
