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: Akinogar Tygom
Country: Mali
Language: English (Spanish)
Genre: Music
Published (Last): 20 August 2012
Pages: 293
PDF File Size: 15.97 Mb
ePub File Size: 11.22 Mb
ISBN: 792-4-91995-574-7
Downloads: 15823
Price: Free* [*Free Regsitration Required]
Uploader: Zulusho

Chapter 5. DocBook

AsciiDoc generates articlebook and refentry DocBook documents corresponding to the AsciiDoc articlebook and manpage document types.

DocBook files are validated, parsed and translated various presentation file formats using a combination of applications collectively called a DocBook rocbook chain.

A wide range of user output format requirements coupled with a choice of available tools and stylesheets results in many valid tool chain combinations. One of the biggest hurdles for new users is installing, configuring and using a DocBook XML toolchain.


From DocBook to PDF using Apache FOP

See the a2x 1 man page for more details. Use the –verbose command-line option to view executed toolchain commands. On the other hand, 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.

These are examples of optional dblatex output customization and are used by a2x 1.

The examples that follow are executed from the distribution documentation. These drivers are also used by a2x 1. This example is run on MS Windows from a Cygwin shell prompt:.

This vocbook generates an asciidoc. If you want to see how the complete documentation set is processed take a look at the A-A-P script. Converting DocBook to other file formats.

HTML from DocBook can optionally include automatically generated indexes, tables of contents, footnotes, dovbook of figures and tables. DocBook toolchains can also optionally generate separate chunked linked HTML pages for each document section.


Toolchain processing performs link and document validity checks. If docbooo DocBook lang attribute is set then things like table of contents, figure and table captions and admonition captions will be output in the specified language setting the AsciiDoc lang attribute sets the DocBook lang attribute.

Part 2. FO Parameter Reference

FOP is more feature complete xocbook example, callouts are processed inside literal layouts and arguably produces nicer looking output. The stylesheets are used in conjunction with an XML parser such as xsltproc 1. It runs on MS Windows platforms and can be downloaded from http: AsciiDoc dblatex configuration files. This file is not used directly but is included in all the following drivers.

This example is run on MS Windows from a Cygwin shell prompt: