<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<?xml-stylesheet href="../driver.css" type="text/css"?>
<book id="index">
  <bookinfo>
    <title>LDP Author Guide</title>
    <pubdate>2004-07-15</pubdate>
    <author>
      <firstname>Mark</firstname>
      <othername>F.</othername>
      <surname>Komarinski</surname>
      <affiliation>
        <address><email>mkomarinski@wayga.org</email></address>
      </affiliation>
    </author>
    <author>
      <firstname>Jorge</firstname>
      <surname>Godoy</surname>
      <affiliation>
		  <orgname><ulink url="http://www.conectiva.com">Conectiva S.A.</ulink></orgname>
		  <orgdiv>Publishing Department</orgdiv>
        <address><email>godoy@metalab.unc.edu</email></address>
      </affiliation>
    </author>
    <author>
      <firstname>David</firstname>
      <othername>C.</othername>
      <surname>Merrill</surname>
      <affiliation>
        <address><email>dcmerrill@mindspring.com</email></address>
      </affiliation>
    </author>
	 <author>
	 	<firstname>Emma Jane</firstname>
		<surname>Hogbin</surname>
		<affiliation><address><email>emmajane@xtrinsic.com</email></address></affiliation>	
	</author>

    <abstract>
	 	<para>
			This guide describes the process of submitting and publishing a
			document with The Linux Documentation Project (TLDP). It includes
			information about the tools, toolchains and formats used by TLDP.
			The document's primary audience is new TLDP authors, but it also 
			contains information for seasoned documentation authors.
		</para>
    </abstract>
	 
    <revhistory>

	 <revision>
	 <revnumber>4.5</revnumber>
	 <date>2004-07-14</date>
	 <authorinitials>ejh</authorinitials>
	 <revremark>Updated information regarding CVS accounts and connecting to the CVS server.</revremark>
	 </revision>

	 <revision>
	 <revnumber>4.4</revnumber>
	 <date>2004-04-19</date>
	 <authorinitials>ejh</authorinitials>
	 <revremark>Added editor credit requirements to the Using DocBook
	 section. Updated the submission procedure. New documents can now only
	 be added by one of the Review Coordinators after the successful
	 completion of each of the required reviews.</revremark>
	 </revision>
	 
	 <revision>
	 <revnumber>4.3</revnumber>
	 <date>2004-04-04</date>
	 <authorinitials>ejh</authorinitials>
	 <revremark>Removed the section Contributing to The
	 LDP (replaced by Summary of The LDP Process).</revremark>
	 </revision>
	 
	 <revision>
	 <revnumber>4.2</revnumber>
	 <date>2004-04-02</date>
	 <authorinitials>ejh</authorinitials>
	 <revremark>Added references for LyX to DocBook conversions in the
	 bibliography.</revremark>
	 </revision>
	 
	 	<revision>
		<revnumber>4.1</revnumber>
		<date>2004-01-27</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Updated the license requirements and added them to the
		table of contents (moved them out of the sub-section).</revremark>
		</revision>

	<!--
	 	<revision>
		<revnumber>4.0.11</revnumber>
		<date>2004-01-04</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Incorporated notes and corrections from Martin A. Brown.</revremark>
		</revision>
	 	<revision>
		<revnumber>4.0.10</revnumber>
		<date>2004-01-01</date>
		<authorinitials>mg</authorinitials>
		<revremark>Added new items to the glossary.</revremark>
		</revision>
	 	<revision>
		<revnumber>4.0.9</revnumber>
		<date>2003-12-31</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Added two style sheets (CSS and DSL) to the template
		section.</revremark>
		</revision>
		
		<revision>
		<revnumber>4.0.8</revnumber>
		<date>2003-12-22</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Updated the Transformation section to include XSL updates
		from David Horton and Martin A. Brown.</revremark>
		</revision>
	 
	 	<revision>
		<revnumber>4.0.7</revnumber>
		<date>2003-12-22</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Removed redundant information from the Transformation
		section.</revremark>
		</revision>

	 	<revision>
		<revnumber>4.0.6</revnumber>
		<date>2003-12-21</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Simplified the language in the markup section (main
		guide, not appendix).</revremark>
		</revision>
		
		<revision>
		<revnumber>4.0.5</revnumber>
		<date>2003-12-21</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Incorporation of Machtelt Garrels (Tille)'s review.</revremark>
		</revision>
	 
	 	<revision>
		<revnumber>4.0.4</revnumber>
		<date>2003-12-11</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Added markup HOWTO for bibliographies.</revremark>
		</revision>
	 
		<revision>
		<revnumber>4.0.3</revnumber>
		<date>2003-12-11</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Language edits to the main guide (but not appendices).</revremark>
		</revision>
		
		<revision>
		<revnumber>4.0.2</revnumber>
		<date>2003-12-10</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Reshuffled the &quot;Distributing Your
		Documentation&quot; and re-wrote parts of it to improve the flow.</revremark>
		</revision>
		
		<revision>
		<revnumber>4.0.1</revnumber>
		<date>2003-12-09</date>
		<authorinitials>ejh</authorinitials>
		<revremark>Incorporated document reviews from Martin A. Brown and
		Charles Curley.</revremark>
		</revision>
	 
      <revision>
        <revnumber>4.0 - alpha</revnumber>
        <date>2003-12-08</date>
        <authorinitials>ejh</authorinitials>
        <revremark>Revised the structure of the document and shuffled
		elements into place (a floating date until the final version is
		ready).</revremark>
      </revision>
      
		<revision>
        <revnumber>3.15</revnumber>
        <date>2002-12-16</date>
        <authorinitials>gjf</authorinitials>
        <revremark>Contribution by Jaime Irving Davila regarding ldp.dsl
        usage. </revremark>
      </revision>
      <revision>
        <revnumber>3.14</revnumber>
        <date>2002-05-16</date>
	<authorinitials>mfk</authorinitials>
	<revremark>Added information about LDP Reviewer HOWTO.  New reviewers are asked to read this document.</revremark>
      </revision>
      <revision>
        <revnumber>3.14</revnumber>
        <date>2002-04-25</date>
        <authorinitials>gf</authorinitials>
        <revremark>Update meta-data information, resources; add articleinfo content</revremark>
      </revision>
      <revision>
        <revnumber>3.13</revnumber>
        <date>2002-04-21</date>
        <authorinitials>sp</authorinitials>
	<revremark>We are now tldp.org</revremark>
      </revision>
      <revision>
        <revnumber>3.12</revnumber>
        <date>2002-03-11</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Bug fixes, learning PSGML, update e-mail address</revremark>
      </revision>
      <revision>
        <revnumber>3.11</revnumber>
        <date>2002-01-26</date>
        <authorinitials>sp</authorinitials>
        <revremark>
          Updated CVS information.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.10</revnumber>
        <date>2001-12-15</date>
        <authorinitials>dcm</authorinitials>
        <revremark>
          Updated contacting LDP information.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.9</revnumber>
        <date>2001-11-27</date>
        <authorinitials>sp</authorinitials>
        <revremark>
          Updated CVS information.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.8</revnumber>
        <date>2001-09-25</date>
        <authorinitials>dy</authorinitials>
        <revremark>
          XML/XSLT information.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.7</revnumber>
	<date>2001-06-20</date>
	<authorinitials>mfk</authorinitials>
	<revremark>
	  Now under the GFDL.
	</revremark>
      </revision>
      <revision>
        <revnumber>3.62</revnumber>
        <date>2001-03-13</date>
        <authorinitials>mfk</authorinitials>
        <revremark>
          Spelling and grammar changes from Dave Edwards (amoamasam@sympatico.ca).
          Also performed some housecleaning from comments of discuss@en.tldp.org.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.6</revnumber>
        <date>2001-01-10</date>
        <authorinitials>mfk</authorinitials>
        <revremark>
          First revision in DocBook XML.  Added section covering writing
          in DB XML, since first rev is 4.1.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.51</revnumber>
        <date>2001-01-05</date>
        <authorinitials>mfk</authorinitials>
        <revremark>sgedit (now tksgml) is not free, included link for pricing, more XML info</revremark>
      </revision>
      <revision>
        <revnumber>3.5</revnumber>
        <date>Dec 4, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Changed mailing list pointers to new lists.</revremark>
      </revision>
      <revision>
        <revnumber>3.4</revnumber>
        <date>Dec 1, 2000</date>
        <authorinitials>dcm</authorinitials>
        <revremark>Added Crediting Translators and Converters</revremark>
      </revision>
      <revision>
        <revnumber>3.3</revnumber>
        <date>Nov 11, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Added links to SGML GPL and FDL</revremark>
      </revision>
      <revision>
        <revnumber>3.1</revnumber>
        <date>Oct 10, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Spelling changes, changed list of LDP policies to now
        accept DocBook XML.  More information about how to use *jade
        with XML will follow.
        </revremark>
      </revision>
      <revision>
        <revnumber>3.0</revnumber>
        <date>Aug 24, 2000</date>
        <authorinitials>gjf</authorinitials>
        <revremark>Integrated David Merrill's style guide document. Further clean-up and additions.</revremark>
      </revision>
      <revision>
        <revnumber>2.0</revnumber>
        <date>Jul 13, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Cleaned up using-docbook a bit.  Moved some chapters</revremark>
      </revision>
      <revision>
        <revnumber>1.9</revnumber>
        <date>Jun 26, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Integrated Jorge's using-docbook document.</revremark>
      </revision>
      <revision>
        <revnumber>1.5</revnumber>
        <date>Jun 14, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Documented sgedit</revremark>
      </revision>
      <revision>
        <revnumber>1.4</revnumber>
        <date>Jun 12, 2000</date>
        <authorinitials>mfk</authorinitials>
        <revremark>Documented vim and sgedit.  Spelling and other
        changes from ldp list.  Also added LDP guidelines under style
        guide.</revremark> 
      </revision>
 -->

    </revhistory>
  </bookinfo>


<!-- Chapters
	About this guide
	Authoring Overview
	Proposal
	Writing
	Markup
	Publish and Distribute
	Maintenance
-->
	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
  <chapter id="aboutthisguide">
    <title>About this Guide</title>
    <section id="purpose">
      <title>About this Guide</title>
      <para>This document was started on Aug 26, 1999 by Mark
      F. Komarinski after two day's worth of frustration getting tools
      to work. If even one LDP author is helped by this, then I did my
      job.</para>
		<para>
			Version 4 of this document was released in early 2004 by Emma Jane
			Hogbin. A complete overhaul of the document was done to separate
			the authoring HOWTOs from the technical HOWTOs. The review took
			approximately eight months.
		</para>
      <para>
        The newest version of this document can be found at the LDP
        homepage
        <ulink url="http://www.tldp.org/">http://www.tldp.org</ulink>.
        The original DocBook, HTML, and other formats can be found there.
      </para>
      <para>
		There are many ways to contribute to the Linux movement
      that do not require the ability to produce software. One such way is
		to write documentation. The availability of
		easy-to-understand, technically accurate documentation can make a
		world of difference to someone who is struggling with Linux
		software. This Guide is designed to help you research and write a 
		HOWTO which can be submitted to the LDP. The appendices also include
		sample templates, markup tips and information on how to transform
		your document from DocBook to another format (such as HTML) for
		easier proofreading.
		</para>
    </section> 

	<!-- Because I haven't decided where to put it, the 
			About The LDP
		section has become an entity. The file is contained within section
		tags.
	-->
	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
    <section id="theldp">
      <title>About The LDP</title>
      <para>The Linux Documentation Project (LDP) was started to
      provide new users a way of quickly getting information about a
      particular subject. It not only contains a series of books on
      administration, networking, and programming, but also has a large
      number of smaller works on individual subjects, written by those
      who have used it. If you want to find out about printing, you
      get the <ulink url="http://www.tldp.org/HOWTO/Printing-HOWTO.html">Printing
      HOWTO</ulink>. If you want to do find out if your Ethernet card
      works with Linux, grab the <ulink url="http://www.tldp.org/HOWTO/Ethernet-HOWTO.html">Ethernet
      HOWTO</ulink>, and so on.
	</para>
	<para>
		  The LDP provides documents to the world in a variety of
  convenient formats and also accepts submissions in a
  number of formats.  The current standard for storing
  the source documentation is a format known as DocBook, see <xref linkend="docbook-why"/>.		
		</para> 
      
	  <blockquote>
        <attribution>LDP Manifesto located at <ulink url="http://www.tldp.org/manifesto.html">http://www.tldp.org/manifesto.html</ulink></attribution>
        <para>The Linux Documentation Project (LDP) is working on
        developing free, high-quality documentation for the GNU/Linux
        operating system. The overall goal of the LDP is to
        collaborate in all of the issues of Linux documentation. This
        includes the creation of <quote>HOWTOs</quote> and <quote>Guides</quote>. We hope to
        establish a system of documentation for Linux that will be
        easy to use and search. This includes the integration of the
        manual pages, info docs, HOWTOs, and other documents.</para>
      </blockquote>
      <para>
        The human readable version goes more like this:  The LDP consists
        of a large group of volunteers who are working on documentation
        about Linux and the programs which run on the Linux kernel.
		  These documents exist primarily as shorter HOWTOs and longer
		  Guides. Both are available from <ulink url="http://www.tldp.org/"/>.
        This Guide focuses primarily on how to write your own HOWTOs for
        submission to the LDP.
       </para>
    </section>

	<!-- End of section about The LDP -->

    <section id="feedback">
      <title>Feedback</title>
      <para>
		Send feedback to <email>discuss@en.tldp.org</email>. Please reference the title
		of this document in your email. Please note: you must <ulink url="http://tldp.org/mailinfo.html#maillists">be subscribed</ulink>
		in order to send email to the list.
		</para>
    </section>

    <section id="copyrights">
      <title>Copyrights and Trademarks</title>
      <para>Copyright 1999-2002 Mark F. Komarinski, David C. Merrill, Jorge Godoy</para>
      <para>
         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; with no
	 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
	 Texts. A copy of the license is included in the appendix entitled
	 <quote>GNU Free Documentation License.</quote>
       </para>
    </section>

<!-- The Acknowledgements section should be moved to the end according
	to the LDP Author Guide Text -->
  	<!-- <!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'> -->
<section id="acknowledgements"> <title>Acknowledgments and Thanks</title>

				  <section id="ack1-3"> <title>Version 1 - Version 3</title> <para> Thanks
to everyone that gave comments as I was writing this. This includes David
Lawyer, Deb Richardson, Daniel Barlow, Greg Ferguson, Mark Craig and other
members of the <email>discuss@en.tldp.org</email> list. Some sections I
got from the <ulink url="http://www.tldp.org/HOWTO/">HOWTO Index</ulink>
and the sgmltools documentation. The sections on network access to CVS was
partially written by Sergiusz Pawlowicz
(<email>ser@metalab.unc.edu</email>). Sections on DocBook were written by
Jorge Godoy (<email>godoy@conectiva.com</email>).  A great deal of thanks
to both of them for their help.  </para> </section>

