[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: FO stylesheets copy fo:blocks into fo:root
On Fri, Jan 11, 2002 at 12:01:52PM -0500, Jeff Beal wrote: > I just ran the 1.48 stylesheets on a document which includes refentries. > The refentries were not included inside of an <fo:page-sequence>, but were > instead children of the <fo:root> element. I assume this is a bug in the > stylesheets, but haven't tracked it down yet. Has anyone else seen this? Yes, this looks like a bug. The relevant test in fo/refentry.xml is: <xsl:template match="refentry"> ... <xsl:choose> <xsl:when test="not(parent::*) or parent::reference"> <!-- make a page sequence --> <fo:page-sequence hyphenate="{$hyphenate}" This says to start a page sequence if the refentry is the root element, or if it is a child of <reference>. But that should be "not(parent::reference)" because a reference element already started a page sequence. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC