This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Inserting Page Break in Simplified DocBook
- From: Bob Stayton <bobs at sco dot com>
- To: GARY Hoffman <GHOFF at eslaw dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 5 Dec 2003 08:22:20 -0800
- Subject: Re: [docbook-apps] Inserting Page Break in Simplified DocBook
- References: <sfd04b9a.067@eslaw.com>
On Fri, Dec 05, 2003 at 09:10:20AM -0600, GARY Hoffman wrote:
> I have prepared a legal document using Simplified
> DocBook. It includes an exhibit that follows the
> signatures of the parties. I used the appendix element
> with respect to the exhibit. I want the exhibit to be on
> a separate page. The appendix element does not contain
> an attribute regarding page breaks. I therefore presume
> that this is to be accomplished by the stylesheet. Using
> DocBook XSL 1.62.4, which FO stylesheet or stylesheets need
> to be modified for this purpose? Bob Stayton's book has a
> discussion of section page breaks but not for the appendix.
I presume your appendix is within an article? An appendix
within an article is handled differently from an appendix
within a book. There is a template in fo/component.xsl
with match="article/appendix" that you can customize.
Just change:
<fo:block id='{$id}'>
to
<fo:block id='{$id}' break-before="page">
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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.