On a related note, anyone know how to get the chapters to start only on odd
pages?
Using DocBook XSL 1.55, XSLTPROC, and PassiveTeX.
Dennis Grace
Information Developer
IBM Linux Technology Center
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
[EMAIL PROTECTED]
There are only 10 kinds of people in the world: those who understand binary
and those who don't.
Bob Stayton
<[EMAIL PROTECTED] To: Lisa Carey
<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> cc:
Sent by: Subject: Re: DOCBOOK-APPS: page break
after TOC in FOP
[EMAIL PROTECTED]
10/07/2002 03:40
PM
On Mon, Oct 07, 2002 at 05:48:32PM +0100, Lisa Carey wrote:
> Hi folks,
>
> I'm having great difficulty in getting a page break to appear after the
TOC
> using FOP (I can get page breaks to appear before all sect1s, thus
creating
> a break after the TOC, but that makes the rest of my document look
> peculiar). Has anyone got a nifty way of doing this?
There is an attribute-set named 'toc.margin.properties'
in Docbook XSL FO that controls
spacing and such for the whole TOC.
You could add to that attribute-set with the following
in your customization layer for FO output:
<xsl:attribute-set name="toc.margin.properties">
<xsl:attribute name="break-after">page</xsl:attribute>
</xsl:attribute-set>
Since attribute-sets are merged, this will just be added to
the properties on the fo:block for the whole TOC, and will
give you a page break after the TOC.
--
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: [EMAIL PROTECTED]