This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: double sided layout


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]