[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: FO stylesheets copy fo:blocks into fo:root
/ Bob Stayton <bobs@caldera.com> was heard to say: | 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. Indeed it does. Can you provide a test document? | 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. Nope, that's not the bug. If you look in the template for reference, you'll see that it processes refentrys outside of its page-sequence. It does this so that the partintro and titlepage elements come out correctly. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Do not try to live forever. You http://www.oasis-open.org/docbook/ | will not succeed.--George Bernard Chair, DocBook Technical Committee | Shaw
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC