13 PDF Article

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: Vushakar Kigagore
Country: Germany
Language: English (Spanish)
Genre: Medical
Published (Last): 13 August 2014
Pages: 11
PDF File Size: 2.52 Mb
ePub File Size: 20.40 Mb
ISBN: 486-1-25393-375-3
Downloads: 77088
Price: Free* [*Free Regsitration Required]
Uploader: Kajizilkree

Copy it to the lib subdirectory of the FOP installation. FOP is distributed as a zip file, which can be opened on almost all systems. If you are using Antenna House’s product, then set the axf. In this example, the memory allocation is MB. A wide range of user output format requirements coupled with a choice of available tools and stylesheets results in many valid tool chain combinations.

For some reason, it seems impossible to ever arrive at a version 1. The following are some examples of using the scripts:.

Getting the tools working. 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. Linux users can also download a gzipped tar file. FOP has built-in support for some graphics formats, but some popular formats such as PNG are not supported natively.

This example is run on MS Windows from a Cygwin shell prompt: 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. If you are using the Maven Docbkx Plugin, then you might want something that integrates with Maven. That extra code is docboo, only by a specific processor, so this feature is controlled by stylesheet parameters. All of the arguments to the command are in the form of options, and they can be presented in any order.

  LEI 6514 DE 22 DE DEZEMBRO DE 1977 PDF

It runs on MS Windows platforms and can be downloaded from http: Since the Apache FOP will probably complain about hyphenation, grab the hyphenation patterns and copy the jar file fop-hyph.

Lists List titles List spacing List vertical spacing List horizontal spacing itemizedlist options Different bullet docook Print properties for itemizedlist orderedlist options Different numbering style Number continuation List starting number Print properties for orderedlist variablelist options Multiple docbokk elements Variable list formatting in print Variable top formatting in Docblok simplelist options Chapter Skiing as an agile vs waterfall metaphor.

From DocBook to PDF using Apache FOP

Docbolk example is run on MS Windows from a Cygwin shell prompt:. When you view a PDF file’s document properties in the reader, it may show title, author, subject, and keywords information.

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. 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 of your documentation there is a syntax error.

DocBook, FOP and Fonts — Xebia Blog

Printed output options Page layout Paper size Finished page size Left and right margins Top and bottom margins Indenting body text Landscape documents Double sided Multi-column Double spacing Typography Body and title font families Font sizes Using renderas to style section docbiok Chapter rop section numbering Depth of section numbering Numbering book parts Page breaking Keep-together processing instruction Soft page breaks Hard page breaks PDF bookmarks Extra blank lines Cross reference page numbers Docbook icon graphics Admonition graphics Callout icons Printing one chapter Crop marks Part III.


Add a plugin First of all, you need to add a plugin to the plugins section.

If you want to see how the complete documentation set is processed take a look at the A-A-P script. FOP is also a Java program, so it is easy to install, especially if you already are using Java programs such as Saxon or Xalan. Apache FOP has a long history. Replace any version strings in the example below with the actual version numbers on the files in your FOP distribution. You can change what the message says in a customization layeror you could define it as an empty template there to turn off the message entirely.

One of the biggest hurdles for new users is installing, configuring and using a DocBook XML toolchain.

DocBook, FOP and Fonts

Apache FOP is providing some utilities for generating font metrics, however none of that is based on Maven. This example generates an asciidoc.

Doocbook 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 Preface What is DocBook?