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: Tauzilkree Mezigar
Country: Spain
Language: English (Spanish)
Genre: Politics
Published (Last): 9 October 2014
Pages: 100
PDF File Size: 3.6 Mb
ePub File Size: 14.55 Mb
ISBN: 970-6-61776-123-3
Downloads: 4377
Price: Free* [*Free Regsitration Required]
Uploader: Doubei

Installing an XSL-FO processor

But the DocBook XSL stylesheets include support for some of the extensions provided by a few of the processors, and those will be described in this book. This allows one to use the tools without an Internet connection and speeds up there execution. Unzip the zip to where you want the customisation layer to be situated, this could be within the stylesheets directory or in separate directory.

When the extensions for one of these processors wpache turned on, extra code is written by the stylesheet into the XSL-FO file.

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.

The item within the imageobject that handles the image is imagedatait’s reference page is at http: The commercial processors are assumed to apacge their own documentation and support, so installation instructions for commercial processors are not provided in this book.

FOP is distributed as a zip file, which can be opened on almost all systems. Unfortunately at the time of writing the tools used to convert FO to Docbkok 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.


Often one wants to illustrate the use of a program or a commandline, the screen element is intended to mark content up as text that a user would see on a computer screen. When you view a PDF file’s document properties in cop reader, it may show title, author, subject, and keywords information. For the ultimate reference guide see DocBook: There are two elements used for placing tables inside a DocBook document, table and informaltablethe only difference between the former and the latter is that the former requires a title and the latter does not.

They vomit their gall and call it a newspaper. The value you use should be less than the installed memory on the system, and should leave enough memory for other processes that may be running.

The attributes colsep and rowsep are used to control whether lines should be drawn between columns and rows respectively:. A template for a DocBook article is shown below:. The DocBook zip that was just downloaded does actually contain it’s own catalog file catalog.

From DocBook to PDF using Apache FOP

One option you will not find is the ability to set DocBook stylesheet parameters on the command line when you use the -xsl option that processes the stylesheet. An example is shown below:.

Getting odcbook tools working. Most of them are commercial products, but gop are in serious competition on price and features, which benefits the user community. One may also specify the type of enumeration that the list will display, there are five types of enumeration; arabic, loweralpha, lowerroman, upperalphaupperroman.

Within this tutorial the primary purpose for installing the libxml C library will be to gain access the tools that come with it.

I have created a customisation layer which looks good enough for standard applications and am offering it to download. Replace any version strings in the example below with the actual version numbers on the files in your FOP distribution. The reason for the thead and tfoot elements is so that different layouts can be applied by the stylesheets for the header and the footer of the table respectively.


The documentation for the installation is written under the assumption that the reader has some experience of installing software on computers and knows how to change the operating environment of the particular operating system they are using. But you may wish to get the latest versions, in which case, goto ftp: These are useful for automated batch processing of many documents, so you do not have to open them one at a time in a graphical interface.

Getting Upto Speed With DocBook

The problems is that these fonts do not have support for all the characters you are probably using if your are converting a document that is not written in Yo. They also differ in the features they offer. The distribution comes as a compressed zip file with everything you need. Itemized lists are standard bulleted lists and should be used apzche 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.

The stylesheets are now ready to use.