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: Gardami Zulkim
Country: France
Language: English (Spanish)
Genre: Spiritual
Published (Last): 1 October 2010
Pages: 11
PDF File Size: 16.1 Mb
ePub File Size: 4.14 Mb
ISBN: 254-9-69095-111-5
Downloads: 20702
Price: Free* [*Free Regsitration Required]
Uploader: Guhn

From DocBook to PDF using Apache FOP

On a Unix system this could be file: If you are processing languages other than English, then you need to download an additional file named fop-hyph. FOP is distributed as a zip file, which can be opened on almost all systems. This produces a more usable index. Some common inline elements 3.

The Definitive Guide http: One may also specify the type of enumeration that the list will display, docboook are five types of enumeration; arabic, loweralpha, lowerroman, upperalphaupperroman. Download the zipped archive, http: The provided customisations are listed below:. If you unzip to a separate directory these directories will be created.

If you find in their documentation an extension you want to use, you can write a customization layer that implements an extension. Accented characters are replaced with hashes if you do not use a font that supports multi-byte characters.

But you may wish to get the latest versions, in which case, goto ftp: These can be obtained from http: A software framework that dodbook software components to work together. All of the arguments to apacne command are in the form of options, and they can be presented in any order.


Installing an XSL-FO processor

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 at the beginning of the document. You can download the JAI files from doccbook The general form of an ordered list is like this:. Validation is beneficial because a valid document is less likely to break processing tools if a valid document does break a processing tool it is likely that the processing tool is broken and not the document.


The tbody element may be empty with the table being included in thead or tfoot but this is not the intention. Although most people will run FOP using its included convenience scripts, it is useful to know where the files are. I am using the directory structure he created as well as sample files, with little modifications. Sometimes it is a project requirement but more often than that it is just more efficient having ofp document to which you can refer users to and stop waisting you precious time explaining the fundamentals of content management systems to novice users instead of actually doing what you are payed for.

The overall encapsulating element is figure the reference page for which can be found at alache More information about customising stylesheets can be found at http: There is some debate about whether or not it is best to separate block elements from para elements, it is probably better to do so however because some processing systems have problems processing block elements within para elements.


An example use of itemized list is shown below:. Note 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.

You will most likely want to process bitmap graphics in your document. The figure contains a mediaobject element which can occur on it’s own too and may contain audioobjectcaptionimageobjectobjectinfotextobject apqche videoobject elements.

You might have noticed on the webpage or in the zip, other files apart from DTD files, these are auxiliary files and are necessary.

From DocBook to PDF using Apache FOP | Goran Jurić

Since the Apache FOP will probably complain about hyphenation, grab the hyphenation patterns and copy the jar file fop-hyph. In this tutorial it is used to transform FO output produced by xsltproc into PDF go is a well known format considered by many to be aesthetically pleasing. You can make the change permanent by adding it in the FOP convenience script, such as fop. Instead of modifying that catalog file, create a new one called catalog in the docbook-xml Some provide extension elements and processing instructions to enable features that fp not covered in the XSL-FO 1.

The reference page for mediaobject is at http: If I am running a Windows system I have a directory called c: