OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] too many block-elements in xsl-fo ouput


First, the property you are trying to use is not keep-together, which just
keeps the title block together.  You want:

keep-with-next.within-column="always"

And the stylesheets do insert this property in the FO. But as you say,
XSL-FO processors that are strict must have it working on sibling elements.

Changing this would require some significant changes to the architecture of
the stylesheets, I think. The DocBook stylesheets use a lot of nested blocks
to handle the various opportunities for customization. Norm is starting to
look at stylesheets for XSL 2, so perhaps this should be a design
consideration.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Ulrich Kilian" <uk@science-and-more.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, June 16, 2004 6:32 AM
Subject: [docbook-apps] too many block-elements in xsl-fo ouput


> Hello,
>
> I want to use the attribute keep-together="always" to keep together
> section title and the first para. Antenna house supports this feature.
>
> My problem:
>
> The fo output using the docbook xsl stylesheets (newest version)
> contains too many fo:block-elements which means that the block
> containing the paragraph content is not the block following the block
> with the section title.
>
> The transformation produces:
> <fo:block id="...">
>    <fo:block>
>       <fo:block>
>          <fo:block keep-together=always">
>              <fo:block font-familiy=....>
>                  <fo:block>title</fo:block>
>              </fo:block>
>          </fo:block>
>       </fo:block>
>    </fo:block>
>    <fo:block>first paragraph of section</fo:block>
> </fo:block>
>
> It should produce something like this:
> <fo:block id="...">
>      <fo:block keep-together=always">
>          <fo:block font-familiy=....>
>              <fo:block>title</fo:block>
>          </fo:block>
>      </fo:block>
>      <fo:block>first paragraph of section</fo:block>
> </fo:block>
>
> Can somebody help to arrive at this?
>
> Best regards
> Ulrich
>
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]