Re: [xsl] Unwanted blank pages

Subject: Re: [xsl] Unwanted blank pages
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 07 May 2009 09:30:45 -0400
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.

-- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 Crane Softwrights Ltd. Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: Video overview: G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 Legal business disclaimers:

Current Thread