<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" 
            schematypens="http://relaxng.org/ns/structure/1.0"?>
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="ch.about">
    <title>About this book</title>
    <sect1>
        <title>Authors</title>
        <itemizedlist>
            <listitem>
                <para>Andreas Aderhold, andi@binarycloud.com</para>
            </listitem>
            <listitem>
                <para>Alex Black, enigma@turingstudio.com</para>
            </listitem>
            <listitem>
                <para>Manuel Holtgrewe, grin@gmx.net</para>
            </listitem>
            <listitem>
                <para>Hans Lellelid, hans@xmpl.org</para>
            </listitem>
            <listitem>
                <para>Michiel Rook, mrook@php.net</para>
            </listitem>
            <listitem>
                <para>Johan Persson, johan162@gmail.com</para>
            </listitem>
        </itemizedlist>
    </sect1>
    <sect1>
        <title>Version</title>
        <para>$Id$</para>
    </sect1>
    <sect1>
        <title>Copyright</title>
        <para>Copyright 2002-2012, The Phing Project.</para>
    </sect1>
    <sect1>
        <title>License</title>
        <para>This documentation is made available under the GNU Free Document License (see <xref
                xlink:href="#sec.gfdl" xlink:title="[gnu-fdl]"/>)</para>
        <programlisting language="xml">Copyright (c) 2002 - 2012, The Phing Group 

Permission is granted to copy, distribute and/or modify this document 
under the terms of the GNU Free Documentation License, Version 1.1 or 
any later version published by the Free Software Foundation;</programlisting>
    </sect1>
    <sect1>
        <title>DocBook</title>
        <para>This book is written using the DocBook 5 XML markup (see <link
                xlink:href="http://docbook.sourceforge.net/">DocBook Project</link>). The main
            advantage with DocBook is that it is a single source but multiple outputs. These
            document sources can be rendered into many possible output formats such as (X)HTML, PDF,
            EPub, Webhelp, RTF, Text and many more. Another advantage, inherit with the text based
            XML format,  is that the document sources are all completely text based written using
            UTF-8 encoding. Only a plain text editor is requires to extend or edit this
            documentation. However, XML tends to be quite verbose and even if a plain text editor
            technically is all you need the actual entering of text will be made much easier with
            custom XML editor. These editors can be used to hide the XML tags and do auto-completion
            and on-the-fly validation to make sure that what you write is a valid DocBook
            document.</para>
        <para>To work with the documentation we recommend to use one of the free XML/DocBook aware
            editors available. For example</para>
        <itemizedlist>
            <listitem>
                <para><application>Emacs</application> with the nXML mode (see <link
                        xlink:href="http://www.thaiopensource.com/nxml-mode/">nXML
                    mode</link>)</para>
            </listitem>
            <listitem>
                <para><application>Serna Free</application>, (Free of charge) A Java based XML
                    editor with extended support for DocBook5 (see <link
                        xlink:href="http://www.syntext.com/products/serna-free/">Serna Free - Open
                        Source XML Editor</link>)</para>
            </listitem>
            <listitem>
                <para><application>XMLMind XML Editor</application>, Personal Edition (Free of
                    charge), A java based XML editor with extended support for DocBook5 (see <link
                        xlink:href="http://www.xmlmind.com/xmleditor/persoedition.html">XMLMind
                        Personal Edition</link>)</para>
            </listitem>
        </itemizedlist>
        <para>The sources for the documentation are included under the
                <literal>docs/docbook5</literal> directory. The DocBook sources are split into
            several files in order to make it more maintainable using the XML standard XInclude (see
                <link xlink:href="http://www.w3.org/TR/xinclude/">XML Inclusions (XInclude) Version
                1.0</link>).</para>
        <para>For the writing of the book only a subset of all available DocBook elements are used
            as shown in <xref xlink:href="#sec.docbookelements"/></para>
        <sect2>
            <title>Building the documentation</title>
            <para>In order to build the documentation it is necessary to have the DocBook5 XSL
                stylesheets installed together with "<literal>xsltproc</literal>" which is used to
                transform the source into various output formats. In addition, to build the versions
                (either HTML or PDF) that supports highlighting of included source (within the
                    <literal>&lt;programlisting></literal> element)  the Saxon 6.5.5 XSL processor
                must be used. This is necessary since the syntax highlighting in DocBook is based on
                a Java extension (<literal>xslthl-2.x.x</literal>) which requires a Java based
                processor (such as Saxon).</para>
            <para>All DocBook sources are structured in a tree under <filename role="dir"
                    >docs/docbook5</filename>. The top level is the language of the manual. As of
                this writing only an English manual is available and hence the only top level
                directory available is "<literal>en</literal>". Under this directory the following
                structure applies (also for any new language translation that is added):</para>
            <programlisting>├── scripts
├── source
│   ├── appendixes
│   └── chapters
└── stylesheets
    ├── css
    │   └── img
    └── xsl
        └── images</programlisting>
            <para>All document sources are stored under the subdirectory "<filename role="dir"
                    >source</filename>" and the master document is aptly named
                    "<filename>master.xml</filename>". This document pulls in all chapters and
                appendixes in the right order. For example, new tasks added should normally be
                documented in the "<filename>appendix/optionaltasks.xml</filename>" file. Look at
                the existing tasks and follow the same structure.</para>
            <important>
                <para>In order to get highlighting to work both the
                        "<filename>xslthl-2.x.x.jar</filename>" package must be installed as well as
                    Saxon 6.5.x. The jar file must be installed somewhere in the
                        <literal>CLASSPATH</literal> , for example "<filename role="dir"
                        >/usr/share/java</filename>" if you run this on Linux. The xslthl package is
                    available on SourceForge, please see <link
                        xlink:href="http://sourceforge.net/projects/xslthl/">XSLT syntax
                        highlighting</link></para>
            </important>
            <para>The customized stylesheets used are stored under "<filename role="dir"
                    >stylesheets</filename>" which uses one sub-folder for the customized XSL
                stylesheets (responsible for the transformation from DocBook to the chosen output
                format) and one sub-folder for the CSS stylesheets used to give the generated HTML
                documents there "<emphasis>look&amp;feel</emphasis>".</para>
            <para>Finally the "<filename role="dir">scripts</filename>" directory stores utility
                scripts. As of this writing it only contains one utility script
                    "<literal>hlsaxon</literal>" which sets up a suitable environment to call the
                Saxon translator (a Java based XSL procesor) with highlighting enabled. In this
                script the path to the DocBook installed stylesheets must be correct and depending
                on your system they  might need updating. Mutatis mutandis.</para>
            <para>In order to drive the transformation a Phing build script is available in the
                docbook root, <filename>build.xml</filename>. The build script supports the
                following public targets</para>
            <programlisting> all*         Builds all available targets (default)
 chunk        Builds the chunked HTML
 clean        Removes all output files
 epub         Builds the EPUB version
 hlhtml       Builds the HTML version with syntax highlight
 hlpdf        Builds the PDF version with syntax highlight   
 html         Builds the HTML version  
 htmlfancy    Builds the HTML version with an alternative styling for screen output
 pdf          Builds the PDF version
 validate     Validates all sources against the DocBook5 grammaar
