[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] fo-stylesheets: Bug in bibliography handling?
On Fri, Sep 05, 2003 at 05:30:00PM +0200, Gisbert Amm wrote: > Hi list, > > consider the following document structure: > > <book> > <bookinfo>... (some info)</bookinfo> > <part id="somepart"><title>Some Part</title> > ... (some_chapters) > </part> > <part id="appendices"><title>Appendixes</title> > ... (some appendices) > <bibliography id="literatur"><title>Literatur</title> > ... (some bibliodivs) > </bibliography> > <index/> > </part> > </book> > > Tihs is valid Docbook and chunked HTML is produced as expected. But if I try > to produce PDF with the FO stylesheets, Fop stops with the following > message: > > [snip] ... > > [exec] [ERROR] null > [exec] org.apache.fop.apps.FOPException > [exec] at org.apache.fop.apps.CommandLineStarter.run(Unknown > Source) This is a bug in the fo stylesheet. It is generating invalid FO output when bibliography is a child of a part element because it is failing to start a page sequence for the bibliography. I checked in this fix to fo/bibliography.xsl: 24c24 < <xsl:when test="not(parent::*) or parent::book"> --- > <xsl:when test="not(parent::*) or parent::part or parent::book"> That fixed the problem. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]