xsl-list
[Top] [All Lists]

Re: [xsl] Unwanted blank pages

2009-05-08 08:24:08
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
From: "G. Ken Holman" <gkholman(_at_)CraneSoftwrights(_dot_)com>
Subject: Re: [xsl] Unwanted blank pages
Message-Id: 
<7(_dot_)0(_dot_)1(_dot_)0(_dot_)2(_dot_)20090507092533(_dot_)025c3fa0(_at_)wheresmymailserver(_dot_)com>

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.
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

--~------------------------------------------------------------------
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>