<section id="ack4">
<title>Version 4</title> 
<para> 
Thanks to Tabatha Marshall and Machtelt Garrels (Tille) for making sure I actually
finished the document. Thanks to my reviewers: Charles Curley, Martin
Brown and Tille; and to Saqib Ali for his on-line transformation and
validation tools. I have also incorporated a number of useful emails from the
LDP mailing lists. The original authors are credited within the document. 
Special personal thank yous are extended to Steve Champeon for getting me
interested in markup languages and for being a wonderful mentor; and to my 
partner, Graig Kent, for being outrageously supportive. [EJH]
</para>
</section>
</section>


<!-- Document conventions -->
  <!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<section id="conventions">
<?dbhtml filename="conventions.html"?>
  <title>Document Conventions</title>
  
  <indexterm zone="conventions">
    <primary>conventions</primary>
  </indexterm>
  
  <para>This document uses the following conventions<footnote>
      <para>Please, take a look at the <ulink url="http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/LDP-Author-Guide/">
      source</ulink> to see how to get
      similar results on your documents. You should also remember that
      the way this appears to you depends on the format in which you are reading
      this document: online appearance is slightly different from the
      PostScript or PDF ones.</para></footnote>:</para>
  
  <informaltable frame="none">
    <tgroup cols="2">
      <thead>
        <row>
          <entry>Descriptions</entry>
          <entry>Appearance</entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry>Information requiring special attention</entry>
          <entry><warning>
              <para>This is a warning.</para>
            </warning></entry>
        </row>
        
		<row>
          <entry>Caution</entry>
          <entry><caution>
              <para>This cautions the reader.</para>
            </caution></entry>
        </row>
        <row>
          <entry>Hint</entry>
          <entry><tip>
              <para>This is a hint.</para>
            </tip></entry>
        </row>
        <row>
          <entry>Notes</entry>
          <entry><note>
              <para>This is a note.</para>
            </note></entry>
        </row>
		<row>
          <entry>File Names</entry>
          <entry><filename>file.extension</filename></entry>
        </row>
        <row>
          <entry>Directory Names</entry>
          <entry><filename class="directory">directory</filename></entry>
        </row>
        <row>
          <entry>Commands to be typed</entry>
          <entry><command>command</command></entry>
        </row>
        <row>
          <entry>Applications Names</entry>
          <entry><application>application</application></entry>
        </row>
        <row>
          <entry><foreignphrase>Prompt</foreignphrase> of users command under bash shell</entry>
          <entry>bash$</entry>
        </row>
        <row>
          <entry><foreignphrase>Prompt</foreignphrase> of root users command under bash shell</entry>
          <entry>bash#</entry>
        </row>
	<row>
	  <entry><foreignphrase>Prompt</foreignphrase> of user command under tcsh shell</entry>
	  <entry>tcsh$</entry>
	</row>
        <row>
          <entry>Environment Variables</entry>
          <entry><envar>VARIABLE</envar></entry>
        </row>
        <row>
          <entry>Emphasized word</entry>
          <entry><emphasis>word</emphasis></entry>
        </row>
	<row>
	  <entry>Quoted text</entry>
	  <entry><quote>quote</quote></entry>
	</row>
        <row>
          <entry>Code Example</entry>
          <entry><programlisting><sgmltag class="starttag">para</sgmltag>Beginning and end of paragraph<sgmltag class="endtag">para</sgmltag></programlisting></entry> 
        </row>
      </tbody>
    </tgroup>
  </informaltable>
  
</section>


</chapter>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
  <chapter id="introduction">
    <title>Authoring TLDP Documents: An Introduction</title>

<section id="process">
<title>Summary of The LDP Process</title>
<para>
	The following section outlines the process of creating and/or
	maintaining a document for the Linux Documentation Project. This
	section includes all steps--some of which may not be relevant to your
	specific document.
</para>

<orderedlist>
<listitem>
<para>
	Join the discuss mailing list. Authors who are interested in taking over 
	the maintenance of someone else's document should also join this list. 
   This is to make sure the LDP knows who is working on what documentation.
</para>

<para>
	If you have not yet written your documentation, please review our
	documents (<ulink url="http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html">current</ulink>,
	<ulink url="http://tldp.org/authors/unmaint.html">unmaintained</ulink>
	and <ulink url="">in progress</ulink>) and submit a proposal to the
	list. Your proposal should include reasons why your document will be
	different than those already in the collection; or identify a subject
	that is currently missing from our documentation. For more information 
	about writing proposals, please read <xref linkend="propose"/>.
</para>

<para>
	For more information about the mailing lists, please read <xref linkend="mailinglists"/> or visit <ulink url="http://lists.tldp.org">lists.tldp.org</ulink> to subscribe. 
	If your document has already been written, please submit a copy to the 
	discuss list (or include the URL of where it can be found).
</para>
</listitem>

<listitem>
<para>
	Write your document. If your document has not yet been written, please
	be sure to email the discuss list before you start writing.
	<emphasis>You may choose whatever format you feel most comfortable 
	in to write your document.</emphasis> If it is not one of the formats 
	accepted by the LDP a volunteer will convert it for you. For more 
	information on writing technical documentation, please read 
	<xref linkend="write"/>.
</para>
</listitem>

<listitem>
<para>
	If you are adding your own markup, you may also want to join the
	docbook mailing list.
	For more information about the LDP DocBook list please read 
		<xref linkend="mailinglists"/>.
	If you would like to start with a template, you may find the templates in 
	<xref linkend="templates"/> useful. There is also a general
	introduction to markup in <xref linkend="ag-markup"/> and a section
	full of examples at <xref linkend="using-docbook"/>.
</para>
</listitem>
<listitem>
<para>
	Submit your document for technical, language and metadata reviews. Do this by
	emailing your document to <email>submit@en.tldp.org</email>. In the
	subject line be sure give the title of the document. In the body of the
	email say that you are ready for the review process. Outline any
	additional reviews your document may have already received. You should
	be assigned a reviewer within the week. The reviews may take an
	additional week each. For more information about this process, please
	read <xref linkend="distribute"/>.
</para>
<para>
	If your document is not already in DocBook or LinuxDoc format, a
	reviewer will convert it for you.
</para>
</listitem>
<listitem>
<para>
	Once your document has been through each of the reviews a Review
	Coordinator will add it to the CVS, update the version number to 1.0
	and have the document published on the public Web site.
	For more information about your final submission to the LDP, please
	read <xref linkend="submission"/>.
</para>
</listitem>
</orderedlist>

      <tip><title>If you don't submit your document in DocBook format</title><para>
			The volunteer adding markup to your document may choose any 
			accepted markup language. The Author Guide, however,
			will refer only to DocBook. If you are submitting plain text or
			some other format, please let the LDP know if you prefer to
			maintain your document in either LinuxDoc or DocBook, which are the accepted formats for end-results.
      </para></tip>

</section>

    <section id="mailinglists">
      <title>Mailing Lists</title>
      <para>You can subscribe to the following mailing lists:</para>
	  
	  <itemizedlist>
	  <listitem><para>First is <email>discuss@en.tldp.org</email>, which is the main
      discussion group of the LDP.</para></listitem>

	  <listitem><para>Another is the <email>docbook@en.tldp.org</email> list, which is for
      questions about DocBook use including markup and transformations.  If you run into
      trouble with a particular markup tag, you can send your question
      here for answers.</para></listitem>
	  </itemizedlist>
	  
	  <para>You can subscribe to either list by sending a request 
	  message to either <email>discuss-subscribe@en.tldp.org</email> or 
	  <email>docbook-subscribe@en.tldp.org</email>.   The subject of your message should read 
      <quote>subscribe</quote> (no quotes). To
      remove yourself from the list, send an E-mail with the subject of
      <quote>unsubscribe</quote> to
	  <email>discuss-unsubscribe@en.tldp.org</email> or
	  <email>docbook-unsubscribe@en.tldp.org</email>.</para>

      <para>
        If you are interested in DocBook beyond the simple markup of your
		  LDP document, you may want to consider joining one of the <ulink url="http://www.oasis-open.org/">OASIS</ulink> DocBook mailing
		  lists. Please see <ulink url="http://docbook.org/mailinglist/index.html">http://docbook.org/mailinglist/index.html</ulink>
		  for more information.
      </para>
    </section>
  </chapter>

	<!-- 
        <!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
	$Id: ag-proposal.xml,v 1.16 2004/04/04 23:11:41 emmajane Exp $
-->		  

<chapter id="propose">
<title>Writing Your Proposal</title>

<section id="sg-subject">
<title>Choosing a Subject</title>

<para>
	It is likely that if you are reading the Author Guide, you already have a
	subject in mind. The idea may have come from your own frustrations in
	trying to get something to work; or maybe you are already writing or
	have written documentation for other purposes and you want to submit
	it to the LDP. 
	For example, if you posted a question to a mailing list
	and it took many posts to resolve the problem -- that might be an incentive to write documentation. 
</para>	
<para>
	Regardless of how you picked your subject, it is important that the LDP
	community understand why your documentation should be included in its
	collection. If someone has requested documentation, or you worked
	with a mailing list to resolve a problem you should include the details in
	your proposal to the LDP discuss mailing list. It may help others to
	understand the need for your specific document.
</para>
</section>

<section id="scope">
<title>Scope of Your Document</title>
<para>
	Now that you've got a subject, you will need to decide the
	<emphasis>scope</emphasis> of the document. The scope or subject area
	should be:
</para>

      <orderedlist>
        <listitem>
          <formalpara>          
            <title>Clearly defined.</title>

            <para>
              Define the boundaries of your
              subject area before you begin. Do not repeat information that is in
				  another HOWTO and do not leave gaps of information between
				  your HOWTO and someone else's HOWTO.
            </para>
          </formalpara>
        </listitem>
        
		<listitem>
          <formalpara>
            <title>Not too broad, and not too narrow.</title>
              <para>
                If you try to cover too much information you may sacrifice depth. 
				It is better to cover a small subject area in detail than to cover a large subject
                area poorly. Linux tools are known for doing exactly one
                thing and doing that one thing <emphasis>well</emphasis>. 
                Similarly, your HOWTO should cover one subject and cover it
                <emphasis>well</emphasis>.
              </para>
          </formalpara>

          <para>
			 	If the scope of your proposed document is very narrow, it might be better to
				include your information as part of another HOWTO.
            This makes it easier for readers to find the HOWTO they need. 
				Search the LDP repository for topics which relate to your
				document. If you find a document which is a good match, email the author
				and ask them if they would like to include your contribution.
          </para>
        </listitem>
        
        <listitem>
          <formalpara>
            <title>Undocumented.</title>
            
            <para>
              Before documenting a particular subject, always do a web
				  search (and specifically a search within the LDP documents)
				  to see if your topic is already covered in another
				  document. If it is, refer to the other document instead of
				  duplicating the information within your own document. You
				  may wish to include a brief summary of information that
				  can be found in other documents. 
            </para>
          </formalpara>
      
          <para>
            If the HOWTO already in place is insufficient or needs updating, 
            contact the author and offer to help.  See also <xref linkend="unmaintained"/> for taking over old or unmaintained documents.</para> 

		<para>
	    Most authors appreciate any help offered.  Additionally, sending
		 comments and remarks to the author is usually regarded both as a
		 reassurance and a reward: to the author, feedback is the ultimate proof that writing the documentation was not a pointless effort.</para>
        </listitem>
        
        <listitem>
          <formalpara>
            <title>Pre-approved by the LDP.</title>
            
            <para>
              Before you proceed with your HOWTO, post to the discuss list
              and get some feedback from other LDP volunteers. Checking with the
              list <emphasis>before</emphasis> you begin can save you headaches
              <emphasis>later</emphasis>.
            </para>
          
		  </formalpara>
        </listitem>
      </orderedlist>

<note><title>Stay in touch!</title><para>
 	Joining the discuss list and following
    it regularly, even if you never post, is a good way to stay current
    on the activities, needs and policies of the LDP.
</para></note>

