Re: [docbook-apps] fop problems

From
Francois Barriere <>
Date
2004-02-17T15:12:15+00:00
ID
Thread
Re: [docbook-apps] fop problems
On 17 Feb 2004 16:04:20 +0100
 (David N. Welton) wrote:

> Hi,
> 
> I've been successfully using DocBook to create HTML for a while now.
> A user requested a printable manual, and I thought it would be a good
> time to check out how to create PDF's, so on my Debian unstable
> machine, I installed the latest FOP available there, 0.20.5-4 and,
> using the docbook-xsl installed, attempted to create a PDF from my
> XML:
> 
> xsltproc  -o rivet.fo /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl rivet.xml
> 
> So far so good.
> 
> fop -fo rivet.fo  -pdf rivet.pdf &> oputfile

   I'm using FOP to generate PDF docs too, but as this route seems
to use some extensions I use Saxon instead of xsltproc. I'm not sure
the FO output is correct without these extensions. I suggest you try
the Saxon processor (need Java) and enable the fop extensions in your
stylesheet.

Francois.

-- 
                           Francois BARRIERE
   Design Flow Group                          ATMEL
   Design Flow Engineer                       Zone Industrielle
   Tel: (33) 0 442 53 61 98                   13106 ROUSSET
   Fax: (33) 0 442 53 60 01                   FRANCE
E-Mail:        T: (33) 0 442 53 60 00