blocks_image
DOCBOOK NJIN

Njin is designed for our clients to convert docbook xml up to version 4.5 into PDF for their own uses. It is also available for free usage to the docbook community. Some sample xml docbook files are in the samplexml directory. A MacOSX version is in the works.

It includes a java runtime (jre1.4.2) to run the apache FOP (0.94) software and the docbook xsl stylesheets (1.72.0) in the docbookNjin directory. Additionally our own customized stylesheets are used to render the docbook information.

It takes about 2 minutes to convert a docbook xml (160+ letter sized) to a FO file. Then another 2 minutes to covert that to a PDF using the included Apache FOP. Done on a 3Ghz hyperthreading Intel processor. Additionally Njin will use about 110Mb RAM for the conversion to FOP and then Java will use about 200Mb RAM for the Java conversion to an actual PDF for the same document.

Some special exceptions:
  • modular documents are supported when listed as entities
  • relative file referrences must use "file://"
  • a root book element must have an id if the page links are going to work.
  • currently XML files should be put in their own directory in the Njin folder
  • docbook 5 is currently not supported
blocks_image