<section id="typesofdocs">
<!-- Sub-Section added by EJH: August 12, 2003 -->
	<title>Documentation Templates</title>
	<para>
	After you've decided the scope of your document you
	should start to consider the type of document that you will write. There are
	a number of different LDP documentation templates:
	Guides, HOWTOs, man pages and FAQs. Rahul Sundaram
	describes their scope in the <ulink url="http://tldp.org/FAQ/LDP-FAQ/index.html">Linux Documentation
	Project (LDP) FAQ</ulink>. Here is a brief overview of what they are
	with pointers on how you can get started writing your own:	
	</para>

	<itemizedlist>
	<listitem>
		<formalpara>
		<title>Guides</title>
		<para>A guide covers a broad subject and is quite long. The Author
		Guide (this document) is a guide. Other guides include: 
		<ulink url="http://tldp.org/LDP/intro-linux/html/index.html">Introduction to Linux: A hands on
		guide</ulink>,
		<ulink url="http://tldp.org/LDP/lkmpg/index.html">The Linux Kernel
		Module Programming Guide</ulink>, etc. A full list of guides is
		available from: <ulink url="http://tldp.org/guides.html">Linux Project 
		Documentation Guides</ulink>. Guides use the <quote>book</quote>
		templates located in <xref linkend="templates"/>.
		</para>
		</formalpara>
	</listitem>
	
	<listitem>
		<formalpara>
		<title>HOWTOs</title>
		<para>A HOWTO is typically a set of instructions that outlines,
		step-by-step, how a specific task is accomplished. Examples of
		HOWTOs are: 
			<ulink url="http://tldp.org/HOWTO/CDROM-HOWTO/index.html">CDROM-HOWTO</ulink>
			<ulink url="http://tldp.org/HOWTO/Module-HOWTO/index.html">Module-HOWTO</ulink>.
		A full list of HOWTOs is available from: <ulink url="http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html">Single List of
		HOWTOs</ulink> (warning: it's a BIG page). HOWTOs typically use the
		<quote>article</quote> template and are output to multiple HTML
		pages by default.
		Templates are available in <xref linkend="templates"/>.
		</para>
		</formalpara>
	</listitem>
	
	<listitem>
		<formalpara>
		<title>man pages</title>
		<para>man (Manual) pages are the standard form of help available for many
		linux applications and utilities. They can be viewed by typing
		<command>man applicationname</command> at a prompt. A full list of man
		pages is available from: 
		<ulink url="http://tldp.org/docs.html#man">Linux Man Pages</ulink>.
		Since man pages are bundled with software there is no LDP template
		at this time.</para>
		</formalpara>
	</listitem>
	
	<listitem>
		<formalpara>
		<title>FAQs</title>
		<para>FAQs (Frequently Asked Questions) are a list of questions and
		answers to help prevent new users from asking the same questions
		over and over again.
		A full list of FAQs is available from: <ulink url="http://tldp.org/FAQ/">Linux Documentation Project
		FAQs</ulink>. FAQs typically use the <quote>article</quote>
		template with some specific DocBook elements to form the
		Question/Answer structure.
		You can find a template for writing a FAQ in <xref linkend="templates"/>.
		</para>
		</formalpara>
	</listitem>
	</itemizedlist>

	<note><title>mini-HOWTOs and HOWTOs</title><para>
		The LDP no longer distinguishes between HOWTOs and mini-HOWTOs. All
		previously written mini-HOWTOs have been included in longer HOWTOs.
		All new documents must be at least HOWTO in length.  This means the
		documents should cover a bigger subject area rather than a small one. If
		your document is very small you may wish to submit it for inclusion
		in another, larger HOWTO that already exists. If you're not sure
		what size your document is, email the discuss list and ask for
		feedback.
	</para></note>
	
</section> <!-- end of types of docs -->
</section> <!-- end of choosing a subject -->

<section id="unmaintained">
<title>Unmaintained and Out-of-date Documents</title>

<para>
  If you wish to become the <quote>owner</quote> for an unmaintained document there are
  several steps you must go through.
</para>

<itemizedlist>
	<listitem><para>
	   Contact the author. Make sure the author no longer 
wishes to maintain the document in question. Note that the E-mail address 
shown may no longer be valid. In that case, try a <ulink url="http://google.com">search</ulink> for the 
author. If the original author of a document cannot be found after a <quote>good-faith</quote> effort, 
let us know (<email>feedback@en.tldp.org</email>).
	</para></listitem>

	<listitem><para>
      Determine if a more up-to-date copy of the document exists, outside
of what is available on the LDP. If so, try to secure a copy for yourself
to work on.
   	</para></listitem>

	<listitem><para>
      Inform the LDP which document you would like to maintain, so that we can
track who is working on what and prevent duplication of effort. We also
suggest that you join the LDP general discussion list
(<email>discuss@en.tldp.org</email>). This step is also required for new
documents.
	</para></listitem>   

    <listitem><para> 
	Submit the document to the LDP with any intended modifications. Make
sure to continue to reference the original author somewhere within the
document (Credits, Revision History, etc.). Once the document is
re-submitted, we will remove the entry from the list of unmaintained
documents.
	</para></listitem>
</itemizedlist>

<note><title>Feedback wanted</title><para>Some of unmaintained documents may be outdated, or the content may be
covered in another (actively maintained) HOWTO. If that is the situation,
contact us (preferably on the discuss mailing list) and let us know.</para></note>
	
</section>
  
<section id="sg-outline">
    <title>Developing an Outline</title>
    
    <para>
      Before you actually begin writing, prepare an outline.
      An outline will help you to get a clear picture of the subject matter
      and allow you to concentrate on one small part of the HOWTO
      at a time.
    </para>
    
    <para>
      Unless your HOWTO is exceptionally small, your outline will probably
      be multilevel.
      When developing a multilevel outline, the top level should contain general
      subject areas, and sub-headings should be more detailed and specific.
      Look at each level of your outline independently,
      and make sure it covers all key areas of the subject matter. Sub-headings
      should cover all key areas of the heading under which they fall.
    </para>
    
    <para>
      Each item in your outline should follow the item before it,
      and lead into the item that comes next. For example, a HOWTO about a particular
      program shouldn't have a section on <emphasis>configuration</emphasis>
      before one on <emphasis>installation</emphasis>.</para>
	  
	  <para>You may choose to use the following outline for a HOWTO about
	  using a specific program:</para>

	  <itemizedlist>
	  <listitem><para>development history</para></listitem>
		
	  <listitem><para>where to download the software from</para></listitem>
	  
	  <listitem><para>how to install the software</para></listitem>
	  
	  <listitem><para>how to configure the software</para></listitem>
	  
	  <listitem><para>how to use the software</para></listitem>
      </itemizedlist>
	
	<para>You may find it helpful to try a little <quote>card
	sorting</quote> at this stage of the writing process. Write all of your mini
	subject areas onto pieces of paper. Now sort these pieces of paper into
	main headings and their sub-sections. It may help to shuffle the slips of
	paper before you start. This will help to give you a fresh set of eyes
	while working.
	</para>
	
    <para>
      When you are comfortable with your outline, look it over once more,
      with a critical eye. Have you covered every relevant topic in
      sufficient detail? Have you not wandered beyond the scope of the document?
      It is a good idea to show your outline to others (including The LDP
	  discuss list) to get some feedback.
      Remember: it is much easier to reorganize your document at the outline stage 
	  than doing this after writing it. 
    </para>
    
	<tip><title>Writing a HOWTO made easy</title>
		<para>
		For help writing your HOWTO outline, and getting a head start on
		the markup of your document, check out <ulink url="http://www.nyx.net/~sgjoen/The_LDP_HOWTO_Generator.html">The LDP HOWTO
		Generator</ulink>.  Note that this is for generating HOWTOs.  Templates for FAQs and Guides are available in <xref linkend="templates"/>.
	</para></tip>
	 
    <note><title>You're not alone</title>
      <para>
        You might have noticed a theme developing here.
        Just like Free software, Free documentation is best when you
        <quote>release early, release often.</quote> The discuss list includes
        many experienced LDP authors, and you would be wise to seek their
        advice when making decisions about your contribution.
      </para>
    </note>
</section>

<section id="research">
<!-- Section added by EJH: August 12, 2003 -->
<title>Research</title>
	<para>
	  While you are working on your outline you will most likely research 
	  your topic--especially to confirm the document you are about to 
	  write does not yet exist! Here are a few pointers that will keep
	  you from pulling out your hair later:
	</para>

	<itemizedlist>
		<listitem>
			<formalpara>
			<title>Compile your resources as you research.</title>
			<para>It is almost guaranteed you will not remember where to
			find a critical piece of information when you need it most. It
			will help to bookmark important (and even not so important)
			pages as you go. Make sure the bookmark's title reflects why the
			page is important to you.
			If there are multiple key ideas in one page, you may want to bookmark the
			same page with different titles.</para>
			</formalpara>
		</listitem>

		<listitem>
			<formalpara>
			<title>Assume your most important resource will disappear.</title>
			<para>The dreaded <quote>Error 404: Page not found</quote>. Even if you have
			bookmarked a page it may not be there when you return to it. If
			a page contains a really critical piece of information: make a
			copy. You may do this by creating a text file with the title of 
			the document, the author's name, the page's URL and the text of 
			the page into a text file on your computer. You might also
			choose to <quote>print</quote> the file to a PDF (save as or convert to PDF format will
			capture the original URL on the page if you're using a smart
			browser).</para>
			</formalpara>
		</listitem>

		<listitem>
			<formalpara>
			<title>Start your <quote>Resources</quote> page now.</title>
			<para>As you find pages of interest add them to a Resources
			document. You may do this by exporting your bookmarks or by
			keeping a separate text file with the Resources sorted by
			sub-category. A little effort now will save you a lot of time
			later.</para>
			</formalpara>

			<para>
				There is more information about the DocBook markup of
				bibliographies in <xref linkend="doc-bib"/>.
			</para>
		</listitem>
		
		<listitem>
			<formalpara>
			<title>Write down subject areas as you go.</title>
			<para>If you are card sorting you may find it particularly
			useful to write topic cards as you find pages that cover that
			specific topic. At the top of the card write the subject area.
			In the main area of the card write a few notes about what you
			might cover under this topic--include the titles of pages that
			contain important information. If a sub-topic gets too big you
			may want to divide it into multiple cards.</para>
			</formalpara>
		</listitem>
		
		<listitem>
			<formalpara>
			<title>Separate generic information from version-specific
			information.</title>
			<para>A new version of the software that you describe might be released the day after you release your document.
			Other things, like where to download
			the software, won't change. Alternatively, you may 
			choose to document old problems with specific software as a way
			of encouraging readers to upgrade to the latest version available:
			<quote>Version X of the software is known for a specific bug.
			The bug was fixed as of Version Y.</quote>
			</para>
			</formalpara>
		</listitem>
	
		<listitem>
			<formalpara>
			<title>Save all related emails.</title>
			<para>People will often have interesting insight into the
			problem that you are writing about. Any questions that are asked
			about your topic should be addressed in the final document. If
			you are writing about software make sure to ask people what
			system they are using. Add information in your document about
			which system configurations your instructions have been tested
			on. (Having lots of friends with moderately different
			configurations can be very beneficial!)
			All of these personal experiences can add
			greatly to your final documentation.</para>
			</formalpara>
		</listitem>
	</itemizedlist>
</section>
</chapter>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<chapter id="write">
<title>Write</title>

  <section id="sg-writingstyle">
    <title>Writing the Text</title>
    
    <para>
      By now you should have organized your document; you collected bits of raw information
      and inserted them into the outline.
      Your next challenge is to massage all of the raw data you've collected 
	  into a readable, entertaining and understandable whole. If you are
	  working from an existing document make sure any new pieces of
	  information are in the best possible places.
    </para>
    
    <para>
      It has taken quite a bit of work to get to the point where you can
      actually start writing, hasn't it? Well, the hard work begins to pay
      off for you now. At this stage, you can begin to really use your
      imagination and creativity to communicate this heap of information. 
		Don't be too clever though! Your readers are already struggling with 
		new concepts--do not make them struggle to understand your language
		as well.
    </para>

	<para>
	  There are a number of classic guides to writing--many
	  of which are available on-line. 
	  Their language will
	  seem old, but the messages are still valuable to authors today.
	  These are listed in <xref linkend="ref-techwriting"/>. Also listed in the
	  resources section are a variety of sites that have 
	  information specific to technical writing.
	</para> 
	
	<para>
	  The Author Guide wouldn't be complete without
	  mentioning the Plain Language movement. Although
	  directed at simplifying government documents, <ulink url="http://www.blm.gov/nhp/NPR/pe_toc.html">Writing user-friendly
	  documents</ulink> is quite useful. It includes before and after
	  writing samples. There's also a 
	  	<ulink url="http://www.web.net/~plain/PlainTrain/IntroducingPlainLanguage.html">PlainTrain 
	  writing tutorial</ulink>.
	</para>

	<para>
	  And any document that discusses writing for the web wouldn't be complete without
	  a nod toward <ulink url="http://www.useit.com">useit.com</ulink>.
	  The following articles may be of specific interest:
	  <itemizedlist> 
	  <listitem><para><ulink url="http://www.useit.com/papers/webwriting/">Writing for the Web</ulink></para></listitem>
	  <listitem><para><ulink url="http://useit.com/alertbox/20030811.html">Information pollution</ulink></para></listitem>
	  <listitem><para><ulink url="http://useit.com/alertbox/9703b.html">Be Succinct! (Writing for the Web)</ulink></para></listitem>
	  </itemizedlist>
	  There are many, many resources for writing web
	  documents--a quick web search for <quote>web
	  writing</quote> will find lots of resources. 
	  Don't get too distracted, though: the ultimate goal is to
	  write, not to read about writing!
	</para>

	<section id="writing-style">
	<!-- Section Added by ejh: August 12, 2003 -->
    <title>Writing Style and Style Guides</title>
	<para>
	  There are a number of industry style guides which define how language
	  should be used in documents. A common example for American English is
	  the <ulink url="http://www.chicagomanualofstyle.org/">Chicago Manual
	  of Style</ulink>. It defines things like: whether a period (.) should be inside or
	  outside of <quote>quotes</quote>; and the format for citing 
	  another document. A style guide helps to keep documents
	  consistent--most corporations will follow a style guide to 
	  format media releases and other promotional material. 
	  Style guides mays also define how words should be spelled 
	  (is it color or colour?).
	</para>
	<para>
	  The LDP does not require a specific style
	  guide; however, you should use a consistent style throughout your
	  document. Your document should be spell checked for a single
	  language (e.g. American English vs. British English).
	  The <ulink url="http://tldp.org/HOWTO/LDP-Reviewer-HOWTO/">Reviewer's HOWTO</ulink> currently lists a number of
	  conventions for LDP documents and it is as close as it
	  gets to an official LDP Style Guide.
	</para>

<tip><title>A personal glossary</title>
<para>It helps to make a list of terms that you were new to you when you
first started researching and writing your document. You can refer to this
list while writing the text. You may also want to include it as a glossary in
your final document.
</para></tip>

	<para>
	  You can save yourself a lot of time in the editing phase if you
	  decide how you will write your document ahead of time. If you are
	  taking over someone else's document you may need to either: modify
	  your own style to fit the current document; or edit the
	  document so that it melds with the style you would like to
	  use from now on.
	</para>

    <para>
      From a writing style perspective, use of the
	  first-person in a HOWTO adds to its charm--an attribute most 
	  other documentation sorely lacks. Don't be afraid 
	  to speak for yourself--use the word <quote>I</quote> to 
	  describe your personal experiences and opinions.
    </para>
	</section>
   
    <section id="writing-resources">
	<title>On-line Writing Resources</title>

	<para>
      In the <xref linkend="ref-techwriting"/>
      section, you will find a list of resources that cover the subject
      better than this guide could hope to. Consult them, and follow their
      advice.
    </para>
	</section> <!-- writing-resources -->
  </section> <!-- sg-writingstyle -->
  
  <section id="sg-editing">
    <title>Edit and Proofread the Text</title>
    
    <para>
      Once you've written the text of your HOWTO, it is time 
	  to polish and refine it. Good editing can make the 
	  difference between a good HOWTO and a great one.
    </para>
    
    <para>
      One of the goals of editing is to remove <emphasis>[extraneous]</emphasis> material that
      has crept its way into your document.
      You should go through your HOWTO carefully, and ruthlessly
      delete anything that does not contribute to the reader's understanding
      of the subject matter. It is natural for writers to go off on tangents
      while in the process of writing. Now is the time to correct that. It
	  often helps to leave a bit of time between when you write a document
	  and when you edit it.
    </para>

	<para>
	  Make sure that the content of every section matches the title
	  precisely. It's possible that your original subject heading
	  is no longer relevant. If you've strayed from your original heading
	  it could mean one of the following: the original title was poorly
	  worded, the new material should actually go in a different section,
	  or the new material is not really necessary for your document. If you
	  need to change a title, check to see if the original subject heading 
	  is still important. If it is, make sure that topic is covered somewhere
	  else in the document.
	</para>
    
    <para>
      When editing and proofing your work, check for obvious mistakes, 
      such as spelling errors and typos. You should also check for deeper, but
      less obvious errors as well, such as <quote>holes</quote> in the
      information. If you are creating a set of instructions it may
	  help to test them on a new machine. Sometimes there
	  are packages that need to be installed which you've forgotten to
	  mention in your documentation, for instance.
	</para> 
	
	<para>
      When you are completely satisfied with the quality and accuracy of
      your work, forward it to someone else for third-party proofing.
      You will be too close to the work to see fundamental flaws.
	  Have others test the instructions as
	  well. Make sure they follow exactly what you have written. Ask anyone
	  who tests your documentation to make specific notes in any places
	  where they didn't follow your instructions (and the reason why they
	  didn't follow them). For example: <quote>I skipped step 2 because I
	  already have the required packages installed.</quote>
    </para>
    
    <para>
      In a sense, editing is like code review in software development.
      Having a programmer review their own code doesn't make much sense,
	  and neither does having a writer edit their own document.
      Recruit a friend, or write the discuss list 
	  to find a volunteer to proofread before submitting your document. You
	  may also want to submit your document to a mailing list that is
	  relevant to your document's topic. List members should be able to
	  help check the facts, clarity of your instructions and language of 
	  the document.
    </para>

    <note><title>Native speaker?</title>
      <para>
        If you are writing in a language in which you are not fluent,
        find an editor who is. Technical
        documentation, more than any other type of writing, must use
        extremely precise grammar and vocabulary. Misuse of language
		makes your document less valuable.
      </para>
    </note>
  </section>

  <section id="tools-writing">
  <title>Tools for Writing, Editing and Maintaining your Document</title>
  <caution><title>Reminder</title><para>
  You do <emphasis>not</emphasis> need to submit your
  initial document to the LDP in anything more than plain text! The LDP
  volunteers will convert your document to DocBook for you. Once it has
  been converted you will need to maintain your document in DocBook format.
  </para></caution>

  <section id="ag-edittools">
  <title>Editing Tools</title>
  <para>
  	You may use any word processing or text editing tool to write your
	initial document. When you get to the markup stage you may want to use
	a text editor which recognizes DocBook files. At a minimum a program
	which adds syntax highlighting to your markup will make life a lot
	easier. For a description of editors which can handle DocBook files
	please skip to <xref linkend="tools-edit"/>.
  </para>
  </section>

  <section id="cvs-brief">
  <title>Concurrent Versions System (CVS)</title>
	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

    <para>
	 	The LDP provides optional CVS access to its authors. This enables
		collaborative writing and has the following positive effects:
    </para>

    <orderedlist inheritnum="ignore" continuation="restarts">
      <listitem>
        <para> CVS will keep an off-site backup of your documents. In
        the event that you hand over a document to another author,
        they can just retrieve the document from CVS and continue
        on. In the event you need to go back to a previous version of
        a document, you can retrieve it as well.  </para>
      </listitem>
      <listitem>
        <para>However difficult from an organizational point of view, it's great to have multiple people working on the same
        document.  CVS enables you to do this. You can have CVS tell you what changes were made by another author 
        while you were editing your copy, and
        integrate those changes.</para>
      </listitem>
      <listitem>
        <para>CVS keeps a log of what changes were made. These logs (and
        a date stamp) can be placed automatically inside your documents
		  when they are published.
        </para>
      </listitem>
      <listitem>
        <para> CVS can be combined with scripts to automatically
      update the LDP web site with new documentation as it's written
      and submitted. This is not in place yet, but it is a goal. 
		Currently, CVS updates signal the HOWTO coordinator to
      update the LDP web page, meaning that if you use CVS, you're not
      required to e-mail your XML code. (Although you do
      still need to send the submit list an email when you
      are ready for your document to be published, because the whole publishing process has not been fully automated yet.) </para>
      </listitem>
    </orderedlist>



	 <para>
	 	For more information on how to use CVS to maintain your LDP
		documents, please read <xref linkend="cvs"/>.
	 </para>
  </section> <!-- cvs -->
  
  <section id="ag-spellcheck">
      <title>Spell Check</title>

		<para>
			Some writing tools will come with their own built-in spell
			check tools. This list is only if your application does not
			have a spell check option. 
		</para>

		<variablelist>
		<title>Spell Check Software</title>

		<varlistentry>
		<term>
			<application>aspell</application>
			<ulink url="http://aspell.sourceforge.net"/>
		</term>
		<listitem>
		<para>
        This spell check application can work around XML tags. By
		distinguishing between content and markup aspell is able to check
		your content and ignore the bits it shouldn't be looking at. If you
		are getting spelling errors in your markup tags you may be using an
		old version and should upgrade.
		</para>
		<para>The <command>aspell</command> command comes with the <application>aspell</application> package, included on most Linux distributions.  Use the command as follows:</para>
<cmdsynopsis><command>aspell <option>-c</option> <filename>file</filename></command></cmdsynopsis>
<para>An interactive user interface allows for fast and easy correction of errors.  Use the <option>--help</option> to read more about <command>aspell</command> features.</para>
		</listitem>
		</varlistentry>
	
		<varlistentry>
		<term>
			<application>ispell</application>
			 <ulink url="http://www.cs.hmc.edu/~geoff/ispell.html"/>	
		</term>
		<listitem>
		<para>
			Similar to <application>aspell</application>, but tries to spell
			check your markup tags. If you have a choice, use
			<application>aspell</application>, if not,
			<application>ispell</application> is a very acceptable substitute.
		</para>
		</listitem>
		</varlistentry>
		</variablelist>
	</section> <!-- end of spell check -->


  </section> <!-- end writing-tools -->
</chapter>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

<chapter id="ag-markup">
<title>Markup</title>

<section id="markup">
<title>Markup: A General Overview</title>
<para>
	A markup language is a system for marking or tagging a document to
	define the structure of the document. You may add tags to your document
	to define which parts of your document are paragraphs, titles, 
	sections, glossary items (the list goes on!).
	There are many markup languages in use today. XHTML and HTML will be
	familiar to those who author web documents. The LDP uses a markup
	language known as DocBook. Each of these markup languages uses its own
	<quote>controlled vocabulary</quote> to describe documents. For
	example: in XHTML a paragraph would be marked up with the tagset 
	&lt;p&gt;&lt;/p&gt; while in DocBook a paragraph would be marked up 
	with <sgmltag class="starttag">para</sgmltag><sgmltag class="endtag">para</sgmltag>. The tagsets are defined in a quasi
	dictionary known as a Document Type Definition (DTD).
</para>

<para>
	Markup languages also follow a set of rules on how a document
	can be assembled. The rules are either SGML (Standard Generalized
	Markup Language) or XML (eXtensible Markup Language). These rules are
	essentially the <quote>grammar</quote> of a document's markup. SGML and
	XML are very similiar. XML is a sub-set of SGML, but XML requires more 
	precise use of the tags when marking up a document. 
	The LDP accepts both SGML and XML documents, but prefers XML.
</para>

<para>There are three components to an XML/SGML document which is read by a
person.</para>
	  <itemizedlist>
		<listitem>
		<formalpara><title>Content</title><para>
      As a TLDP author it is good to remember
	  that this is the most important piece. Many authors will
	  write the content first and add their markup later. Content
	  may include both plain text and graphics. This is the only part that
	  is required of LDP authors!
		</para></formalpara>
		</listitem>

		<listitem>
		<formalpara><title>Markup</title><para>
	  To describe the structure of a document a controlled
	  vocabulary is added on top of the content. It is used to
	  distinguish different kinds of content: paragraphs,
	  lists, tables, warnings (and so on). The markup must also conform to
	  either SGML or XML rules. If you are not comfortable
	  adding markup to your document, a TLDP volunteer will do it for you.
		</para>
		</formalpara>
		</listitem>

		<listitem>
		<formalpara><title>Transformation</title><para>
      Finally the document is transformed from DocBook to PDF, HTML,
		PostScript for display in digital or paper form. This transformation is controlled
	  through the Document Style Semantics and Specification
	  Language (DSSSL).
      The DSSSL tells the program doing the transformation how to
      convert the raw markup into something that a human can read.
		The LDP uses a series of scripts to automate these transformations. 
		You are not required to transform your own documents.
		</para></formalpara>
		</listitem>
	</itemizedlist>
	  
	  <note><title>Content, markup and transformations</title>
	  <para>Steve Champeon does a great job of
	  explaining how content, markup languages, and transformations all fit
	  together in his article <ulink url="http://hotwired.lycos.com/webmonkey/02/42/index4a.html">The
	  Secret Life of Markup</ulink>. Although he is writing from an HTML
	  perspective, the ideas are relevant and there is an example of DocBook markup.</para></note>

</section>

<section id="docbook-why">
<title>DocBook: What it is and why we use it</title> 

<para>
	According to the official DocBook web site,
	<blockquote>
	<attribution>DocBook.org</attribution>
	<para>
	DocBook is a general purpose XML and SGML document type particularly well
	suited to books and papers about computer hardware and software (though
	it is by no means limited to these applications).
	</para></blockquote>
</para>

<tip><title>For the impatient</title><para>
	In the next sections we will be explaining about the theoretical side of DocBook, its origins, development, advantages and disadvantages.  If you just want the practical side, check out these sections for an overview of HOWTO DocBook:
	<xref linkend="ref-docbook"/>,
	<xref linkend="using-docbook"/>,
	and <xref linkend="x2docbook"/>
	from this guide.
</para></tip>

<para>
	Although there are other DTDs used to write documentation,
	there are a few reasons not to use them.
</para>

	  <itemizedlist> <listitem><para> DocBook is the most
	  popular DTD, being
      used by more than a dozen major open source projects from
      GNOME to Python to FreeBSD.
	  </para></listitem> <listitem><para> The tools for DocBook
	  are more developed than others.  DocBook support is
	  included in most Linux distributions, allowing you to
	  send raw files to be processed at the receiver's end.
	  </para></listitem> <listitem><para> And finally, DocBook
	  has an extensive set of tags (over 300 in all) which is
	  very useful when you are trying to describe the content
	  of a document.  Fortunately for new authors the majority
	  of them do not need to be used for simple documentation.
	  </para></listitem> </itemizedlist>

	  <para>Still not convinced? Eric
	  Raymond has written a <ulink url="http://en.tldp.org/HOWTO/DocBook-Demystification-HOWTO/">DocBook
	  Demystification HOWTO</ulink> which may help.  </para>

	  <para>
			Convinced, but still not comfortable with the thought of
			working with DocBook? Give David Lawyer's <ulink url="http://tldp.org/HOWTO/Howtos-with-LinuxDoc.html">Howtos-with-LinuxDoc-mini-HOWTO</ulink>
			a try.
	  </para>
</section>

<section id="docbookxml">
<title>XML and SGML: Why we use XML</title> 
<para>
	DocBook comes in a couple of different flavors--including both 
	XML and SGML formats. This means that you may use either the SGML
	grammar/rules when adding markup, or you may use the XML grammar/rules.
	Either way you may only use one set of rules throughout your document, 
	and you must define which one you are using at the top of your document.
</para>

<para>
	The LDP prefers the XML flavor of DocBook. There are a number of
	reasons for this including the following:
</para>

<orderedlist inheritnum="ignore" continuation="restarts">
	<listitem>
	<para>
	  Libraries for handling XML files are developing at a
	  rapid pace.  These utilities may make it easier for new
	  authoring tools to become available.
	</para>
   </listitem>
	<listitem>
	<para>
	  Many popular word processing programs are now creating
	  XML output.  While it may not be DocBook XML, this does
	  make it easier for application writers to either add
	  DocBook XML support, or provide some method of translating
	  between their format and DocBook XML.
	</para>
   </listitem>
	<listitem>
	<para>
	  Everyone else is doing it.  While this might not be a
	  real reason, it allows the LDP to keep up-to-date with
	  similar projects.  Tools, procedures, and issues can be
	  worked out in a common framework.
	</para>
   </listitem>
   </orderedlist>

<para>
		Still not convinced? Fortunately the LDP does
		accept a number of other file formats for input. The list of accepted markup
		languages can be found in <xref linkend="acceptedversions"/>
    </para>
</section>

<section id="acceptedversions">
<title>Markup Languages Accepted by TLDP</title> 
		<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

<para>
	The LDP stores its documents in the following markup languages:
</para>

<orderedlist>
<listitem>
<para>
	DocBook XML version 4.2 (preferred), 4.1.2
</para>
</listitem>
<listitem>
<para>
	DocBook SGML version 4.2, 4.1, or 3.x
</para>
</listitem>
<listitem>
<para>
	LinuxDoc SGML
</para>
</listitem>
</orderedlist>

<note><title>New Documents</title>
<para>
	A new document may be submitted to the LDP in any format. Documents
	which are not in DocBook or LinuxDoc will be converted by a volunteer.
	The author is responsible for adding markup to any revisions which are
	made.
</para>
</note>

</section>
<!--
<section id="doctype">
<title>DocBook Documents: Inserting a DOCTYPE</title>

      <para>When writing your DocBook header, it should look like
      this:</para> 

<screen>
<sgmltag class="starttag">!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"</sgmltag> 
</screen>

<section id="html2db">
	<title>HTML to DocBook</title>
	<para>
		If your document is already written in HTML, you may want to try
		<application>html2db</application> to convert your document.
		More information is available from <ulink
		url="http://www.cise.ufl.edu/~ppadala/tidy/" />.
	</para>
</section>
-->

</chapter>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<chapter id="distribute">
<title>Distributing Your Documentation</title>

<section id="pre-distribute">
<title>Before Distributing Your Documentation</title>
	<para>
		Before you distribute your documentation, there are a few more
		things that you will need to check and possibly add to your document.
	</para>

	<variablelist>
	<varlistentry>
	<term>Spelling and Grammar Check</term>
	<listitem>
	<para>
		You can read more about helper applications in <xref linkend="ag-spellcheck"/>. You should also check your document for
		its overall flow and clarity.
	</para>
	</listitem>
	</varlistentry>
	
	<varlistentry>
	<term>Abstract and Other Meta Data</term>
	<listitem>
	<para>
		Add a short paragraph which clearly defines the scope of your
		document.
		For more information on how to add this information using DocBook
		please read <xref linkend="metadata-markup"/>
	</para>
	</listitem>
	</varlistentry>
	
	<varlistentry>
	<term>Acknowledgments</term>
	<listitem>
	<para>
		Give credit where credit is due. For more information about when to
		give credit, read <xref linkend="crediting-ack"/>.
	</para>
	</listitem>
	</varlistentry>
	
	<varlistentry>
	<term>License and Copyright</term>
	<listitem>
	<para>
		The LDP distributes documents, however, the author maintains the
		copyright on the document. All documents accepted by the LDP must
		contain a license and copyright notice. You can read more about this
		in <xref linkend="doc-copyright"/>.
		You may also want to add a Disclaimer, but this is optional. More
		about this in <xref linkend="doc-disclaimer"/>.
	</para>
	</listitem>
	</varlistentry>

	<varlistentry>
	<term>Validate the Markup</term>
	<listitem>
	<para>
		If you are submitting a DocBook or LinuxDoc document, make sure the
		markup is valid. Read why in <xref linkend="why-validate"/>.
	</para>
	</listitem>
	</varlistentry>

	
	<varlistentry>
	<term>Obtain Peer Reviews</term>
	<listitem>
	<para>
		You may want to have others review your document before
		submitting it to the LDP. Ask people for a <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/peerreview.html">Peer
		Review</ulink> and/or a <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/techreview.html">Technical
		Accuracy Review</ulink>. Since not all mailing lists will respond favorably 
		to attachments, you may wish to set up a temporary web site which houses your
		document. Note: this is absolutely <emphasis>not</emphasis> required.
	</para>
	</listitem>
	</varlistentry>
	</variablelist>
</section>

<section id="doc-licensing">
      <title>Licensing and Copyright</title>
      <para> In order for a document to be accepted by the LDP,
      it must be licensed and conform to the <quote>LICENSE
		REQUIREMENTS</quote> section of the LDP Manifesto located at <ulink url="http://www.tldp.org/manifesto.html">http://www.tldp.org/manifesto.html</ulink>.
		</para>

      <para> We recommend using the <ulink url="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation 
      License (GFDL)</ulink>, one of the <ulink url="http://www.creativecommons.org/license">Creative Commons
		Licenses</ulink>, or the LDP license (currently under review). The 
		full text of the license must be included in your document, including 
		the title and version of the license you are using. The LDP will not
		accept new documents that do not meet licensing requirements.</para>
		
		<para>You can get DocBook markups of both the GNU GPL
      and the GNU FDL from <ulink url="http://developer.gnome.org/projects/gdp/licenses.html">
      the GNOME Documentation Project</ulink>.  You can then merely
      include the license in its entirety in your document. A
		DocBook-formatted copy of the license is available in
		<xref linkend="templates"/>.
		</para>
		
		<para>
			For more information about open source documentation and
			licensing, please check <xref linkend="ref-licenses"/>.
		</para>
		
		<section id="doc-copyright">
		<title>Copyright</title>
      <para>As an author, you may retain the copyright and add other
      restrictions (for example: require approval for any translations or
      derivative works). If you are a new
      maintainer of an already-existing HOWTO, you must include the
      previous copyright statements of the previous author(s) and the
      dates they maintained that document. </para>
		</section>
	 
	 <section id="doc-disclaimer">
		<title>Disclaimer</title>
		<para>If you would like to include a disclaimer, you may choose
		to use the following:</para>
		<blockquote>
		<!-- A Standard Disclaimer -->
<para>  
No liability for the contents of this document can be accepted.
Use the concepts, examples and information at your own risk.
There may be errors and inaccuracies, that could be damaging
to your system. Proceed with caution, and although it is highly
unlikely that accidents will happen because of following advice 
or procedures described in this document, the author(s) do not 
take any responsibility for any damage claimed to be caused by 
doing so.
</para>

<para>
All copyrights are held by their by their respective owners, 
unless specifically noted otherwise. Use of a term in this 
document should not be regarded as affecting the validity of
any trademark or service mark. Naming of particular products or
brands should not be seen as endorsements.
</para>

		</blockquote>
	 </section>

	<section id="doc-sourcecode">
		<title>Licensing source code</title>
      <para>If your HOWTO includes bits of source code that you want others to use,
      you may choose to release the source code under GPL.</para>
	</section>
</section>

<section id="crediting-ack">
	<title>Acknowledgments</title>

   <para>Your document should have an <quote>Acknowledgments</quote> section,
      in which you mention everyone who has contributed to your document in
      any meaningful way. You should include translators and converters, as well as
      people who have sent you lots of good feedback, perhaps the person who taught
      you the knowledge you are now passing on, and anybody else who was instrumental
      in making the document what it is. Most authors put this section at the end
      of their document.
	</para>
    
	 <para>When someone else assists in the production of an
	 LDP document,
    you should give them proper attribution, and there are DocBook tags
    designed to do this. This section will show you the tags you should
    use, as well as other ways of giving credit where credit is due.
    Crediting editors is easy - there is already an
    <sgmltag class="starttag">editor</sgmltag>tag in DocBook.
    But there are two special cases where you need to credit someone,
    but DocBook doesn't provide a special tag. These are <emphasis>translators</emphasis>
    and <emphasis>converters</emphasis>.</para>

    <para>A <emphasis>converter</emphasis> is someone
    who performs a source code conversion, for instance from HTML to DocBook XML.
    Source code conversions help the LDP achieve long term goals for meta-data,
    and allow us to distribute documentation in many different formats.</para>

    <para>Translators take your original document and translate it into other
    human-readable languages, from English to Japanese for example, or from German
    to English. Each translation allows many more people all over the world
    to make use of your document and of the Linux operating system!</para>

		<para>
		We recommend that 
		you acknowledge converters in the comment for the
      initial version released in the new format, and 
		we recommend that you credit translators in each 
		version which they have translated.</para>

	<note><title>Acknowledgments translated in DocBook</title><para>For more information on how to add these credits using DocBook
		please read <xref linkend="metadata-markup"/>
	</para></note>
</section>

<section id="ag-review">
<title>TLDP Review Process</title>

<para>
	Before your document is accepted to the LDP collection it will undergo
	at least three formal reviews. These reviews include a <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/techreview.html">technical accuracy
	review</ulink>, a <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/languagereview.html">language
	review</ulink> and a <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/metadatareview.html">metadata
	review</ulink>. All new documents must pass these reviews
	before being accepted into the collection.
</para>

<para>
	When you feel your document is finished, email a copy to the submit 
	mailing list. Please include the title of your document and
	<quote>Final Review Required</quote> in the subject line of your email. 
	A team of volunteers will be assigned to your document for each of the
	reviews. It may take up to a week to gather a team who is qualified to review your document.
	Typically the technical review happens first, followed by the language
	review and finally the metadata review. Your reviewers will read your document give you feedback on
	whether or not they think your document is ready for publication in the
	LDP collection.
</para>

<para>
	Your reviewers may have specific points that must be changed. Once you
	have made the changes submit your document back to your review team.
	They will review the document again and advise you on whether or not
	your document is ready for inclusion in the LDP collection. You may
	need to undergo several edits before your document is ready. Or it may
	not require any additional work. Be prepared to make at least one round
	of changes for both the technical and language reviews. Ideally this
	exchange will happen in the LDP's <ulink url="http://cvs.tldp.org">CVS</ulink> to better track each of the
	changes that are made, and keep track of the most current version of
	your document.
</para>

<para>
	Once your document has passed both the technical and language reviews,
	you may submit it by following the instructions in <xref linkend="submission"/>.
</para>

<para>
	For more information on what the reviewers will be looking for, please
	read the <ulink url="http://www.tldp.org/HOWTO/LDP-Reviewer-HOWTO/index.html">Linux Documentation Project Reviewer HOWTO</ulink>. 
</para>
</section>

<section id="submission">
	<title>Submission to LDP for publication</title>
		<note><title>The final step</title><para>
			This section contains information on what to do after your
			document has received both a technical and language review by the
			LDP volunteers.
		</para></note>

		<para>
			As part of the review process a Review Coordinator will add your
			document to the CVS (including any associated image files) and
			notify the submit mailing list that your document is ready for
			publication.
		</para>

		<para>
			If you do not already have a CVS account, please apply for one
			when your document is submitted for publication. You can apply
			for an account at: <ulink url="http://tldp.org/cvs/"/>
		</para>
<!--
		
      <para> Once your LDP document has been carefully reviewed, you
      can release your document to the LDP. Send an e-mail with the
      source code as an attachment (you may gzip it if you like)
      to <email>submit@en.tldp.org</email>. </para>

      <para> Be sure to include the name of your work in the subject
      line, and use the body to outline changes you've made and attach
      your document's source code. This allows the maintainers to do their jobs faster, and
		means your revised document will appear on the site faster.
      If you haven't heard anything in 5 calendar days,
      please follow up with an e-mail to make sure things are still in
      process. </para> 

      <para>If your text contains extras, such as graphics or a
      special catalog, create a .tar.gz file with all the files in it,
      including the XML source code, and mail it as an attachment to
      the submit list.</para>

      <para>If you are using the LDP CVS tree while developing
      your document, the LDP will still need to be notified when your
      document is ready to be published. E-mail should be sent to
      <email>submit@en.tldp.org</email>. Indicate
      the title of your document and the relative path to the
      file(s) in the LDP CVS tree within your message. </para>

		<para> To get a CVS account please refer to: <ulink
		url="http://tldp.org/cvs/">http://tldp.org/cvs/</ulink>
		</para>
    </section>
	 <section id="compilations">
	 <title>Publishing Compilations of LDP Documents</title>
    <para>
		If you are interested in publishing a collection of
		LDP documents, please visit <ulink
      url="http://www.tldp.org/manifesto.html#pub">http://www.tldp.org/manifesto.html#pub</ulink>
		for more information.
	</para>
	</section>
	-->
</section>
</chapter>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<chapter id="sg-maintaining">
    <title>Maintaining Your HOWTO</title>
    
  <para>
      Just because your document has now been published doesn't mean your
      job is done. Linux documentation needs regular maintenance to make sure it
      is up to date, and to improve it in response to readers' ideas
      and suggestions. TLDP is a living, growing body of knowledge,
      not just a publish-and-forget-it static entity.
  </para>
    
	<para>
		Add relevant mailing lists to your document where people
		can get support. If you have the time, follow these
		mailing lists yourself to stay up-to-date on the
		latest information.
   </para>
  
  <para>
      Put your email address in the document, and politely request
      feedback from your readers. Once you are officially published,
      you will begin to receive notes with suggestions.
		Some of these emails will be very valuable. Create a 
		folder in your mail program for
		incoming suggestions--when the time is right review
		the folder and make updates to your document. If you
		are following a related mailing list you may also
		choose to save a copy of important emails from the list to
		this folder.
	</para>
		
	<note><title>We're not a free support service, but...</title><para>
	Some people who email you will request personal
	assistance.	You should feel free to decline personal 
	assistance if you cannot spare the time. Writing a 
	contribution to the LDP does not commit you to a lifetime
   of free support for anyone on the net; however, do try
	to reply to all requests and suggest a mailing list that
	will (hopefully) be able to provide support to your reader.
	</para></note>


	<section id="fixingerrors">
		<title>Fixing Errors</title>
		<para>
			If you find an error in your own document, please fix it
			and re-submit it. You can re-submit your files by emailing
			them to <email>submit@en.tldp.org</email>. If you've been
			using the CVS, you can simply <command>cvs commit</command> your revised document
			and then send an email saying the new version is ready for
			distribution. Remember to update the revision history at the
			top of the document.
		</para>

		<para>
			If you find an error in someone else's document please
			contact the author of the document, or the LDP 
        coordinator at <email>feedback@en.tldp.org</email> and
        mention the problem and how you think it needs to be
        fixed. 
		</para> 

		<note><title>Taking over unmaintained documentation</title><para>
			For more information on how to deal with unmaintained
			documents, please read:
			<ulink url="http://www.tldp.org/authors/unmaint.html">Unmaintained</ulink>
			(includes a list of steps to take to take over
			<quote>ownership</quote> of unmaintained documents, and a
			list of unmaintained documents).
		</para></note>
	</section>
		
</chapter>


<!-- Appendix: References -->
<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

<!-- 
Sample Bibliography Entry. Please follow this format!

<biblioentry>
<title></title>
<bibliosource><ulink url="" /></bibliosource>
<author><firstname></firstname><surname></surname></author>
<copyright><year></year>
<holder></holder></copyright>
<editor><firstname></firstname><surname></surname></editor>
<isbn></isbn>
<publisher>
<publishername></publishername>
</publisher>
<abstract></abstract>
</biblioentry>

or for a short item (title + url)
<biblioentry>
<title></title>
<bibliosource><ulink url="" /></bibliosource>
</biblioentry>
-->

<bibliography id="bibliography">
<title>References</title>

<bibliodiv id="ref-markup">
<title>Markup and general information</title>
<biblioentry>
<title>Secret Life of Markup, The</title>
<bibliosource><ulink url="http://hotwired.lycos.com/webmonkey/02/42/index4a.html"/></bibliosource>
<author><firstname>Steve</firstname><surname>Champeon</surname></author>
</biblioentry>
<biblioentry>
<title>Progressive Enhancement and the Future of Web Design</title>
<subtitle>
	Where We Are Now
</subtitle>
<bibliosource><ulink url="http://hotwired.lycos.com/webmonkey/03/21/index3a_page2.html"/></bibliosource>
<author><firstname>Steve</firstname><surname>Champeon</surname></author>
</biblioentry>
<biblioentry>
<title>SGML</title>
<bibliosource><ulink url="http://www.w3.org/MarkUp/SGML/"/></bibliosource>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-docbook">
<title>DocBook References</title>
<biblioentry>
<title>DocBook XML 4.1.2 Quick Start Guide</title>
<bibliosource><ulink url="http://www.jimweller.net/jim/dbxmlqs/index.html"/></bibliosource>
<author><firstname>Jim</firstname><surname>Weller</surname></author>
<abstract>
<para>
	<blockquote>
	<attribution>Jim Weller</attribution>
	<para>Describes how to install, configure and use the tools and resources for
	DocBook XML 4.1.2. The purpose of this quick start guide is to get new
	docbook authors, editors, and contributors up and running fast with the
	DoocBook tools. These are powerful tool in the hands of an author. It
	assumes a fair knowledge of building and installing source packages.
	There are probably a million and one ways to accomplish my ultimate
	goal of installing and using these tools. This one works well for
	me.
	</para></blockquote>
</para>
</abstract>
</biblioentry>

<biblioentry>
<title>
Installing And Using An XML/SGML DocBook Editing Suite
Setting Up A Free XML/SGML DocBook Editing Suite For Windows And
Unix/Linux/BSD</title>
<bibliosource><ulink url="http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/docbooksys/docbooksys.html"/>
</bibliosource>
<author><firstname>Ashley J.S.</firstname><surname>Mills</surname></author>
<copyright><year>2002</year>
<holder>The University Of Birmingham</holder></copyright>
</biblioentry>

<biblioentry>
<title>
Getting Upto Speed With DocBook</title>
<bibliosource><ulink url="http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/UniDocBook/UniDocBook.html"/></bibliosource>
<author><firstname>Ashley J.S.</firstname><surname>Mills</surname></author>
<copyright><year>2002</year>
<holder>The University Of Birmingham</holder></copyright>
</biblioentry>

<biblioentry>
<title>DocBook: The Definitive Guide</title>
<bibliosource><ulink url="http://www.docbook.org/"/></bibliosource>
<author><firstname>Norman</firstname><surname>Walsh</surname></author>
<author><firstname>Leonard</firstname><surname>Muellner</surname></author>
<copyright><year>1999</year>
<holder>O'Reilly &amp; Associates, Inc.</holder></copyright>
<isbn>1-56592-580-7</isbn>
<publisher>
<publishername>O'Reilly &amp; Associates, Inc.</publishername>
</publisher>
<abstract>
        <para>This book was released by O'Reilly in October 1999, and
        is a great reference to DocBook. I have not found it to be a
        great practical book. You can pick it up at the book vendor of 
		  choice, and the entire book is also available online (in HTML and SGML
        formats) at the above URL. </para>
</abstract>
</biblioentry>

<biblioentry>
<title>Simplified DocBook: The Definitive Guide</title>
<bibliosource><ulink url="http://www.docbook.org/tdg/simple/en/html/sdocbook.html"/></bibliosource>
<author><firstname>Norman</firstname><surname>Walsh</surname></author>
<author><firstname>Leonard</firstname><surname>Muellner</surname></author>
<copyright><year>1999</year>
<holder>O'Reilly &amp; Associates, Inc.</holder></copyright>
</biblioentry>

<biblioentry>
<title>Simplified DocBook</title>
<bibliosource><ulink url="http://www.oasis-open.org/docbook/xml/simple/"/></bibliosource>
</biblioentry>

<biblioentry>
	<title>XML Matters: Getting started with the DocBook XML
	dialect</title>
<bibliosource><ulink url="http://www-106.ibm.com/developerworks/xml/library/xml-matters3.html"/></bibliosource>
</biblioentry>

<biblioentry>
	<title>FAQ for DocBook markup</title>
<bibliosource><ulink url="http://www.dpawson.co.uk/docbook/markup.html"/></bibliosource>
</biblioentry>
 

<biblioentry>
<title>Single-Source Publishing with DocBook XML</title>
<abbrev/>
<bibliosource><ulink url=" http://www.lodestar2.com/people/dyork/talks/2002/ols/docbook-tutorial/frames/frames.html"/></bibliosource>
<author><firstname>Dan</firstname><surname>York</surname></author>
<copyright><year>2002</year>
<holder>Dan York</holder></copyright>
</biblioentry>

<biblioentry>
<title>
   DocBook Install mini-HOWTO</title>
<bibliosource><ulink url="http://tldp.org/HOWTO/mini/DocBook-Install/"/></bibliosource>
<author><firstname>Robert</firstname><surname>Easter</surname></author>
</biblioentry>

<biblioentry>
<title>Exploring SGML DocBook</title>
<bibliosource><ulink url="http://lwn.net/2000/features/DocBook/"/></bibliosource>
<author><firstname>Giorgio</firstname><surname>Zoppi</surname></author>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-linuxdoc">
<title>LinuxDoc</title>
<biblioentry>
<title>Howtos-with-LinuxDoc-mini-HOWTO</title>
<bibliosource><ulink url="http://www.tldp.org/HOWTO/Howtos-with-LinuxDoc.html"/></bibliosource>
<author><firstname>David</firstname><surname>Lawyer</surname></author>
</biblioentry>

<biblioentry>
<title>LinuxDoc-SGML User's Guide</title>
<bibliosource><ulink url="http://www.nmt.edu/tcc/doc/guide.html"/></bibliosource>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-x2docbook">
<title>Converting Other Formats to DocBook</title>
<biblioentry>
<title>
Converting HTML to Docbook SGML/XML Using html2db</title>
<bibliosource><ulink url="http://www.cise.ufl.edu/~ppadala/tidy/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>5-Minute Review: Using LyX for Creating DocBook</title>
<bibliosource><ulink url="http://www.teledyn.com/help/XML/lyx2db/t1.html"/></bibliosource>
</biblioentry>
<biblioentry>
<title>Document processing with LyX and SGML</title>
<bibliosource><ulink url="http://www.karakas-online.de/mySGML/"/></bibliosource>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-templates">
	<title>LDP templates, tools &amp; links</title>

<biblioentry>
<title>LDP Templates</title>
<abbrev/>
<bibliosource><ulink url="http://www.tldp.org/authors/index.html#resources">http://www.tldp.org/authors/index.html#resources</ulink>
</bibliosource>
<abstract>
        <para>Contains links to SGML templates and their resulting HTML output
        to help you see what your document will look like. Many of the tags
        just need to be replaced with information unique to your HOWTO.
        Also contains links to tools and other useful information.
        </para>
</abstract>
</biblioentry>

<biblioentry>
<title>Linux Documentation Project HOWTO Generator, The</title>
<bibliosource><ulink url="http://www.nyx.net/~sgjoen/The_LDP_HOWTO_Generator.html"/></bibliosource>
<abstract>
	<para>
This is a standalone web page with a number of fields to fill in
and a few buttons. When ready the compile button starts the
compilation of all the input fields and wraps it all in proper
LinuxDoc SGML, ready to process with the LinuxDoc SGML tools.
	</para>

	<para>
The compiled output is outputted to a read-only text area near
the bottom of the webpage, so the text has to be copied and
pasted into a file for compilation.
	</para>

	<para>
DocBook is not currently supported.
	</para>
</abstract>
</biblioentry>

</bibliodiv>

<bibliodiv id="ref-transform">
<title>DocBook Transformations</title>

<biblioentry>
<title>DocBook XML/SGML Processing Using OpenJade</title>
<abbrev/>
<bibliosource><ulink url="http://tldp.org/HOWTO/DocBook-OpenJade-SGML-XML-HOWTO/"/></bibliosource>
<author><firstname>Saqib</firstname><surname>Ali</surname></author>
</biblioentry>

</bibliodiv>

<bibliodiv id="ref-techwriting">
<title>General Writing Links and Style Guides</title>

<biblioentry>
<title>
Guide to Grammar and Style</title>
<bibliosource><ulink url="http://newark.rutgers.edu/~jlynch/Writing/"/></bibliosource>
<author><firstname>Jack</firstname><surname>Lynch</surname></author>
</biblioentry>

<biblioentry>
<title>Purdue's Online Writing Lab</title>
<bibliosource><ulink url="http://owl.english.purdue.edu/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
Chicago Manual of Style</title>
<bibliosource><ulink url="http://www.chicagomanualofstyle.org/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
Plain Language Resources</title>
<bibliosource><ulink url="http://www.plainlanguagenetwork.org/Resources/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Writing User-Friendly Documents</title>
<bibliosource><ulink url="http://www.blm.gov/nhp/NPR/pe_toc.html"/></bibliosource>
<abstract><para>
	This is quite useful. It includes before and after writing samples.
</para></abstract>
</biblioentry>

<biblioentry>
<title>PlainTrain Writing Tutorial</title>
<bibliosource><ulink url="http://www.web.net/~plain/PlainTrain/IntroducingPlainLanguage.html"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Writing for the Web</title>
<bibliosource><ulink url="http://www.useit.com/papers/webwriting/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Information Pollution</title>
<bibliosource><ulink url="http://useit.com/alertbox/20030811.html"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Be Succinct! (Writing for the Web)</title>
<bibliosource><ulink url="http://useit.com/alertbox/9703b.html"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Politics and the English Language</title>
<bibliosource><ulink url="http://www.k-1.com/Orwell/index.cgi/work/essays/language.html"/></bibliosource>
<author><firstname>George</firstname><surname>Orwell</surname></author>
<abstract>
	<para>A classic text on writing.</para>
</abstract>
</biblioentry>
     
<biblioentry>
<title>Elements of Style, The</title>
<bibliosource><ulink url="http://www.bartleby.com/141/"/></bibliosource>
<author><firstname/><surname>Strunk and White</surname></author>
<abstract>
	<para>A classic text on writing.</para>
</abstract>
</biblioentry>


<biblioentry>
<title>A Short Handbook and Style Sheet</title>
<bibliosource><ulink url="http://newark.rutgers.edu/~jlynch/Writing/m.html#mechanics"/></bibliosource>
<author><firstname>Thomas</firstname><surname>Pinney</surname></author>
</biblioentry>

<biblioentry>
<title>Technical Writing Links</title>
<bibliosource><ulink url="http://www.techcomplus.com/tips.htm"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
Technical Writing Tutorial</title>
<bibliosource><ulink url="http://psdam.mit.edu/rise/tutorials/writing/technical-writing.html"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
Strategies to succeed in technical writing</title>
<bibliosource><ulink url="http://www.school-for-champions.com/techwriting.htm"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
User Guides Online Tutorial</title>
<bibliosource><ulink url="http://www.klariti.com/technical-writing/User-Guides-Tutorial.shtml"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
DMOZ Technical Writing Links</title>
<bibliosource><ulink url="http://dmoz.org/Arts/Writers_Resources/Non-Fiction/Technical_Writing/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>
techwr-L</title>
<bibliosource><ulink url="http://www.raycomm.com/techwhirl/magazine/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Technical Writing Links</title>
<bibliosource><ulink url="http://academic.middlesex.cc.ma.us/PeterHarbeson/links.html"/></bibliosource>
<abstract><para>
An omnibus of links--scrounge for goodies.
</para></abstract>
</biblioentry>

</bibliodiv>

<bibliodiv id="ref-relatedtldp">
<title>Related TLDP Documents</title>
<biblioentry>
<title>
Linux Documentation Project (LDP) FAQ</title>
<bibliosource><ulink url="http://tldp.org/FAQ/LDP-FAQ/index.html"/></bibliosource>
<author><firstname>Rahul</firstname><surname>Sundaram</surname></author>
</biblioentry>
<biblioentry>
<title>LDP HOWTO-INDEX</title>
<bibliosource><ulink url="http://tldp.org/HOWTO/HOWTO-INDEX/"/></bibliosource>
<author><firstname>Guylhem</firstname><surname>Aznar</surname></author>
<author><firstname>Joshua</firstname><surname>Drake</surname></author>
<author><firstname>Greg</firstname><surname>Ferguson</surname></author>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-cvs">
<title>Software: CVS</title>

<biblioentry>
<title>CVS: Project Management</title>
<bibliosource><ulink url="http://doc.cs.byu.edu/programming/cvs/"/></bibliosource>
<author><firstname>Byron</firstname><surname>Clark</surname></author>
</biblioentry>

<biblioentry>
<title>CVS</title>
<bibliosource><ulink url="http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/cvstute/cvstute.html"/></bibliosource>
<author><firstname>Ashley J.S.</firstname><surname>Mills</surname></author>
<author><firstname>Alan P.</firstname><surname>Sexton</surname></author>
</biblioentry>

<biblioentry>
<title>CVS--Concurrent Versions System</title>
<bibliosource><ulink url="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html"/></bibliosource>
<author><firstname>Pascal</firstname><surname>Molli</surname></author>
</biblioentry>

<biblioentry>
<title>Learning About CVS	</title>
<bibliosource><ulink url="http://cvshome.org/docs/"/></bibliosource>
</biblioentry>

</bibliodiv>

<bibliodiv id="ref-software-edit">
<title>Software: Emacs</title>

<biblioentry>
<title>Information about PSGML	</title>
<bibliosource><ulink url="http://www.lysator.liu.se/~lenst/about_psgml/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Emacs: The Free Software IDE</title>
<bibliosource><ulink url="http://www.linuxjournal.com/article.php?sid=576"/></bibliosource>
</biblioentry>

<biblioentry>
<title>Emacs/PSGML Quick Reference</title>
<bibliosource><ulink url="http://www.snee.com/bob/sgmlfree/psgmqref.html"/></bibliosource>
<author><firstname>Bob</firstname><surname>Ducharme</surname></author>
</biblioentry>

<biblioentry>
<title>NT Emacs Installation</title>
<bibliosource><ulink url="http://www.charlescurley.com/emacs.html"/></bibliosource>
<author><firstname>Charles</firstname><surname>Curley</surname></author>
</biblioentry>

<biblioentry>
<title>Cygwin Packages for DocBook Authoring</title>
<bibliosource><ulink url="http://www.docbook.org/wiki/moin.cgi/CygwinPackages/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>SGML for Windows NT</title>
<subtitle>
	Setting up a free SGML/XML editing and publishing system on
	Windows/Cygwin
</subtitle>
<bibliosource><ulink url="http://ourworld.compuserve.com/homepages/hoenicka_markus/cygbook1.html"/></bibliosource>
<author><firstname>Markus</firstname><surname>Hoenicka</surname></author>
<copyright><year>2000</year>
<holder>Markus Hoenicka</holder></copyright>
</biblioentry>


<biblioentry>
<title>Vim</title>
<bibliosource><ulink url="http://www.newriders.com/books/opl/ebooks/0735710015.html"/></bibliosource>
<author><firstname>Steve</firstname><surname>Oualline</surname></author>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-xml">
<title>XML Authoring Tools</title>
<biblioentry>
<title>Saqib's list of XML Authoring Tools</title>
<bibliosource><ulink url="http://www.xml-dev.com/blog/#19"/></bibliosource>
</biblioentry>
</bibliodiv>

<bibliodiv id="ref-licenses">
<title>Documentation Licenses</title>

<biblioentry>
<title>Licensing HOWTO</title>
<bibliosource><ulink url="http://www.catb.org/~esr/Licensing-HOWTO.html"/></bibliosource>
<author><firstname>Eric</firstname><surname>Raymond</surname></author>
<author><firstname>Catherine</firstname><surname>Raymond</surname></author>
<abstract>
	<para><blockquote>
	<attribution>Eric Raymond and Catherine Raymond</attribution>
	<para>
This document explains how U.S. copyright and licensing law applies to
open-source software projects. It compares the strengths and weaknesses of
the existing open-source licenses, and gives guidance on how to choose a
license for your project. It also explains the legalities of changing a
project's license. It suggests new practice for coping with today's
high-threat legal environment--this part is a must-read for all
project leaders.
	</para>
	</blockquote></para>
</abstract>
</biblioentry>

<biblioentry>
<title>OPL</title>
<bibliosource><ulink url="http://www.opencontent.org/openpub/"/></bibliosource>
<abstract><para>OpenContent officially closed June 30, 2003.
</para></abstract>
</biblioentry>

<biblioentry>
<title>Creative Commons</title>
<bibliosource><ulink url="http://creativecommons.org/licenses/by-sa/1.0/"/></bibliosource>
</biblioentry>

<biblioentry>
<title>GNU Free Documentation License</title>
<bibliosource><ulink url="http://www.gnu.org/copyleft/fdl.html"/></bibliosource>
</biblioentry>

<biblioentry>
<title>GNU General Public License</title>
<bibliosource><ulink url="http://www.gnu.org/licenses/licenses.html#GPL"/></bibliosource>
<abstract><para>
	If you would like your documents to be included in the main Debian
	distribution, you should use this license. It is not, however, the
	LDP's license of choice.
</para></abstract>
</biblioentry>

</bibliodiv>

</bibliography>


<!-- Appendix: Sample Templates -->
<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

<appendix id="templates">
<title>Templates</title>

	<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->

<para>
	The LDP stores its documents in the following markup languages:
</para>

<orderedlist>
<listitem>
<para>
	DocBook XML version 4.2 (preferred), 4.1.2
</para>
</listitem>
<listitem>
<para>
	DocBook SGML version 4.2, 4.1, or 3.x
</para>
</listitem>
<listitem>
<para>
	LinuxDoc SGML
</para>
</listitem>
</orderedlist>

<note><title>New Documents</title>
<para>
	A new document may be submitted to the LDP in any format. Documents
	which are not in DocBook or LinuxDoc will be converted by a volunteer.
	The author is responsible for adding markup to any revisions which are
	made.
</para>
</note>


<para>
	Most of the templates are available from the <ulink url="http://www.tldp.org/authors/index.html#resources">Author
	Resources</ulink> page. There are a few, additional, templates listed
	here.
</para>

<section id="templates-book">
<title>Book Templates</title>
  <para>
  	The following templates may be downloaded and used to create your
	documents. Documents that are prefixed with a t- were provided by <ulink url="http://tille.soti.org/">Machtelt Garrels</ulink> (also known as
	Tille, which is pronounced Tilly by the anglophiles). Thanks Tille!
	</para>

	<orderedlist>
	<listitem>
	<formalpara>
		<title>Article <ulink url="http://tldp.org/authors/template/Sample-HOWTO.xml"/></title>
		<para>
			Most HOWTO documents will use this template.
		</para>
	</formalpara>
	</listitem>
	<listitem>
	<formalpara>
		<title>Book <ulink url="t-book.xml"/></title>
		<para>
			Use this template to create a full book (like this Author Guide, 
		for instance). 
		</para>
	</formalpara>
	</listitem>
	
	<listitem>
	<formalpara>
		<title>Appendix <ulink url="t-appendix.xml"/></title>
		<para>
			Use this template to create an appendix. This list of templates
			is an example of an appendix. Note the letters instead of the
			numbers which are used to distinguish sections.
		</para>
	</formalpara>
	</listitem>

	<listitem>
	<formalpara>
		<title>Chapters <ulink url="t-chap1.xml"/> and <ulink url="t-chap2.xml"/></title>
	<para>
		Two sample chapters for <quote>book</quote> documents. This template
		is not required if you are using the <quote>article</quote> template.
	</para>
	</formalpara>
	</listitem>
	<listitem>
		<formalpara>
		<title>Glossary <ulink url="t-glossary.xml"/></title>
	<para>
		For making glossaries.
	</para>
	</formalpara>
	</listitem>
	
	<listitem>
        <formalpara>
                <title>FAQ <ulink url="t-faq.xml"/></title>
	<para>
		A standard article for writing a FAQ (Frequently Asked Questions) list.
	</para>
	</formalpara>
	</listitem>

	<listitem>
	<formalpara><title>Disclaimer <ulink url="disclaimer.xml"/></title>
	<para>
		A standard disclaimer which warns readers that (1) your document may
		not be perfect and (2) you are not responsible if things end up
		broken because of it.
	</para></formalpara>
	</listitem>
	</orderedlist>
</section>

<section id="templates-style">
<title>Style Sheets</title>

<para>
	The following style sheets can be used to make your document nicer to
	look at. Remember that the LDP will use its own style sheets to
	distribute your documentation.
</para>

<orderedlist>
<listitem>
<formalpara>
<title>DSL Style Sheet <ulink url="style.dsl"/></title>
<para>
	This DSL style sheet was provided by Tille and is to be used with DSSSL
	transformations.
</para>
</formalpara>
</listitem>

<listitem>
<formalpara>
<title>Cascading Style Sheet <ulink url="style-ob.css"/></title>
<para>
	This CSS file was provided by Saqib Ali and Emma Jane Hogbin. The
	<quote>ob</quote>	is for <quote>orange and blue</quote>. Use this CSS
	file with an HTML file. Instructions are included in the CSS file.
</para>
</formalpara>
</listitem>
</orderedlist>

</section>

<section id="templates-gdfl">
<title>GNU Free Documentation License</title>

  <para>
    The GFDL (GNU Free Documentation License) is available in XML format
    at <ulink url="http://www.gnu.org/licenses/fdl.xml">http://www.gnu.org/licenses/fdl.xml</ulink>.  For a version in appendix format suitable for including
    in your document, you can see get the XML for this document
    from CVS at <ulink url="http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/LDP-Author-Guide/fdl-appendix.xml">http://cvsview.tldp.org/index.cgi/LDP/guide/docbook/LDP-Author-Guide/fdl-appendix.xml</ulink>.
  </para>
  <para>
    TLDP template files for DocBook (XML and SGML) and Linuxdoc SGML are
    available from the TLDP website at <ulink url="http://www.tldp.org/authors/index.html#resources">http://www.tldp.org/authors/index.html#resources</ulink>.
  </para>
</section>

</appendix>


<!-- Appendix: Editors, Validation and System Setup -->
<!--
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
--> 
<appendix id="tools">
    <title>System Setup: Editors, Validation and
	 Transformations</title>

    <para>In this section, we will cover some of the tools
	 that you may want to use to create your own LDP documentation.
    If you use some other tool to assist you in writing
	 documents for the LDP, please drop us a line and we'll add
	 a blurb for it here. <xref linkend="feedback"/> has contact
	 information.</para>

	 <section id="tools-distro"> <title>Tools for your operating
	 system</title>

	 <para>
		A few notes on setting up your system for DocBook
		publishing.  These tools focus more on the transformation
		of documents from DocBook to XHTML (for example).
	 </para>

	<variablelist> <title>Tools For Your Operating System</title>
	<!-- try to stay alphabetically correct... -->

	<varlistentry> <term>Debian</term>
		<listitem>
		<para>
			<ulink url="http://www.docbook.org/wiki/moin.cgi/DebianGnuLinuxPackages">
				http://www.docbook.org/wiki/moin.cgi/DebianGnuLinuxPackages
			</ulink>
		</para> 
		
		<para>
			<ulink url="http://www.surgo.net">Morgon Kanter</ulink> 
			suggests <command>apt-get install docbook-xml
			docbook-xsl xsltproc</command> as the minimum requirements.
			<ulink url="http://lists.tldp.org/index.cgi?1:mss:4851"/>
		</para>
		</listitem>
	</varlistentry>

	<varlistentry> <term>Fedora (aka the new
	RedHat)</term>
		<listitem> <para>
			Notes contributed by <ulink url="http://www.charlescurley.com">Charles
			Curley</ulink>.
		</para>

		<para>
		Tools for Docbook SGML and XML are included in the distrubution. So
		are <application>Emacs</application> and <application>PSGML
		mode</application>, although you will have to customize your
		<filename>.emacs</filename>. If you are missing a package after installing
		Fedora, get familiar with <application>yum</application> or
		<application>apt</application>.
		</para>

		<para> Installation instructions: none; use Red Hat 9
		until they are written: <ulink url="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/"/>.
		</para> </listitem>
	</varlistentry>

	<varlistentry> <term>Mandrake</term>
		<listitem> <para>
			Notes contributed by <ulink url="http://www.artemio.net">Artemio</ulink>.
		</para>

		<para>
			In Mandrake (as of my current 9.2), all the
			stuff including openjade, xmlto, docbook-utils
			etc. comes as standard.
		</para>

		<para>
			So I just needed to get the TLDP XSL sheet and
			that's all.  Didn't ever have any dependency
			or other problems, everything works fine (knock
			on wood :-)).
		</para> </listitem>
	</varlistentry>

	<varlistentry> <term>RedHat</term>
		<listitem> <para>
			According to Hal Burgiss, your system is likely
			already ready to edit and process DocBook
			documents without installing any additional
			packages.
		</para> </listitem>
	</varlistentry>

	</variablelist>