</programlisting>
            <para>All generated output is stored under the directory "<filename role="dir"
                    >output</filename>" (which is created if it doesn't exist) with a subdirectory
                corresponding to the name of the chosen output format.</para>
            <note>
                <para>The astute reader will notice the lack of target for Webhelp and as why the
                    most useful target for a manual is omitted. The reason is that to get a good
                    working Webhelp version a snapshot of the official XSL has been used. The latest
                    official release of the DocBook XSL (as of this writing 1.76.1) is rather old
                    and the Webhelp stylesheets have a few issues. Until 1.77.0 is out this target
                    is not officially supported (but there is nothing that stops you from trying to
                    generate that yourself by downloading the latest snapshot from DocBook
                    sourceforge.</para>
                <para>A version of the Phing docs in Webhelp format is however available from the
                    DocBook website.</para>
            </note>
        </sect2>
        <sect2 xml:id="sec.docbookelements">
            <title>DocBook v5 elements used in the manual and there
                meaning</title>
            <para>To keep things simple the manual uses only a small subset of all available
                elements in the DocBook schema. This makes it fairly easy to quickly get up to speed
                with adding and editing the manual. It also helps to keep the look&amp;feel
                consistent and makes the writing of the CSS and XSL stylesheets a little bit
                easer.</para>
            <para>The following list shows the supported elements and how they should be used in the
                manual</para>

            <para>
                <variablelist>
                    <varlistentry>
                        <term><literal>&lt;chapter></literal></term>
                        <term><literal>&lt;appendix></literal></term>
                        <listitem>
                            <para>This is the top element for each chapter and appendix in the
                                manual. Each &lt;chapter> or &lt;appendix> must also have a
                                title.</para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c2" colnum="2" colwidth="2*"/>
                                    <colspec colname="c3" colnum="3" colwidth="3*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>xmlns</literal></entry>
                                            <entry><literal>http://docbook.org/ns/docbook</literal></entry>
                                            <entry>Name space for DocBook. Always needed.</entry>
                                        </row>
                                        <row>
                                            <entry><literal>xmlns:xi</literal></entry>
                                            <entry><literal>http://www.w3.org/2001/XInclude</literal></entry>
                                            <entry>Name space for <literal>XInclude</literal>.
                                                Needed since we use <literal>XInclude</literal> to
                                                split the manual into different files.</entry>
                                        </row>
                                        <row>
                                            <entry><literal>xmlns:xlink</literal></entry>
                                            <entry><literal>http://www.w3.org/1999/xlink</literal></entry>
                                            <entry>Name space for <literal>xlink</literal>. Needed
                                                sine we make use of link and xref elements to link
                                                to other sites and cross references within the
                                                manual.</entry>
                                        </row>
                                        <row>
                                            <entry><literal>version</literal></entry>
                                            <entry><literal>5.0</literal></entry>
                                            <entry>Versions of DocBook. Always needed</entry>
                                        </row>
                                        <row>
                                            <entry><literal>xml:id</literal></entry>
                                            <entry><literal>app.XXX</literal> ,
                                                  <literal>ch.XXX</literal></entry>
                                            <entry>The id for the chapter or the appendix. Used in
                                                other part of the manual to refer to this
                                                chapter/appendix with an
                                                  <literal>&lt;xref></literal> element.</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <table>
                                <title>Required nested elements</title>
                                <tgroup cols="2">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.96*"/>
                                    <thead>
                                        <row>
                                            <entry>Element</entry>
                                            <entry>Value</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>&lt;title></literal></entry>
                                            <entry>The title of the chapter/appendix</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;appendix xmlns="http://docbook.org/ns/docbook" 
    xmlns:xi="http://www.w3.org/2001/XInclude"
	xmlns:xlink="http://www.w3.org/1999/xlink" 
    version="5.0" 
    xml:id="app.coretasks">
	&lt;title>Core tasks&lt;/title>
...
&lt;/appendix></programlisting>                            
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;sectN></literal></term>
                        <listitem>
                            <para>The section tags divides each chapter and appendix into logical
                                parts. Each task description must be contained in a
                                    <literal>&lt;sect1></literal> element and each example section
                                for the task must be contained within a
                                    <literal>&lt;sect2></literal> element. Depending on the
                                description needed for each task additional
                                    <literal>&lt;sect2></literal> may be added as needed to make the
                                text logically structured. If needed, a further nesting level may be
                                used by using <literal>&lt;sect3></literal> elements within each
                                    <literal>&lt;sect2></literal> element. No deeper nestings than
                                    <literal>&lt;sect3></literal> should ever be used.</para>
                            <para>Each top level section must have the <literal>xml:id</literal>
                                attribute which is used to reference the section from other parts of
                                the document. Each section must have a nested title element.</para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.02*"/>
                                    <colspec colname="c3" colnum="3" colwidth="3.98*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>role</literal></entry>
                                            <entry><literal>taskdef</literal></entry>
                                            <entry>This is only used and required for
                                                  <literal>&lt;sect1></literal> elements for task
                                                description. This role is not currently used in the
                                                any of the XSL sheets. This is for future use.
                                            </entry>
                                        </row>
                                        <row>
                                            <entry><literal>xml:id</literal></entry>
                                            <entry>Name of section</entry>
                                            <entry>The id for task definition should be the same as
                                                the task name for task description. For other
                                                sections the id should be a logical name that
                                                descrobes the content.</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <table frame="none">
                                <title>Required nested elements</title>
                                <tgroup cols="2">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.96*"/>
                                    <thead>
                                        <row>
                                            <entry>Element</entry>
                                            <entry>Value</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>&lt;title></literal></entry>
                                            <entry>The title of the section</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;sect1 role="taskdef" xml:id="AdhocTaskdefTask">
    &lt;title>AdhocTaskdefTask&lt;/title>
...
&lt;/sect1></programlisting>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;para></literal></term>
                        <listitem>
                            <para>Division between paragraphs in flowing text.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;screen></literal></term>
                        <listitem>
                            <para>Used to mark command lines and multi-line computer output. For
                                inline screen output use the &lt;literal> element </para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;programlisting></literal></term>
                        <listitem>
                            <para>Used for all PHP and XML program listings in the manual. Please
                                note that this tag should not be used for command lines as entered
                                in a terminal. Use the <literal>&lt;screen></literal> element for
                                this.</para>
                            <para><emphasis role="bold">Note:</emphasis> Remember to write all
                                opening '<literal>&lt;</literal>' as
                                <literal>&amp;lt;</literal></para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.36*"/>
                                    <colspec colname="c3" colnum="3" colwidth="5.53*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>language</literal></entry>
                                            <entry><literal>php</literal>,
                                                <literal>xml</literal></entry>
                                            <entry>The language attribute should indicate what
                                                programming language the programlisting contains.
                                                This is used to control what syntax highlighting
                                                should be used.</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;programlisting language="xml">
  &amp;lt;append 
   destFile="${process.outputfile}">
  &amp;lt;filterchain>
    &amp;lt;xsltfilter style="${process.stylesheet}">
	     &amp;lt;param name="mode" expression="${process.xslt.mode}"/>
    &amp;lt;/xsltfilter>
  &amp;lt;/filterchain>
  &amp;lt;filelist dir="book/" listfile="book/PhingGuide.book"/>
&amp;lt;/append>&lt;/programlisting></programlisting>                            
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;acronym></literal></term>
                        <listitem>
                            <para>Used to indicate acronym in running text</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;literal></literal></term>
                        <listitem>
                            <para>Used to indicate literal names in running text such as program
                                variables, name of attributes, XML-elements etc.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;filename></literal></term>
                        <listitem>
                            <para>Used to indicate a file- or directory name in running text. </para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1.0*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.0*"/>
                                    <colspec colname="c3" colnum="3" colwidth="1.0*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry>role</entry>
                                            <entry>dir</entry>
                                            <entry>Used when the filename is a directory</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;filename role="dir">/etc/php5&lt;/filename></programlisting>                            
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;link></literal></term>
                        <listitem>
                            <para>Used to include a URL link to other sites or documents outside the
                                manual. </para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1.0*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.0*"/>
                                    <colspec colname="c3" colnum="3" colwidth="1.0*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>xlink:href</literal></entry>
                                            <entry>URL Link</entry>
                                            <entry>The link to an external reference</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;link xlink:href="http://qbnz.com/highlighter/"
>GeSHi Homepage&lt;/link></programlisting>                                                        
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;xref></literal></term>
                        <listitem>
                            <para>A link to another part of the document. When the link is generated
                                in the rendered document the  name of the section, chapter or
                                appendix that the link refers to is included literal.</para>
                            <table>
                                <title>Required attributes</title>
                                <tgroup cols="3">
                                    <colspec colname="c1" colnum="1" colwidth="1.0*"/>
                                    <colspec colname="c2" colnum="2" colwidth="1.0*"/>
                                    <colspec colname="c3" colnum="3" colwidth="1.0*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Value</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry><literal>xlink:href</literal></entry>
                                            <entry>Internal reference to an ID element</entry>
                                            <entry>Internal links must be prefixed with a
                                                  '<literal>#</literal>' character.</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;xref xlink:href="#ch.projcomponents"/></programlisting>                                                        
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;table></literal></term>
                        <listitem>
                            <para>The CALS model for table should be used. The generated rendered
                                version will be styled by the CSS stylesheet automatically. For this
                                to work as expected for the required attribute for a task the
                                columns needs to have the following names (they are used in the CSS
                                sheets). The column width specified is not important since that will
                                be overridden by the CSS stylesheets.</para>
                            <programlisting>...
&lt;colspec colname="name" colnum="1" colwidth="1.5*"/>
&lt;colspec colname="type" colnum="2" colwidth="0.8*"/>
&lt;colspec colname="description" colnum="3" colwidth="3.5*"/>
&lt;colspec colname="default" colnum="4" colwidth="0.8*"/>
&lt;colspec colname="required" colnum="5" colwidth="1.2*"/>
...</programlisting>
                            <para>A CALS model table should have the following required nested
                                elemenets. For more information on more advanced CALS formatting
                                such as joining rows or columns please see <link
                                    xlink:href="http://www.sagehill.net/docbookxsl/CellSpans.html"
                                    >Chapter 30. Tables</link> in Bob Stayton's book <link
                                    xlink:href="http://www.sagehill.net/docbookxsl/">"DocBook XSL:
                                    The Complete Guide - 4th Edition"</link></para>
                            <table>
                                <title>Required nested elements</title>
                                <tgroup cols="2">
                                    <colspec colname="c1" colnum="1" colwidth="1*"/>
                                    <colspec colname="c3" colnum="2" colwidth="2.92*"/>
                                    <thead>
                                        <row>
                                            <entry>Attribute</entry>
                                            <entry>Description</entry>
                                        </row>
                                    </thead>
                                    <tbody>
                                        <row>
                                            <entry>title</entry>
                                            <entry>The descriptive title for the table.</entry>
                                        </row>
                                        <row>
                                            <entry>tgroup</entry>
                                            <entry>Groups a set of columns together</entry>
                                        </row>
                                        <row>
                                            <entry>colspec</entry>
                                            <entry>Defines the sizing of the table</entry>
                                        </row>
                                        <row>
                                            <entry>thead</entry>
                                            <entry>Header row for table</entry>
                                        </row>
                                        <row>
                                            <entry>tbody</entry>
                                            <entry>Body of table</entry>
                                        </row>
                                    </tbody>
                                </tgroup>
                            </table>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;table>
    &lt;title>Required attributes&lt;/title>
    &lt;tgroup cols="3">
        &lt;colspec colname="attribute"   colnum="1" 
                 colwidth="1.0*"/>
        &lt;colspec colname="value"       colnum="2" 
                 colwidth="1.0*"/>
        &lt;colspec colname="description" colnum="3" 
                 colwidth="1.0*"/>
        &lt;thead>
            &lt;row>
                &lt;entry>Attribute&lt;/entry>
                &lt;entry>Value&lt;/entry>
                &lt;entry>Description&lt;/entry>
            &lt;/row>
        &lt;/thead>
        &lt;tbody>
            &lt;row>
                &lt;entry>...&lt;/entry>
                &lt;entry>...&lt;/entry>
                &lt;entry>...&lt;/entry>
            &lt;/row>
            &lt;row>
                &lt;entry>...&lt;/entry>
                &lt;entry>...&lt;/entry>
                &lt;entry>...&lt;/entry>
            &lt;/row>
        &lt;/tbody>
    &lt;/tgroup>
&lt;/table></programlisting>                            
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;emphasis role="bold"></literal></term>
                        <listitem>
                            <para>Should only be used when certain effects in flowing text are
                                wanted that warrents the text to be rendered in a bold style to be
                                shown as emphasised. </para>
                            <para><emphasis role="bold">Example:</emphasis></para>
                            <programlisting>&lt;emphasis role="bold">PH&lt;/emphasis>ing &lt;emphasis 
role="bold">I&lt;/emphasis>s &lt;emphasis
role="bold">N&lt;/emphasis>ot &lt;emphasis 
role="bold">GN&lt;/emphasis>U make;</programlisting>  
                            <para>The above example will then be rendered as: "<emphasis role="bold"
                                    >PH</emphasis>ing <emphasis role="bold">I</emphasis>s <emphasis
                                    role="bold">N</emphasis>ot <emphasis role="bold">GN</emphasis>U
                                make;"</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><literal>&lt;application></literal></term>
                        <listitem>
                            <para>This tag is used to indicate the name of a application. The line
                                between a command (marked with <literal>&lt;literal></literal>) and
                                an application is not cut in stone but an application is usually a
                                complex computer program with its own user interface. Examples of
                                what we would mark as applications are
                                    "<application>Emacs</application>",
                                    "<application>OpenOffice</application>",
                                    "<application>MatLab</application>" etc.</para>
                            <para>This element is rarely used.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </para>
        </sect2>
    </sect1>
</chapter>
