W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2002

RE: "Continued from previous page" in a block which flows overleaf

From: Rob Staveley \(Tom\) <rstaveley@seseit.com>
Date: Mon, 9 Dec 2002 22:15:24 -0000
To: "'David Carlisle'" <davidc@nag.co.uk>
Cc: <www-xsl-fo@w3.org>
Message-ID: <003301c29fd0$78ab6e70$0c84f1d4@ivydale>

Alas, this approach gets "[ERROR] fo:marker must be an initial child,and
'marker-class-name' must be unique for same parent" from Fop. I see in
http://www.w3.org/TR/xsl/slice6.html#fo_marker that markers need to be
descended from fo:flow. Doesn't that mean that they would be no good for
determining if a block straddled over a page, because we'd need the
marker to be a descendent of a fo:block to use this trick... or am I
missing something?

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
Behalf Of David Carlisle
Sent: 09 December 2002 13:35
To: rstaveley@seseit.com
Cc: www-xsl-fo@w3.org
Subject: Re: "Continued from previous page" in a block which flows
overleaf




> If the page breaks between blocks, it should avoid putting the
> "continued..." indicator.

you want to put a marker saying "... contined " as the first thing in
each block and a marker saying "" after each block

then in the page head you can extract the active marker (carried over
to)
to the top of the page, this will be ... continued unless the page break
was just before the "" marker.

Youmay need to fiddle with the keep properties to make sure that
you don't get page breaks in the wrong place relative to your marks.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Monday, 9 December 2002 17:15:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT