[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: page break after TOC
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 dgrace@us.ibm.com There are only 10 kinds of people in the world: those who understand binary and those who don't. Bob Stayton <bobs@caldera.com To: Lisa Carey <lisa.carey@havok.com>, docbook-apps@lists.oasis-open.org > cc: Sent by: Subject: Re: DOCBOOK-APPS: page break after TOC in FOP bobs@caldera.com 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: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC