[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] how to get chapters to start on odd page?
On Fri, May 09, 2003 at 02:29:33PM -0400, Robert P. J. Day wrote: > > i'm sure this must be obvious, but i don't see an option in > the online list of FO parameters that will force a chapter to > the next odd page. > > i *have* added double-sided as an option, if that's > relevant. Yes it is relevant, because when that parameter is set, you should automatically get chapters starting on the next odd page. That is the default behavior of the fo stylesheet when double.sided is set. In fo/component.xsl, in <xsl:template match="chapter">: <fo:page-sequence id="{$id}" ... <xsl:when test="$double.sided != 0"> <xsl:attribute name="initial-page-number">auto-odd</xsl:attribute> </xsl:when> In other words, if $double.sided is not zero, then add the attribute initial-page-number="auto-odd". The 'auto-odd' value should force the starting page for the page-sequence to the next odd page. Does your fo output have an initial-page-number="auto-odd" attribute in the fo:page-sequence elements? Do you have other customizations that might be interfering with this behavior? -- 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]