[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: double sided layout
Hi, I set the margins myself: <xsl:param name="page.margin.outer">4cm</xsl:param> <xsl:param name="page.margin.inner">2cm</xsl:param> If I disable this, I see the same <fo:simple-page-master .../> element with the two different margins you mentioned. But there is still no changing of left/right pages in the output ... Has anybody an example xml/xsl where this feature works? Marko At 09:15 06.11.2002 -0800, Bob Stayton wrote: >On Wed, Nov 06, 2002 at 05:23:28PM +0100, Marko Petersen wrote: > > Hi, > > > > thanks for the tip. I turned on the debug mode and found a large > > FOP exception :-/ > > I tried a smaller xml-file and double-sided=1 works. But I think this is > > the wrong approach for me - I thought with double-sided=1 the margin > > on the left and right side of the paper switches for even and uneven > > pages - but I cannot see any differences ... > > > > Is this feature supported by the docbook-style? Maybe I forgot to set > > some other properties needed for double-sided? > >Yes, you should be seeing different margins. >If you look in the fo/param.xsl file, you will see that >the 'page.margin.inner' parameter is set to 1.25in >if double.sided is turned on, and 'page.margin.outer' >is set to 0.75in. If you scan the fo output from the >XSLT transformation, you should see this: > ><fo:simple-page-master master-name="body-even" page-width="8.5in" >page-height="11in" margin-top="0.5in" margin-bottom="0.5in" >margin-left="1.25in" margin-right="0.75in"> > >If the margin-left and margin-right are "1in", then >something has gone wrong and you aren't getting >'double.sided' fo output. > > >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