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] DocBook XSL and page breaks


On Mon, Feb 8, 2010 at 7:25 AM, Nic Gibson <nicg@corbas.net> wrote:

> I have a feeling I'm missing something obvious here so I think I'd better ask. My current
> client has a requirement that the table of contents for their material have a page break
> at the end. Is there any option I can set to require this? I don't think there's an obvious
> way to handle this using a processing instruction or the keep-together-... attribute. Am
>I missing something obvious?

Years ago I was required to put a page break before certain sections
in a document.  I used the dbfo-need processing instruction as
described at http://www.sagehill.net/docbookxsl/PageBreaking.html.

I believe I set the required height to something very close to the
available page height.  Each time it occurred, the following content
would be pushed to the next page.

     <?dbfo-need height="7.5in" ?>

Good luck.

Peter


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