[lang_en]One of the tasks presents on almost every job and position is to prepare documentation. There are different tools to create good documents, but if you are developer, and you need to create professional documents, then you may fall into two options: LaTeX and DocBook.
I’ll explain to you how to prepare good PDF from DocBook documents in 3 easy steps:
1) Create the structure of your document
[sourcecode language='xml']
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
[/sourcecode]
2) Convert your Docbook XML into a FO object (using the xmlto tool)
xmlto fo document.xml
3) Finally, convert the FO object into a PDF document with Apache FOP
fop -fo document.fo -pdf document.pdf
The final result is here:
[/lang_en]
Tags: docbook, documentation