</section> <!-- end of tools-distro -->

<!--
	Tools to edit your document.  Pretty straight forward
	stuff. I'd like to update the screen shots so that they're a
	printer-friendly size. And add screen shots for VIM *hearts to
	vi* and Morphon and whoever else is missing pretty pictures.
--> <!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<section id="tools-edit">
  <title>Editing tools</title>
    <para>
	Editing tools have come a long way in their support for
	XML (and specifically DocBook). There are two types of
	editors outlined in this section: text editors (emacs,
	vim, etc); and word processors (OpenOffice, AbiWord,
	etc). New authors who are not comfortable working with
	markup languages should probably choose a word processor
	that can output DocBook files. For this reason the word
	processors are listed first. 
    </para>

    <para>
        Although many editors can also validate your DocBook
	files, this information has been separated into <xref linkend="tools-validate"/>.
    </para>

	 <note><title>More info</title><para>
	 	Check the resources section for more <xref linkend="ref-xml"/>.
	 </para></note>

<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<section id="tools-word-processors">
<title>Word Processors</title>
<para>
	Even if you are not comfortable working DocBook's tagset
	in a text editor you can still produce valid DocBook
	documents using a word processor. Support at this point
	is very limited, but it does exist in the following
	programs. The up side, of course, is that things like
	spell check are built in to the program. In addition to
	this, support for DocBook (and XML) is constantly
	improving.
