<?xml version='1.0' encoding='utf-8'?> <!-- -*- xml -*- --> <appendix id="source"> <title>DocBook XML source</title> <section id="build"> <title>How to build the &sdb;</title> <para>Given a functioning XML environment, all of the necessary files are shown in full in this appendix. All you have to do in order to build the &sdb; is:</para> <orderedlist> <listitem> <para>Make sure you that have installed the necessary XML tools (see <xref linkend="tools"/>).</para> </listitem> <listitem> <para>In addition to those tools you will need:</para> <itemizedlist> <listitem> <para><application>fig2dev</application> (from the <application>transfig</application> package) for converting image formats</para> </listitem> <listitem> <para><application>fold</application> and <application>sed</application> for manipulating SGML files so that they can be included verbatim in a DocBook document.</para> </listitem> <listitem> <para>For PostScript output I suggest you use <application>pdftops</application>, from the <application>xpdf</application> package.</para> </listitem> </itemizedlist> </listitem> <listitem> <para>Put all the files in the same directory and type <userinput>make</userinput>. The default target builds PDF, PostScript and HTML output.</para> </listitem> </orderedlist> </section> <section> <title><filename>selfdocbookx.xml</filename></title> <programlisting> &selfdocbookxxml; </programlisting> </section> <section> <title><filename>intro.xml</filename></title> <programlisting> &introxml; </programlisting> </section> <section id="tools.xml"> <title><filename>tools.xml</filename></title> <programlisting> &toolsxml; </programlisting> </section> <section> <title><filename>structure.xml</filename></title> <programlisting> &structurexml; </programlisting> </section> <section id="tips.xml"> <title><filename>tips.xml</filename></title> <programlisting> &tipsxml; </programlisting> </section> <section> <title><filename>source.xml</filename></title> <programlisting> &sourcexml; </programlisting> </section> <section> <title><filename>fdl.xml</filename></title> <programlisting> &fdlxml; </programlisting> </section> <section id="ulink.xsl"> <title><filename>ulink.xsl</filename></title> <programlisting> &ulinkxsl; </programlisting> </section> <section> <title><filename>filename.xsl</filename></title> <programlisting> &filenamexsl; </programlisting> </section> <section> <title><filename>keycombo.xsl</filename></title> <programlisting> &keycomboxsl; </programlisting> </section> <section> <title><filename>admon.xsl</filename></title> <programlisting> &admonxsl; </programlisting> </section> <section id="css.xsl"> <title><filename>css.xsl</filename></title> <programlisting> &cssxsl; </programlisting> </section> <section id="selfdocbookx.css"> <title><filename>selfdocbookx.css</filename></title> <programlisting> &selfdocbookxcss; </programlisting> </section> <section id="Makefile"> <title><filename>Makefile</filename></title> <programlisting> &makefile; </programlisting> </section> </appendix> <!-- Local Variables: --> <!-- sgml-indent-step: 1 --> <!-- sgml-indent-data: 1 --> <!-- sgml-parent-document: "selfdocbookx.xml" --> <!-- End: -->