david -AT- lupercalia.net
2005-03-04
| Revision History | ||
|---|---|---|
| Revision 4.84 | 2006-04-20 | Revised by: MG |
| Added notes about prefered submission formats, corrected links, packaged templates. | ||
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.
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.
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.
The newest version of this document can be found at the LDP homepage http://www.tldp.org. The original DocBook, HTML, and other formats can be found there.
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.
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 >D-2. Command Prompt with screen
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 tearch. This 1.1. Abointegration of the
LDP authmanh
/DT
>
Copyright 1999-2002 Mark F. Komarinski, David C. Merrill, Jorge Godoy
Permission is granted to copy, distribute and/ tomodify this document
under the terms="sectioGNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation;lues Thanks
to parryone tIf egDT
>comments as I was writing this. This 1.1.David
Lawyer, Deb Richgeoson, Daniel Barlow, Greg Ferguson, Mark Craig and other
meUsins="sectio<dispiss@en.tldp.org> list. Some s
HREF== I
got from the g"
>startofrange and HOWTO Index
and the sgmltools documentation. The s
HREF== on network"#forse-filCVS was
partially gmltag"
>scSergiusz Pawlowicz
(<serUOTE"
>"Guides". 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.
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 http://www.tldp.org/.
This Guide focuses primarily on how to write your own HOWTOs for
submission to the LDP.
Send feedback to <discuss@en.tldp.org>. Please reference the title
of this document in your email. Please note: you must ldp.org"
>discusASS="emwarning"
WIDTH="100%"
BORDER="0"
> WIDTH="100%"
BORDER="0"
> p.org/.
/DIV
> This is a hint. This is a note.
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.
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.
If you have not yet written your documentation, please review our
documents (current,
unmaintained
and in progress) 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 Chapter 3.
For more information about the mailing lists, please read Section 2.2 or visit lists.tldp.org 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).
Write your document. If your document has not yet been written, please
be sure to email the discuss list before you start writing.
You may choose whatever format you feel most comfortable
in to write your document. 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
Chapter 4.
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
Section 2.2.
If you would like to start with a template, you may find the templates in
Appendix A useful. There is also a general
introduction to markup in Chapter 5 and a section
full of examples at Appendix D.
Submit your document for technical, language and metadata reviews. Do this by
emailing your document to <submit@en.tldp.org>. 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 Chapter 6.
If your document is not already in DocBook or LinuxDoc format, a
reviewer will convert it for you.
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 Section 6.5.
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.
You can subscribe to the following mailing lists: First is <discuss@en.tldp.org>, which is the main
discussion group of the LDP. Another is the <docbook@en.tldp.org> 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. You can subscribe to either list by sending a request
message to either <discuss-subscribe@en.tldp.org> or
<docbook-subscribe@en.tldp.org>. The subject of your message should read
"subscribe" (no quotes). To
remove yourself from the list, send an E-mail with the subject of
"unsubscribe" to
<discuss-unsubscribe@en.tldp.org> or
<docbook-unsubscribe@en.tldp.org>.
If you are interested in DocBook beyond the simple markup of your
LDP document, you may want to consider joining one of the OASIS DocBook mailing
lists. Please see http://docbook.org/mailinglist/index.html
for more information.
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.
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.
Now that you've got a subject, you will need to decide the
scope of the document. The scope or subject area
should be:
Clearly defined.
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.
Not too broad, and not too narrow.
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 well.
Similarly, your HOWTO should cover one subject and cover it
well.
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.
Undocumented.
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.
If the HOWTO already in place is insufficient or needs updating,
contact the author and offer to help. See also Section 3.3 for taking over old or unmaintained documents.
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. Pre-approved by the LDP.
Before you proceed with your HOWTO, post to the discuss list
and get some feedback from other LDP volunteers. Checking with the
list before you begin can save you headaches
later.
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.
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 Linux Documentation
Project (LDP) FAQ. Here is a brief overview of what they are
with pointers on how you can get started writing your own:
Guides. A guide covers a broad subject and is quite long. The Author
Guide (this document) is a guide. Other guides include:
Introduction to Linux: A hands on
guide,
The Linux Kernel
Module Programming Guide, etc. A full list of guides is
available from: Linux Project
Documentation Guides. Guides use the "book"
templates located in Appendix A.
HOWTOs. A HOWTO is typically a set of instructions that outlines,
step-by-step, how a specific task is accomplished. Examples of
HOWTOs are:
CDROM-HOWTO
Module-HOWTO.
A full list of HOWTOs is available from: Single List of
HOWTOs (warning: it's a BIG page). HOWTOs typically use the
"article" template and are output to multiple HTML
pages by default.
Templates are available in Appendix A.
man pages. man (Manual) pages are the standard form of help available for many
linux applications and utilities. They can be viewed by typing
man applicationname at a prompt. A full list of man
pages is available from:
Linux Man Pages.
Since man pages are bundled with software there is no LDP template
at this time. FAQs. 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: Linux Documentation Project
FAQs. FAQs typically use the "article"
template with some specific DocBook elements to form the
Question/Answer structure.
You can find a template for writing a FAQ in Appendix A.
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.
If you wish to become the "owner" for an unmaintained document there are
several steps you must go through.
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 search for the
author. If the original author of a document cannot be found after a "good-faith" effort,
let us know (<discuss@en.tldp.org>--subscription
required).
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.
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
(<discuss@en.tldp.org>). This step is also required for new
documents.
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.
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.
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.
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.
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 configuration
before one on installation. You may choose to use the following outline for a HOWTO about
using a specific program: development history where to download the software from how to install the software how to configure the software how to use the software You may find it helpful to try a little "card
sorting" 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.
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.
For help writing your HOWTO outline, and getting a head start on
the markup of your document, check out The LDP HOWTO
Generator. Note that this is for generating HOWTOs. Templates for FAQs and Guides are available in Appendix A.
You might have noticed a theme developing here.
Just like Free software, Free documentation is best when you
"release early, release often." The discuss list includes
many experienced LDP authors, and you would be wise to seek their
advice when making decisions about your contribution.
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:
Compile your resources as you research. 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. Assume your most important resource will disappear. The dreaded "Error 404: Page not found". 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 "print" 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). Start your "Resources" page now. 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.
There is more information about the DocBook markup of
bibliographies in Section D.7.
Write down subject areas as you go. 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. Separate generic information from version-specific
information. 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:
"Version X of the software is known for a specific bug.
The bug was fixed as of Version Y."
Save all related emails. 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.
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.
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.
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 . Also listed in the
resources section are a variety of sites that have
information specific to technical writing.
The Author Guide wouldn't be complete without
mentioning the Plain Language movement. Although
directed at simplifying government documents, Writing user-friendly
documents is quite useful. It includes before and after
writing samples. There's also a
PlainTrain
writing tutorial.
And any document that discusses writing for the web wouldn't be complete without
a nod toward useit.com.
The following articles may be of specific interest:
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 Chicago Manual
of Style. It defines things like: whether a period (.) should be inside or
outside of "quotes"; 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?).
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 Reviewer's HOWTO currently lists a number of
conventions for LDP documents and it is as close as it
gets to an official LDP Style Guide.
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.
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.
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 "I" to
describe your personal experiences and opinions.
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.
One of the goals of editing is to remove [extraneous] 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.
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.
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 erroro:discuss@en.tle read onso /DIV
> >- tha or soutdated, or the co whinriting. Ng samvis better to h
>
J/DIV
>
cvs commit -m "A description of the work done on this version of the document."
You must still email <submit@en.tldp.org>
when you are ready to have your changes
appear on the live site. Your email should include the relative
path to the file(s) in the LDP CVS tree that you wish to
update.
You can add new files to your CVS repository. These may be image
files or additional XML files. First check that your HOWTO is in
its own directory. You may want to coordinate with the
people at <submit@en.tldp.org> to ensure you can
add graphics or other files to your HOWTO.
Copy the files you want to add into your local CVS repository
(where all of your downlots
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.
The aspell command comes with the aspell package, included on most Linux distributions. Use the command as follows: aspell -c file An interactive user interface allows for fast and easy correction of errors. Use the --help to read more about aspell features.
Similar to aspell, but tries to spell
check your markup tags. If you have a choice, use
aspell, if not,
ispell is a very acceptable substitute.
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
"controlled vocabulary" to describe documents. For
example: in XHTML a paragraph would be marked up with the tagset
<p></p> while in DocBook a paragraph would be marked up
with <para></para>. The tagsets are defined in a quasi
dictionary known as a Document Type Definition (DTD).
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 "grammar" 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.
There are three components to an XML/SGML document which is read by a
person. Content.
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!
Markup.
To describe the structure of a document a controllee2 wors!
: W be comisords shy FAQ="apition"
> ors!
ow a dots
the r again.
ldoing this b; Whe. anythingfeelr to
Convinced, but still not comfortable with the thought of
working with DocBook? Give David Lawyer's Howtos-with-LinuxDoc-mini-HOWTO
a try.
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.
The LDP prefers the XML flavor of DocBook. There are a number of
reasons for this including the following:
Libraries for handling XML files are developing at a
rapid pace. These utilities may make it easier for new
authoring tools to become available.
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.
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.
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 Section 5.4
The LDP stores its documents in the following markup languages:
DocBook XML version 4.2 (preferred), 4.1.2
DocBook SGML version 4.2, 4.1, or 3.x
LinuxDoc SGML
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.
Before you distribute your documentation, there are a few more
things that you will need to check and possibly add to your document.
You can read more about helper applications in Section 4.3.3. You should also check your document for
its overall flow and clarity.
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 Section D.6
Give credit where credit is due. For more information about when to
give credit, read Section 6.3.
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 Section 6.2.1.
You may also want to add a Disclaimer, but this is optional. More
about this in Section 6.2.2.
If you are submitting a DocBook or LinuxDoc document, make sure the
markup is valid. Read why in Section B.3.1.
You may want to have others review your document before
submitting it to the LDP. Ask people for a Peer
Review and/or a Technical
Accuracy Review. 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 not required.
In order for a document to be accepted by the LDP,
it must be licensed and conform to the "LICENSE
REQUIREMENTS" section of the LDP Manifesto located at Technmanifesomou are writing about. SS="sectionp"
>Technmanifesomou artional. Md Grammar WLASSccedath n D.6
A new document may be submitted to the LDP in any formatwn asebianE"
>"I" It helps to make a f top://ww/iste"
> UIREMEscre frout tto the rmalpara"
formation
and insner-f top://ww/isp"
>"I" is quitection 6.ilesors!
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!
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. For more information on how to add these credits using DocBook
please read Section D.6
W3 be acceptede slips Youhat
you acknoether a malpara"
>y create slips You.
"Lthe
initter"
> infor add slips You.>You'rGPLur most importaoc-licensing"
>6.2. Licensing and Copyright In Copyright>
3 bis due. For more it mY off for you now.te thanformation
and insis due. For morp://ww/isps meme as> < macg fro St
> h plai
A new document may be submitted to the LDP in any formatook
please read Markup.
To describe the structure of a aop"
nce T
>>
4.LASS="y
tSPACE=ssre are a few mor
things
>SpellingARotice. You or LinuxDoct fi>
ig this.>You'go
examprSince sapplicatiince sers in the ew.html"
TARGET="_top"
>Technical
Accuracy Review (as follows:he LD
>DocBook
> ime.r
A
ovecon thi/w tor then e till respcit of your HOSince sapIdeth the y alexit is adgments tranIo beuxDoARGET="_top"
>Howtocvs>DocBook
>"
>4.1. WriVS-HOWTOusing="QUOTr SpellingAT="_pailPAN
then e till respcit of your HOSince s, r a le wP
>Obtain Peeument.
&5tional.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 . Also listed in the
resoClis any pTwoDS slipsFake
A new document may be submitted to the LDP in any format rracy Reable.
sugthi writin
>les Foe he LDguIf's Hya thatorg/HOWTO/Ho add slipss candit melyecGnrags
>SpellingARotn D.6
A new document may be submitted to the LDP in any format. Docu theD
>you findt this
sease read creaf"QUOred.
< SpellingAT="_SSce. TAN
thea till respcit of your HOSince N
CLASS
< h as spelling re
essentiof your downlots is quite usefu As a sysin/I"
fSince N>add Howtos-with-LicvsmLASS="ser most importaoc-licensing"
>7.ginal en distribute"
>6.1. Before Distributing Your Documentats!
3.al subjec-r formaLASS="se7e1.hcual subjectdocumentationre are a fJSE
Rated ile"
>SpellingAT="_thisP
>
> Eme,DocBookta-ef on B.wish to set &is a>"Lthe
up a begin (Havce. T style H
ALIGIgthi writ.
> ldn't be he LDt up a beLsedu/u write a iks oANac
>ldd to r
HREF3.LDPe Definiand Othn lirted.Igthi writ--VALIGN="/ Eme applor exSince docureleadd t/A
>3.mor>
A new document may be submitted to the LDP in any format. Docu> to boohheethe live up a tens ytpec intsponail.s1 . clarity.
feelrf13; for tcr theec intsp onail.s1 you are t 6."quot /DIV
tlife Eme
CLAromf13; p>Cha Markup.
To describe the structure of a fixect5"
ALILASS="se7e2. Fixect E"
ALIdistribute"
>6.1. Before nt and of the Linux operatinfix-ownLASS="se7e2.1. Fixect documOwnFT"
VALIGN="t
you acknowf the sub"
ALto r
HREFThese rules oe inforfix. Toth oe-he file a license andction 6.2.-P
> (as follows:he LD
>DocBook
> R>
A new document may be submitted to the LDP in any formatook
please read Howtotionp"
>Technesortin/unmany not all mailing lists Unmany more (malpara"
a#acceptedDtepi/uaraanverteaanveeb seormation
and insABLE
>hip~geoff/ispellunmany more tmntationr o/tehe acceptedunmany more tmntationr)DIV
> MarkbiP Defnot a
Enh ocumenB
>
"
fFuarts of Web Da"ign:GE/Itt/I
>umber ursts WThAre Now
Markbi Howtotionw3Technp laUpnot,
m (where all Markbi. DocGof unmaUp
CLSp> MarkbiDrs!
: Th A a
G wr--Itt,hhat this is the tionmntn
Technll mailing lists is the tionmntn
Techno att,hormation
AUTHOD
ALN rean Walshdoes notecormation
AUTHOD
ALLe="fid MuT nng://ww/is, 1999, 1-56592-580-7, O'Rei&is & Associle /,GInc.t Check MarkbiSes tuditinDrs!
: Th A a
G wr--Itt,hhat this is the tionmntn
Techntdg/ges t /en/ot a/smntn
Tot all mailing lists is the tionmntn
Techntdg/ges t /en/ot a/smntn
Tot ao att,hormation
AUTHOD
ALN rean Walshdoes notecormation
AUTHOD
ALLe="fid MuT nng://ww/is, 1999t Check MarkbiSes tuditinDrs!
--Itt,hhat this is the tionoasis- theTechnmntn
/xml/ges t /ll mailing lists is the tionoasis- theTechnmntn
/xml/ges t / (where all MarkbiocBoM eers: Gof unmast sy"5"
ALT="
VA>
DocBdial co MarkbiFAQ's poors!
MarkbiSengle-S slipsP> Markbi. Doc between IV
> Howtos-with-Liical
> MarkbiExplMany pot,
>
LAItt,hhat this is the lwn.ntt/2000/fP
>> Howtolwn.ntt/2000/fP
>> Markbisection"
ot,
Us
TARGG wr--Itt,hhat this is the tionnmt.edu/tcc/mnt/ wrs try.
Markbi5-Mectte"y
t: Usect LyX's poCdoes
nDrs!
--Itt,hhat this is the tiontS idyn pieccume/X,
/lyx2db/t1a try.
MarkbiDted. Howtotionkarakas- nr th.de/myot,
m (where all Markbi to stentation, theoPn a co her a Gilabltthe pliis the tionnyx.ntt/~sgjoio/pli_sur_her a_Gilabltths try (where all MarkbiPurdu 'slOnr thessible NLab--Itt,hhat this is the owl.eginatiipurdu .edu/ay help. Markbi. Docchicago outun ist mtyla Markbi. DocPlini Markbissible NUs
T-FriendiltT"
VALIGN="Itt,hhat this is the tionblm.gov/nhp/NPR/pe li a try.
Markbissible Non whichWeb--Itt,hhat this is the tionS="it piec aec ice. wsible may help. MarkbiIup"
>SectioPollud MarkbiBenSucclect! (ssible Non whichWeb)="Itt,hhat this is the S="it piecalertbox/9703ba try.
MarkbiPbon icylnB
>
"
iaginatioocuments--Itt,hhat this is the tionk-1 piecOr
/will
ncgi/atel/notaysA>Contenta try.
MarkbiEle, or frommtylae pli MarkbiA Sent.
Hvarumenmegramtyla
Sheeo Markbiwill resp ssible NL tks--Itt,hhat this is the tiontSch lisnut piectipsou a.
Markbi. Docwill resp ssible NTotALial--Itt,hhat this is the psdam.mit.edu/rise/totALials/wsible mtill resp-wsible u try.
Markbi. Docmtrategihi/uarsucceo writeill resp wsible --Itt,hhat this is the tionst inl-
yo-cersowrit.piectillwsible ou a.
Markbi. DocUs
T
G wrslOnr theTotALial--Itt,hhat this is the tionk
> Markbi. DocDMOZ will resp ssible NL tks--Itt,hhat this is the dmozyechnArts/ssibng _y s slipsnNon-Fow us /will resp_ssible may help. Markbi. Doctillws-r--Itt,hhat this is the tionraycced.piectillwhirl/magaz thmay help. Markbiwill resp ssible NL tks--Itt,hhat this is the acore ic.middlesl
ncc.manS=/PebngHarb s n/r tksu try.
MarkbiSS="hich -INDEXLAItt,hhat this is the p"
>Technical
hich -INDEXmay help. Howtodocn"s.byu.edu/e Definirteicvsmo att,hormation
AUTHOD
ALByrheoC
> MarkbiiVS-HItt,hhat this is the p>Chae. n"s.bers.ac.uk/mntation, the/totALials/mnt.gif"
/ruild/totALials/cvstote/cvstotenot all mailing lists is the p>Chae. n"s.bers.ac.uk/mntation, the/totALials/mnt.gif"
/ruild/totALials/cvstote/cvstotenot ao att,hormation
AUTHOD
ALAshley J.S. M"sosdoes notecormation
AUTHOD
ALAlaeoP. Sext.<://ww/ist Check MarkbiiVS--Connt that VrksABLsoSgif"
--Itt,hhat this is the tionlMana.fr/~molliicvsmmnt/cvs li a try.
MarkbiLearbjectAtion iVS --Itt,hhat this is the cvshomeTechnmntsmay help. HowtocvshomeTechnmntsm (where all MarkbiEmacN: Th MarkbiEmacN/Pot,
Qui t Rech defi--Itt,hhat this is the tionsnee.piecbob/ MarkbiNT EmacN IV
> MarkbiCygwieoP
>"I" Markbiot,
fn sWwils, pNT:GE/Itt/I
>umber Sof unmais imf13; oc S/X,
opyrigh>varia> MarkbiVi
--Itt,hhat this is the tionnewrinng .piecbooks/opl/ebooks/0735710015s try.
yHREF="#mett initta
><egaon iTD
Gfe on tigh>v
in a co's acg D nvironract--ransla sys
> MarkbiOPr--Itt,hhat this is the tionethe< the angstyethea> &is clofo wJuthe30ec2003.
numberstribute"
>Chapter 6. DistrbiCdoes
a
pommatsdiItt,hhat this is the cdoes
acommatsngsty>< Howtocdoes
acommatsngsty>< MarkbiGNU/e topentation, theoL<is the tiongnuth-Licoc-left/fdla try (where all MarkbiGNU/Gilable P><<is the tiongnuth-Li><< Tools For Your Operating System
http://www.docbook.org/wiki/moin.cgi/DebianGnuLinuxPackages
Morgon Kanter
suggests apt-get install docbook-xml
docbook-xsl xsltproc as the minimum requirements.
http://lists.tldp.org/index.cgi?1:mss:4851
Notes contributed by Charles
Curley.
Tools for Docbook SGML and XML are included in the distrubution. So
are Emacs and PSGML
mode, although you will have to customize your
.emacs. If you are missing a package after installing
Fedora, get familiar with yum or
apt.
Installation instructions: none; use Red Hat 9
until they are written: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/.
Notes contributed by Artemio.
In Mandrake (as of my current 9.2), all the
stuff including openjade, xmlto, docbook-utils
etc. comes as standard.
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 :-)).
According to Hal Burgiss, your system is likely
already ready to edit and process DocBook
documents without installing any additional
packages.
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.
Although many editors can also validate your DocBook
files, this information has been separated into Section B.3.
Check the resources section for more .
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.
Even if you want to use MS Word to write your documents, you may
find w2XML
useful. Note that this is not free software--the cost is around $130USD.
There is, however, a trial version of the software.
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
looks, focus on the content.
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.
As of OpenOffice.org (OOo) 1.1RC there has been support for
exporting files to DocBook format.
Although OOo uses the full DocBook document type declaration,
it does not actually export the full list of DocBook elements. It
uses a "simplified" DocBook tagset which is geared
to on-the-fly rendering. (Although it is not the official
Simplified DocBook which is described in Section B.5.)
The OpenOffice simplified (or "special" docbook) is available from
http://xml.openoffice.org/xmerge/docbook/supported_tag_table.html.
OOo has been tested by LDP volunteers with mostly positive
results. Thanks to Charles Curley
(charlescurley.com)
for the following notes on using OOo version 1.0.x:
These notes may not apply to the version of OOo you
are using.
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.
Contrary to the OOo documentation, the Linux OOo did not come with
a JRE. I got one from Sun.
The exported file has lots of empty lines. My 54 line exported
file
had 5 lines of actual XML code.
There was no effort at pretty printing.
The header is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
The pull-down menu in the -> dialog box for
file format
indicates that the export format is "DocBook (simplified)." There is
no explanation of what that "simplified" indicates. Does OOo export
a subset of DocBook? If so, which elements are ignored? Is there any
way to enter any of them manually?
There is NO documentation on the DocBook export filter
or whether
OOo will import it again.
There was no effort at pretty printing.
The header is:
Morgon Kanter
uimenu"
>Filsp; There is NO documentation on the DocBook export filter
or whether
OOo will import it again.
There was no effort at pretty printing.
The header is:
The pullll-Book, ye <3
ges.
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
We I iI had to PAN
CLASS=rs wttp://lisDT
ALT=mmsyl="3 w
>A a
> There is NO documentation on the DocBook export filter
or whether
OOo will import it again.
There was no effort at pretty printing.
The header is:
Morgon Kanter
TER"
Vte"
WI>&nbed thpplybset of DIV
CLASB
> I iyD
13; As P">
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 © 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.
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.
To validate the document, I used ->, then
clicked the button. On my screen, I set up the XSLT
for export to be ldp-html.xsl. 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.
If you want to open a file to see the source instead of the processed
results, go to
I think this might work for some people, but unfortunately not for me.
I've never used WYSIWYG to edit markup. Emacs with
PSGML 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.
With OpenOffice, you have to visit http://xml.openoffice.org/filters.html
to find conversion tools.
WordPerfect 9 for the MS Windows platform has
support for SGML and DocBook 3.0. WordPerfect 9 for Linux has
no SGML capabilities.
If you are using WordPerfect on the Linux operating system, please
read: WordPerfect on
Linux FAQ
http://www.xmlmind.com/xmleditor/
Although strictly speaking, it is not a word processor,
XMLmind's XML editor 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 "standard
edition", which is a simplified version of their
"professional edition."
1.5. Acknowledgments and Thanks
1.5.1. Version 1 - Version 3
--LDP Manifesto located at http://www.tldp.org/manifesto.html 1.3. Feedback
ldp.org"
>discusASS="emcaution"
WIDTH="100%"
BORDER="0"
> ldp.org"
>discusASS="emtip"
WIDTH="100%"
BORDER="0"
> ldp.org"
>discusASS="em . file. the sion directory command application Prompt of users command under bash shell Prompt of r1
> users command under bash shell Prompt of user command under tcsh shell <parae
mBeho ning and end of paragraph</parae
m Hint 
Notes 
File Names file.extension Directory Names directory Commands to be typed command Applications Names application Prompt of users command under bash shell bash$ Prompt of root users command under bash shell bash# Prompt of user command under tcsh shell tcsh$ Environment Variables VARIABLE Emphasized word word Quoted text "quote" Code Example <para>Beginning and end of paragraph</para>
Chapter 2. Authoring TLDP Documents: An Introduction
2.1. Summary of The LDP Process

If you don't submit your document in DocBook format 2.2. Mailing Lists
Chapter 3. Writing Your Proposal
3.1. Choosing a Subject
3.2. Scope of Your Document

Stay in touch! 3.2.1. Documentation Templates

mini-HOWTOs and HOWTOs 3.3. Unmaintained and Out-of-date Documents

Feedback wanted 3.4. Developing an Outline

Writing a HOWTO made easy 
You're not alone 3.5. Research
Chapter 4. Write
4.1. Writing the Text
4.1.1. Writing Style and Style Guides

A personal glossary 4.2. Edit and Proofread the Text

Ready for publication warning Chapter 5. Markup
5.1. Markup: A General Overview
Appeno ined"
>Sewors!
:
paure local
"derrors and typos. You should also checkX tml#,arkup"
>Chaptertule Pro to aH1
>
5.3. XML and SGML: Why we use XML
5.4. Markup Languages Accepted by TLDP

New Documents Chapter 6. Distributing Your Documentation
6.1. Before Distributing Your Documentation
6.2. Licensing and Copyright
com documen(GFDLbout y,e (e.g. Amer
>

New DocumentWamilia<> 
Acknowledgments translated in DocBook creen youTDD
>you finddgmensREF="htttation"
>y defines
tingoes onso /Dho eIGNo- is requiree word rt youras follows:
ectionl AACLASSg markup
ection"D
>yf time
D
> .tarted.gif"
!d Grammarof
wWLASSccedath
long termmract andch translatrtant. I.cuss li
> info write tdnts
osal secGnrap:/wLASSccedath

New Documents 
New Documents
<"LQUOTjss oa#
> AddOpart thaty wish to set L
>
New Documents Cha
d on a (hope13; ) Proofread d DocBook p>Cha<
CLy rrinng.edit wherI
>Technma"secfmou ar#ma"so setay help.

New Documents Technical
>
a try.
easieBLE
CLA
"I"is the sl tas .piepus a/e.piechomepI"B.2. Editing tools

More info B.2.1. Word Processors

Converting Microsoft Word documents 
Work on the content! B.2.1.1. AbiWord
B.2.1.2. OpenOffice.org
B.2.1.2.1. Open Office 1.0.x

Check the version of your OpenOffice &no then sall formatting changessoftal"w2ors--uld dS="note rint"s i="QUOTf13; softwyoe--g termsys
>
&kcvICLy at the expuirementsign/DT13;rsel
> <>
Cha alCharles Ct ley
(="section"
>B.2.1.2. OpenOf"openoffice"
>
tesarles J> B.2.1.3. WordPerfect 9 (Corel
Office 2000)
B.2.1.4. XMLmind's XML editor