Writing DocBook articles This article describes how you can use DocBook to develop PDF documents and will cover tools you need to edit DocBook articles and tools to translate them to PDF documents. Egon Willighagen
Introduction DocBook is an SGML application developed to markup documents, just like HTML marks up webdocuments. This test article contains the examples from the LinuxFocus article "Making PDF documents with DocBook".
Example Make sure to notice that this document makes recursive use of the section element.
Adding examples Perl program that converts an XML document into a HTML page. #!/usr/bin/perl -w use diagnostics; use strict; use XML::XSLT; my $XSLTparser = XML::XSLT->new(); $XSLTparser->open_project ("file.xml", "stylesheet.xsl", "FILE", "FILE"); $XSLTparser->process_project; $XSLTparser->print_result();
Adding lists an item another item and again an item
Conclusion DocBook is a powerfull tool to develop books and articles. The PDF export function, moreover, works very well.