</para>

<note><title>Converting Microsoft Word documents</title><para>
	Even if you want to use MS Word to write your documents, you may
	find <ulink url="http://www.docsoft.com/w2xmlv2.htm">w2XML</ulink>
	useful. Note that this is not free software--the cost is around $130USD.
	There is, however, a trial version of the software.
</para></note>

<note><title>Work on the content!</title><para>
	Remember that all formatting changes you make to your
	document will be ignored when your document is released
	by the LDP. Instead of focusing on how your document
	<emphasis>looks</emphasis>, focus on the content.
</para></note>

<section id="abiword"> <title>AbiWord</title> <para>
	Through word of mouth I've heard that AbiWord can work (natively)
	with DocBook documents. This will need to be tested by someone
	(possibly me) and should definitely be included if it is
	the case.
</para> </section>

<section id="openoffice"> <title>OpenOffice.org</title> <para>
	<ulink url="http://openoffice.org">http://openoffice.org</ulink>
</para>

<para>
	As of OpenOffice.org (OOo) 1.1RC there has been support for
	exporting files to DocBook format.
</para>

<para>
	Although OOo uses the full DocBook document type declaration,
	it does not actually export the full list of DocBook elements. It
	uses a <quote>simplified</quote> DocBook tagset which is geared
	to on-the-fly rendering. (Although it is not the official
	Simplified DocBook which is described in <xref linkend="dtd"/>.)
  The OpenOffice simplified (or <quote>special</quote> docbook) is available from
	<ulink url="http://www.chez.com/ebellot/ooo2sdbk/">
		http://www.chez.com/ebellot/ooo2sdbk/
	</ulink>.
