xsl-list
[Top] [All Lists]

Re: [xsl] Unwanted blank pages

2009-05-07 09:31:32
At 2009-05-07 15:07 +0200, Anders(_dot_)Svensson(_at_)sorman(_dot_)com 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.          http://www.CraneSoftwrights.com/s/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>