Ok, I see... I took over the stylesheet from someone else who had been
working on it, and it was already there. I tried to find information
about it but didn't notice that what was said was to put it on the
page-sequence, not the page-sequence-master! All the names for the
layout-master-set are so confusingly similar :-)
Thanks, I'll try this and get back if I still have problems and need to
post a full example!
Regards,
Anders
Date: Thu, 07 May 2009 09:30:45 -0400
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: Unwanted blank pages
Message-Id: <7.0.1.0.2.20090507092533.025c3fa0@xxxxxxxxxxxxxxxxxxxxxx>
At 2009-05-07 15:07 +0200, Anders.Svensson@xxxxxxxxxx wrote:
>I am having problems with unwanted blank pages. I have tried to search
>for this in forums, but can't find much.
>
>The problem is I get blank pages between the TOC and the body content,
>and there is not supposed to be any there. I have tried all the values
>on force-page-count and initial-page-number that I have read about for
>omitting blank pages, but it doesn't help.
In your snippet you have these attributes on <page-sequence-master>
when they actually belong on <page-sequence>:
> <fo:page-sequence-master master-name="TOC"
>initial-page-number="auto" force-page-count="no-force">
Though I was surprised to read you had a blank page between the two
sequences when the second sequence did not ask for an odd-page number
start. Which processor are you using?
I hope this helps.
. . . . . . . . . Ken
p.s. it also helps with diagnostics if you examined or posted the
resulting XSL-FO from your stylesheet rather than the stylesheet
itself. Then you can post a completely running instance that
volunteers can work with when they see something out of place.
###########################################
This message has been scanned by
F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to
http://www.f-secure.com/
|