</para>

<section id="ooo-1-0">
<title>Open Office 1.0.x</title>
<para>
	OOo has been tested by LDP volunteers with mostly positive
	results. Thanks to Charles Curley
		(<ulink url="http://www.charlescurley.com">charlescurley.com</ulink>)
	for the following notes on using OOo version 1.0.x:
</para>

<note><title>Check the version of your OpenOffice</title>
	<para>
		These notes may not apply to the version of OOo you
		are using.
	</para>
</note>

<itemizedlist> <listitem><para>
	To be able to export to DocBook, you must have a Java runtime
  environment (JRE) installed and registered with OOo--a minimum of
  version 4.2.x is recommended. The configuration instructions will
  depend on how you installed your JRE.  Visit the OOo web site for
  help with your setup.
</para>

<para>
  Contrary to the OOo documentation, the Linux OOo did not come with
  a JRE. I got one from Sun.
</para> </listitem> <!-- openoffice -->

<listitem><para>
	The exported file has lots of empty lines. My 54 line exported
	file
  had 5 lines of actual XML code.
</para></listitem>

<listitem><para>
	There was no effort at pretty printing.
</para></listitem>

<listitem><para> The header is:
    <computeroutput>
	 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
	 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"&gt;
	</computeroutput>
</para></listitem>

