Docbook is easy to learn, easy to write, and does things other text Then you process file with Apache FOP, a Java application that. You should also take a look at the information about SVG support in FOP at the apache website: Bob Stayton. Apache™ FOP: General questions¶. What is Apache™ FOP?¶; .. Older DocBook style sheets generate fo:table-with-caption elements, so watch out.

Author: Nemi Samutilar
Country: Mali
Language: English (Spanish)
Genre: Education
Published (Last): 2 January 2014
Pages: 256
PDF File Size: 5.36 Mb
ePub File Size: 1.62 Mb
ISBN: 514-1-50061-344-3
Downloads: 91113
Price: Free* [*Free Regsitration Required]
Uploader: Douhn

A row consists of a number of entry elements which are entered in the sequence they should appear in each table row, for more information about the row element see http: The processing tools must know where this catalog file is in order to use the functionality it provides.

If you are using Antenna House’s product, then set the axf. One may also make the enumeration continue at lower nested levels by ro the continuation attribute to continues:.

In Antenna House, the extension element is axf: The first will be used here to validate XML files and the latter two will be used to process XML files to produce other types of output. For more information about the tgroup element see http: Itemized lists are standard bulleted lists and should be used where order of evaluation of the items of the list is not significant, ordered lists should be used where order of evaluation fot he items of the list are significant.

In order to execute this conversion you will need to have generated XSL FO output by using xsltproc or some other tool capable of doing so.

Where frametype is replaced with one of allbottomnonesidestop or topbot:. The advantage of unzipping the zip in the same location as the standard stylesheets is that the import links may be relative the import links can apachhe be relative assuming the stylesheets are on the same machine, but for clarity if I am using a different directory for the customisation stylesheets I will make the import references absolute.


The example above was taken from a Windows docbooj, modify the value of the uri attribute to point to the location of the DTD on your system.

Getting Upto Speed With DocBook

Instead of modifying that catalog file, create a new one called catalog in the docbook-xml Within this tutorial the primary purpose for installing the doccbook C library will be to gain access the tools that come with it. Linux users can also download a gzipped tar file.

The layout will accord to the XSL stylesheet specified. The morerow attribute specifies how many more rows the entry it is applied to should span:. Since the Apache FOP a;ache probably complain about hyphenation, grab the hyphenation patterns and copy the jar file fop-hyph.

Some common inline elements 3. Ofcourse you will have to change manual.

docbook-apps message

The output produced in the following examples was produced using a customisation of the stylesheets hence output on systems not implementing the same customisations may differ. Note One can use the –loaddtd option to specify an external DTD to validate the file with. You can download the JAI files from http: The figure contains a mediaobject element which can occur on it’s own too and may contain audioobjectcaptionimageobjectobjectinfotextobject and videoobject elements.

Now the rop version has been released, with the first stable version 0.

The value applied to this attribute is the name of the columns, columns are named using the colspec element, colspec elements are inserted inside tgroup but before theadtbody and docboook. Unfortunately at the time of writing the tools used to convert FO to PDF either did not yet implement this feature or were in a broken state with regards to this feature so no pictorial examples can be provided.

How the PDF is created

All of the arguments to the command are in the form of options, and they can be presented in any order. It is used internally by FOP.


That message comes from a template named root. The overall encapsulating element is figure the reference page for which can be found at http: That extra code is understood only by a specific processor, so this feature is controlled by stylesheet parameters. Assuming an install of the customisation layer mentioned above in the same location as the standard stylesheets one could generate XHTML output that conformed to the custom stylesheet for XHTML like this:.

Download the latest stylesheets from http: One does not have to encapsulate the mediaobject in a figure object but doing so allows one to provide a title and be able to have the figure listed in a list of figures apachd the beginning of the document. This XML file is the one you want to edit if you want to change the output strings used for creation of the PDF document.

Since I do not like to repeat myself I wanted a system that is capable of generating documentation in variety of formats, PDF being the most important one. It will become apparent how to use the customisation layer in the section on using the tools later.

The imagedata element has the useful attributes align and valign.

The cleanup dofbook entails removing duplicate page numbers on an entry, and converting a sequence of consecutive numbers to a page range. One could use stylesheets such that, in HTML rendered output, the phrase used in the textobject would become the alternative text in an image in the HTML. In XEP, the extension element is rx: The commercial processors are assumed to provide their own documentation and support, so installation instructions for commercial processors are not provided in this book.

If you are using the Arbortext processor, then set the arbortext.