The author of this book is available for helping with DocBook or other XML publishing projects. Installing FOP · Using FOP · Using other XSL-FO processors. Docbook is easy to learn, easy to write, and does things other text To output to PDF, tell FOP to register your fonts with your file. And since my entire DocBook chain was built from open source, I had to use Apache FOP. Apache FOP has a long history. For some reason, it.

Author: Nikorr Yozshumi
Country: Bhutan
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 26 March 2013
Pages: 339
PDF File Size: 17.52 Mb
ePub File Size: 3.97 Mb
ISBN: 538-6-95354-376-9
Downloads: 68445
Price: Free* [*Free Regsitration Required]
Uploader: Vogore

Bibliographies Bibliography entries Bibliography database Bibliography database catalog entry Citing bibliographic entries Numbered bibliography entries Sorting a bibliography Customizing bibliography output ISO bibliography standard Bibliography title RefDB bibliographic database Chapter DocBook toolchains can also optionally generate separate chunked linked HTML pages for each document section.

The version numbers shown here may differ from the ones in your distribution. Accented characters are replaced with hashes if you do not use a font that supports multi-byte characters.

Introduction How this book is organized Online resources for finding solutions to problems Chapter 2. However, if you are using Apache FOP, then simply referencing alternative fonts is not going docbpok get you anywhere. That message comes from a template named root. The distribution comes as a compressed zip file with everything you need. I will not go into details on validating DocBoox syntax, but it is recommended that you validate your files because I guess it is faster than invoking Apache FOP to generate you PDF and realising that somewhere at the end docgook your documentation there is a syntax error.


On the other dkcbook, HTML output directly from AsciiDoc is much faster, is easily customized and can be used in situations where there is no suitable DocBook toolchain for example, see the AsciiDoc website.

DocBook is the first thing that came to mind, but as it is usually the case the things are not so simple as they should be.

Using stylesheet parameters Parameters on the command line Parameters in a file Chapter 7. One of the biggest hurdles for new users is installing, configuring and using a DocBook XML toolchain. That site will also provide you with detailed instructions for getting started with FOP. The commercial processors are assumed to provide their own documentation and support, so installation instructions for commercial processors are not provided in this book.

Glossaries Glossary formatting Glossary formatting in print Linking to a glossary entry What about link and xref? 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. Copy it to the lib subdirectory of the FOP installation. To download FOP, go to http: Preface What is DocBook? This file is not used directly but is included in all the following drivers. Use the –verbose command-line option to view executed toolchain commands.

A wide range of user output format requirements coupled with a choice of available tools and stylesheets results in many valid tool chain combinations. You also need to make sure the font metrics can be found. Use the stylesheet parameter fop1. DocBook Consulting Services available. Of course you will have to replace the embed-url with the path to Times New Roman.

If you find in their documentation an extension you want to use, you can write a customization layer that implements an extension. Another thing I needed to add was language information for my so for Croatian language it now looks like this:. If you are using Antenna House’s product, then set the axf. After playing fore the most part of the day with DocBook and various utilities I decided to write it down for future reference.


Provides the support library for SVG graphics. When the extensions for one of these processors is turned on, extra code is written by the stylesheet into the XSL-FO file.

From DocBook to PDF using Apache FOP

Stylesheet options Chapter 6. In Antenna House, the extension element is axf: A software framework that allows software components to work together. You should never turn on the extensions for a processor you are not using, or you will likely get a lot of error messages from the XSL-FO processor that does not understand the extra code. Linux users can also download a gzipped tar file.

For some reason, it seems impossible to ever arrive at a version 1. odcbook

DocBook, FOP and Fonts — Xebia Blog

Ofcourse you will have to change manual. So the below will change the body font to Calibri. 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.