<listitem><para> The pull-down menu in the <menuchoice><guimenu>File</guimenu><guimenuitem>Save
As</guimenuitem></menuchoice> dialog box for
file format
  indicates that the export format is <quote>DocBook (simplified).</quote> There is
  no explanation of what that <quote>simplified</quote> indicates. Does OOo export
  a subset of DocBook? If so, which elements are ignored? Is there any
  way to enter any of them manually?
</para></listitem>

<listitem><para> There is NO documentation on the DocBook export filter
or whether
  OOo will import it again.
</para></listitem> </itemizedlist>

<para>
	Conclusions: OOo 1.1RC is worth looking at if you want a word
	processor for preparing DocBook documents.
</para>

<para>
	However, I hope they cure the lack of documentation.  For one
	thing, it would be nice to know which native OOo styles map to
	which DocBook elements. It would also be nice to know how to
	map one's own OOo styles to DocBook elements.
</para>
</section>

<section id="ooo-1-1">
<title>Open Office 1.1</title>
<para>
	<ulink url="http://www.merlinmonroe.com">Tabatha Marshall</ulink>
	offers the following additional information for OOo 1.1.
</para>

<blockquote>
	<para> The first problem was when I tried to do everything on version
	1.0.1.	That was
obviously a problem.  I have RH8, and it was installed via rpm packages,
so I ripped it out and did a full, new install of OpenOffice 1.1.
It took a while to find out 1.1 was a requirement for XML to work.
	</para>

	<para>
During the install process I believe I was offered the choice to install
the XML features.  I have a tendency to do full installs of my office
programs, so I selected everything.
	</para>

	<para>
I can't offer any advice to those trying to update their current
OO 1.1.  Their <quote>3 ways</quote> aren't documented very well at the site
(<ulink url="http://xml.openoffice.org">xml.openoffice.org</ulink>) and as of this writing, I can't even find THAT
on their site anymore.	I think more current documentation is needed
there to walk people through the process.  Most of this was unclear
and I had to pretty much experiment to get things working.
	</para>

	<para>
Well, after I installed everything I had some configuration to do.
I opened the application, and got started by opening a new file,
choosing templates, then selecting the DocBook template.  A nice menu
of <guisubmenu>Paragraph Styles</guisubmenu> popped up for me, which are the names for all those
tags, I noticed (you can see I don't use WYSIWYG often).
	</para>

	<para>
		With a blank doc before me (couldn't get to the <guisubmenu>XML Filter
		Settings</guisubmenu> menu unless some type of doc was opened), I went into
		<menuchoice><guimenu>Tools</guimenu><guimenuitem>XML
		Filter Settings</guimenuitem></menuchoice>, and edited the entry for DocBook file.
		I configured mine as follows:
	</para>

	<itemizedlist>
		<listitem>
		<para>
			<guilabel>Doctype</guilabel>  
			<userinput>-//OASIS//DTD DocBook XML V4.2//EN</userinput>
		</para>
		</listitem>

		<listitem>
		<para>
			<guilabel>DTD</guilabel>
			<userinput>http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd</userinput>
		</para>
		</listitem>

		<listitem>
		<para>
			<guilabel>XSLT for export</guilabel>
			<userinput>/usr/local/OpenOffice.org1.1.0/share/xslt/docbook/ldp-html.xsl</userinput>
		</para>
		</listitem>

		<listitem>
		<para>
			<guilabel>XSLT for import</guilabel>
			<userinput>/usr/local/OpenOffice.org1.1.0/share/xslt/docbook/docbooktosoffheadings.xsl</userinput>
			(this is the default)
		</para>
		</listitem>

		<listitem>
		<para>
			<guilabel>Template for import</guilabel>
			<userinput>/home/tabatha/OpenOffice/user/template/DocBook
			File/DocBookTemplate.stw</userinput>
		</para>
		</listitem>
	</itemizedlist>

	<para>
At first, if I opened an XML file that had even one parsing error, it
would just open the file anyway and display the markup in OO.  I have
many XML files that use &amp;copy; and other types of entities which show
up as parse errors (depending on the encoding) even though they can be
processed through.  But today I was unable to open any of those files.
I got input/output errors instead.  Still investigating that one.
	</para>

	<para>
However when you do successfully open a document (one parsing with no
errors), it puts it automatically into WYSIWYG based on the markup,
and you can then work from the paragraph styles menu like any other
such editor.
	</para>

	<para>
To validate the document, I used <menuchoice><guimenu>Tools</guimenu><guimenuitem>XML
Filter Settings</guimenuitem></menuchoice>, then
clicked the <guibutton>Test XSLTs</guibutton> button.  On my screen, I set up the XSLT
for export to be <filename>ldp-html.xsl</filename>.	If you test and there are errors,
a new window pops up with error messages at the bottom, and the lines
that need to be changed up at the top.	You can change them there and
progress through the errors until they're all gone, and keep testing
until they're gone.
	</para>

	<para>
If you want to open a file to see the source instead of the processed
results, go to <menuchoice><guimenu>Tools</guimenu><guimenuitem>XML Filter
Settings</guimenuitem><guisubmenu>Test XSLTs</guisubmenu></menuchoice>, and then
under the <menuchoice><guimenu>Import</guimenu></menuchoice> section, check the
<guilabel>Display Source</guilabel> box.  My import XSLT
is currently <filename>docbooktosoffheadings.xsl</filename> (the default) and the template
for import is <filename>DocBookTemplate.stw</filename> (also default).
	</para>

	<para>
I think this might work for some people, but unfortunately not for me.
I've never used WYSIWYG to edit markup.  <application>Emacs with
PSGML</application> can tell me
what my next tag is no matter where I am, validate by moving through
the trouble spots, and I can parse and process from command line.
	</para>

	<para>
With OpenOffice, you have to visit <ulink url="http://xml.openoffice.org/filters.html">http://xml.openoffice.org/filters.html</ulink>
to find conversion tools.
	</para> </blockquote>

</section> </section>

<section id="wordperfect"> <!-- I don't run Windows - can someone please
confirm this information is still true? --> <title>WordPerfect 9 (Corel
Office 2000)</title> <para>
	<ulink url="http://www.corel.com/">
		http://www.corel.com/</ulink>
</para>

<para>
	<!-- what about XML capabilities? Please replace if
	appropriate. --> WordPerfect 9 for the MS Windows platform has
	support for SGML and DocBook 3.0. WordPerfect 9 for Linux has
	no SGML capabilities.
</para>

<para>
	If you are using WordPerfect on the Linux operating system, please
	read: <ulink url="http://en.tldp.org/FAQ/WordPerfect-Linux-FAQ/">WordPerfect on
	Linux FAQ</ulink>
</para>

</section> <!-- wordperfect -->

<!-- xmlmind --> <section id="XMLmind">

<title>XMLmind's XML editor</title>
  <para>
    <ulink url="http://www.xmlmind.com/xmleditor/"/>
  </para>

    <para>
	Although strictly speaking, it is not a word processor,
	XMLmind's <application>XML editor</application> allows authors to concentrate
	on the content, and not the markup. It has built in
	spelling and conversion utilities which allow you to transform your
	documents without having to install and configure an additional
	processing tool such as jade. There is a free <quote>standard
	edition</quote>, which is a simplified version of their
	<quote>professional edition.</quote>
  </para>

  </section> <!-- xmlmind -->

</section> <!-- tools-word-processors -->

<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<section id="tools-text-editors">
<title>Text Editors</title>

<caution><title>For advanced writers</title><para>
	The tools outlined in this section allow you to work with
	the DocBook tags directly. If you are not comfortable
	working with markup languages you may want to use a word
	processor instead. Word processors that support DocBook
	are described in <xref linkend="tools-word-processors"/>.
</para></caution>

<para>
	If you are comfortable working with markup languages and
	text editors, you'll probably want to customize your
	current editor of choice to handle DocBook files. Below
	are some of the more common text editors that can, with
	some tweaking, handle DocBook files.
</para>

<!-- 
	<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'>
-->
<section id="psgml">
<title>Emacs (PSGML)</title>
<indexterm> <primary>psgml</primary> </indexterm>
<indexterm> <primary>Emacs</primary> </indexterm>
<indexterm> <primary>Editors</primary>
				<secondary>Emacs</secondary> </indexterm>
<indexterm> <primary>Editors</primary>
				<secondary>psgml</secondary> </indexterm>
	
<para>
<ulink url="http://www.lysator.liu.se/~lenst/about_psgml/">
	http://www.lysator.liu.se/~lenst/about_psgml/
</ulink>
</para>
  
  	<para><application>Emacs</application> has an SGML 
	writing mode called <application>psgml</application> that is a
   major mode designed for editing SGML and XML documents. It
   provides:
	</para>
		  <itemizedlist>
		  <listitem><para>
		  <quote>syntax highlighting</quote> or <quote>pretty
        printing</quote> features that make the tags stand out
		  </para></listitem>
		  <listitem><para>
		  a way to insert tags other than typing them by hand
		  </para></listitem>
		  <listitem><para>
		  and the ability to validate your document while writing
		  </para></listitem>
		 </itemizedlist>

<para>
	For users of Emacs, it's a great way to go.
   PSGML works with DocBook, LinuxDoc and other DTDs equally well.
</para>

<section id="emacs-psgml-install">
<title>Verifying PSGML is Installed</title>
<para> 
	If you have installed a recent distribution, you may
        already have PSGML installed for use with Emacs. To check,
        start Emacs and look for the PSGML documentation (<keycombo moreinfo="none"><keycap moreinfo="none">C</keycap><keycap moreinfo="none">h</keycap></keycombo><keycap moreinfo="none">i</keycap><keycap moreinfo="none">m</keycap><keycap moreinfo="none">psgml</keycap>).
</para> 

<tip><title>Dependencies</title><para>
	If you don't have PSGML installed now might be a good
	time to upgrade Emacs. The rest of these instructions
	will assume you have PSGML installed.
</para></tip>
</section>

<section id="emacs-config">
<title>Configuring Emacs for Use With PSGML</title>
<para> 
	If you want GNU Emacs to enter PSGML mode when you open
   an <filename class="extension">.xml</filename> file, it
	will need to be able to find the DocBook DTD files.
	If your distribution already had PSGML set up for use 
	with GNU Emacs, you probably won't need to do anything. 
</para>

<note><title>Tuning Emacs</title>
<para>
	For more information on how to configure Emacs, check out
	<xref linkend="ref-software-edit"/>.
</para>
</note>

<para> 
	Once you've configured your system to use PSGML you will
	need to override Emacs' default <emphasis>sgml-mode</emphasis> with the
	<emphasis>psgml-mode</emphasis>. This can be done by configuring your
	<filename>.emacs</filename> file. After you've edited the
	configuration file you will need to restart Emacs.
</para> 

</section>
      
<section id="emacs-new-file">
<title>Creating New DocBook XML Files</title>
<para>
	There are a number of steps to creating a new DocBook XML
	file in Emacs.
</para>

<itemizedlist>
	<listitem><para>
	Create a new file with an 
		<filename class="extension">xml</filename> 
	extension.
	</para></listitem>

	<listitem><para>
	On the first line of the file enter the doctype for the
	version of DocBook that you would like to use.
	If you're not sure what a doctype is all about, check <xref linkend="dtd"/>
	</para></listitem>
        
	<listitem><para> 
	Enter 
	<keycombo moreinfo="none">
		<keycap moreinfo="none">C</keycap> 
		<keycap moreinfo="none">c</keycap>
	</keycombo>
	<keycombo moreinfo="none">
		<keycap moreinfo="none">C</keycap> 
      <keycap moreinfo="none">p</keycap>
	</keycombo>.
	
	If Emacs manages to parse your DTD, you will 
	see <computeroutput>Parsing prolog...done</computeroutput> 
	in the minibuffer.
	</para></listitem>
	
	<listitem><para>
	Enter 
	<keycombo moreinfo="none">
		<keycap moreinfo="none">C</keycap> 
		<keycap moreinfo="none">c</keycap>
	</keycombo>
	<keycombo moreinfo="none">
		<keycap moreinfo="none">C</keycap> 
      <keycap moreinfo="none">e</keycap>
	</keycombo>
	<keycombo moreinfo="none"><keycap moreinfo="none">Enter</keycap></keycombo>
	
	to auto-magically insert the parent element for your
	document. (New authors are typically writing 
	<sgmltag>article</sgmltag>s.)
	</para></listitem>
	
	<listitem><para>
	If things are working correctly, you should see new tags
	for the parent element for your document right after the
	document type declaration. In other words you should now
	see two extra tags: 
		<sgmltag class="starttag">article</sgmltag> 
		and
		<sgmltag class="endtag">article</sgmltag> 
	in your document. 
	</para></listitem>
	</itemizedlist>
</section>

<section id="emacs-spell">
<title>Spell Checking in Emacs</title>

<para>
	Emacs can be configured to use <application>aspell</application>
	by adding the following to your <filename>~/.emacs</filename> file.
	Thanks to <ulink url="http://www.ertius.org">Rob Weir</ulink> for
	this configuration information.
</para>

<programlisting>
;; Use aspell
(setq-default ispell-program-name "aspell")
;;Setup some dictionary languages
(setq ispell-dictionary "british")
(setq flyspell-default-dictionary "british")
</programlisting>

</section>

</section>


<section id="tools-vim">
<title>VIM</title>
	<indexterm><primary>vim</primary></indexterm>
        <indexterm>
          <primary>Editors</primary>
          <secondary>vim</secondary>
        </indexterm>
<para>
	<ulink url="http://www.vim.org">http://www.vim.org</ulink>
</para> 
<para>
	No mention of text editors is complete 
	without talking about <application>vi</application>.  
	The <application>VIM</application> (Vi IMproved) 
	editor has the functionality of
   regular vi and includes <quote>syntax
	highlighting</quote> of tags.</para>
	
<section id="usingvim">
<title>Getting Started</title>
<para>
	There are many versions of <application>vi</application>.
	New authors will likely want one of the more
	feature-packed versions for syntax highlighting and
	a graphical interface including mouse control.
</para>
<para>
	Red Hat users will want the following packages:
		vim-common, vim-minimal and vim-enhanced.
	Debian users will want the following package: vim.
	For an X interface (including <acronym>GUI</acronym> menus and 
	mouse control) users will want
	<application>gvim</application>. The <quote>g</quote> in gvim is for
	<quote>Graphical</quote>.
</para>
<para><application>VIM</application> compiles very easy should you need to build your own.  Both <command>vim</command> and <command>gvim</command> are built by default.  Syntax highlighting is included but not enabled by default if you have to start from scratch; use the <command>:syntax enable</command> command in <application>VIM</application> to turn this feature on.
</para>
</section>

<section id="vim-new-file">
<title>Creating New DocBook XML Files</title>
<para>
	In both <application>vim</application> and
	<application>gvim</application>, <filename class="extension">.xml</filename> files will be
	recognized and enter into <quote>SGML mode</quote>.  
	A series of known DocBook tags and attributes have 
	been entered into <application>vim</application> 
	and will be highlighted one color if the name is known
	and another if it is not (for this author the colors are yellow and blue).
</para>
<para>
	Having the
	correct document type declaration at the top of your
	document should add the syntax highlighting.
	If you do not see this highlighting you will need to
	force VIM into SGML mode (even for XML files) using the
	command <command>:set ft=sgml</command>. If you are
	working with multiple files for a single XML document you
	can add your document type in &lt;-- comments --&gt; to
	the top of the file to get the correct syntax
	highlighting (you will need to restart the program to see
	the change in highlighting). The top line of this file
	(<filename>tools-text-editors.xml</filename>) looks like this:
</para>
<screen>
<![CDATA[ 
<!-- <!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'> -->
]]>
</screen>

</section> <!-- vim-new-file -->

<section id="vim-spellcheck">
	<title>Spell Check</title>
	<para>
		As in <application>Emacs</application>,
		<application>Vim</application>, will work quite happily with
		<application>aspell</application>. It can be run from within Vim
		with the following:
		<userinput>:! aspell -c %</userinput>.
	</para>

	<para>
		For more sophisticated spell check alternatives, give <ulink url="http://cream.sourceforge.net/">Cream</ulink> or <ulink url="http://www.vim.org/scripts/script_search_results.php?keywords=vimspell&amp;script_type=&amp;order_by=rating&amp;direction=descending&amp;search=search">vimspell</ulink> a try.
	</para>
</section>

<section id="vim-tagcompletion">
	<title>Tag Completion</title>

	<para>
		The following information is provided by <ulink url="http://www.digitalherm