From Fedora Project Wiki
m (Robot: Changing Category:DocsProject)
(updating, adding some links (thx ke4qqq))
Line 1: Line 1:
= DocBook =
= DocBook =


The standard markup language used by the DocsProject.  Refer to the Doc<code></code>Book home page for everything Doc<code></code>Book:
The standard markup language used by the DocsProject.  Refer to the DocBook home page for everything DocBook:


* http://www.docbook.org
* http://www.docbook.org


{{Anchor|tutorial}}
== Getting started ==
== Example Tutorial ==


The DocsProject maintains an [http://cvs.fedoraproject.org/viewcvs/example-tutorial/en_US/example-tutorial2.xml?root=docs&view=markup example tutorial]  that shows beginners how to get started using Doc<code></code>Book, using a simple "show and tell" format.  After you click the above link to [http://cvs.fedoraproject.org/viewcvs/example-tutorial/en_US/example-tutorial2.xml?root=docs&view=markup the tutorial] , choose "(As text)" at the top, and save the resulting page.  Then open the page in your favorite editor.  Most editors, such as <code>vi</code>, <code>Emacs</code>, and <code>gEdit</code>, will use "syntax highlighting" to make the document very easy to read.
=== Good reading ===


{{Anchor|tdg}}
* [http://opensource.bureau-cornavin.com/crash-course/en/index.html Quick crash course]
== Complete Reference ==
* [http://cyberelk.net/tim/docbook/selfdocbookx/ Self-referential tutorial]
* [http://tldp.org/HOWTO/DocBook-Demystification-HOWTO/index.html Dated but useful for understanding]


"Doc<code></code>Book: The Definitive Guide" (often called "The Doc<code></code>Book Book" or "TDG"), available at the site, has a complete reference of all tags used in Doc<code></code>Book.  The Docs<code></code>Project currently uses version 4.4 of the Doc<code></code>Book DTD.  The reference in TDG shows you which tags belong to newer versions of the Doc<code></code>Book DTD, so you don't violate the specification when you are writing your documents.  You can download or read the book here:
=== Publican toolchain ===
 
Fedora Docs uses a toolchain that wraps around DocBook building tools.
 
* [http://jfearn.fedorapeople.org/Publican/ Publican Users Guide]
* [https://fedorahosted.org/publican Project pages]
 
To install publican from the command line:
 
<pre>
su -c 'yum install publican'
</pre>
 
Once installed, you can use the <code>create_book</code> command to generate a new, empty book that you can begin writing in immediately.  It serves as a self-referential toolchain tutorial.
 
=== Example tutorial ===
 
In addition to the [http://cyberelk.net/tim/docbook/selfdocbookx/ Self DocBook] sef-referential tutorial, the [[DocsProject]] maintains an [http://cvs.fedoraproject.org/viewcvs/example-tutorial/en_US/example-tutorial2.xml?root=docs&view=markup example tutorial]  that shows beginners how to get started using DocBook, using a simple "show and tell" format.  After you click the above link to [http://cvs.fedoraproject.org/viewcvs/example-tutorial/en_US/example-tutorial2.xml?root=docs&view=markup the tutorial] , choose "(As text)" at the top, and save the resulting page.  Then open the page in your favorite editor.  Most editors, such as <code>vi</code>, <code>Emacs</code>, and <code>gEdit</code>, use "syntax highlighting" to make the document very easy to read.
 
=== Complete Reference ===
 
"DocBook: The Definitive Guide" (often called "The DocBook Book" or "TDG"), available at the site, has a complete reference of all tags used in DocBook.  The DocsProject currently uses version 4.4 of the DocBook DTD.  The reference in TDG shows you which tags belong to newer versions of the DocBook DTD, so you don't violate the specification when you are writing your documents.  You can download or read the book here:


* http://www.docbook.org/tdg/en/html/docbook.html
* http://www.docbook.org/tdg/en/html/docbook.html


{{Anchor|tools}}
{{Anchor|tools}}
== Creating DocBook Using Common Tools ==
== Creating DocBook using common tools ==


The [http://docs.fedoraproject.org/documentation-guide/ Documentation Guide]  explains how to configure <code>vi</code> and <code>Emacs</code> for Doc<code></code>Book support.
The [http://docs.fedoraproject.org/documentation-guide/ Documentation Guide]  explains how to configure <code>vi</code> and <code>Emacs</code> for DocBook support.


Open<code></code>Office.org has some limited capabilities for producing DocBook XML from documents that adhere to strict use of built-in styles.  See ["DocsProject/OOoDocBook"]  for information on using [http://www.openoffice.org OpenOffice.org]  Writer for working with Doc<code></code>Book.
OpenOffice.org has some limited capabilities for producing DocBook XML from documents that adhere to strict use of built-in styles.  See ["DocsProject/OOoDocBook"]  for information on using [http://www.openoffice.org OpenOffice.org]  Writer for working with DocBook.


Users can export pages from this wiki to Doc<code></code>Book.  To ease the conversion process, refer to the guidelines found at [[Docs/WritingUsingTheWiki]] .
Users can export pages from this wiki to DocBook.  To ease the conversion process, refer to the guidelines found at [[Docs/WritingUsingTheWiki]] .


----
----


[[Category:Docs Project]]
[[Category:Docs Project]]

Revision as of 14:59, 24 September 2008

DocBook

The standard markup language used by the DocsProject. Refer to the DocBook home page for everything DocBook:

Getting started

Good reading

Publican toolchain

Fedora Docs uses a toolchain that wraps around DocBook building tools.

To install publican from the command line:

su -c 'yum install publican'

Once installed, you can use the create_book command to generate a new, empty book that you can begin writing in immediately. It serves as a self-referential toolchain tutorial.

Example tutorial

In addition to the Self DocBook sef-referential tutorial, the DocsProject maintains an example tutorial that shows beginners how to get started using DocBook, using a simple "show and tell" format. After you click the above link to the tutorial , choose "(As text)" at the top, and save the resulting page. Then open the page in your favorite editor. Most editors, such as vi, Emacs, and gEdit, use "syntax highlighting" to make the document very easy to read.

Complete Reference

"DocBook: The Definitive Guide" (often called "The DocBook Book" or "TDG"), available at the site, has a complete reference of all tags used in DocBook. The DocsProject currently uses version 4.4 of the DocBook DTD. The reference in TDG shows you which tags belong to newer versions of the DocBook DTD, so you don't violate the specification when you are writing your documents. You can download or read the book here:

Creating DocBook using common tools

The Documentation Guide explains how to configure vi and Emacs for DocBook support.

OpenOffice.org has some limited capabilities for producing DocBook XML from documents that adhere to strict use of built-in styles. See ["DocsProject/OOoDocBook"] for information on using OpenOffice.org Writer for working with DocBook.

Users can export pages from this wiki to DocBook. To ease the conversion process, refer to the guidelines found at Docs/WritingUsingTheWiki .