[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Total number of pages with XSL-FO

Subject: Re: Total number of pages with XSL-FO
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Thu, 21 Apr 2005 17:59:25 +0200
docbook number of pages
JBryant@xxxxxxxxx wrote:
>>From a few messages ago:
> --------------------------------------------------------
> If you want to be absolutely sure that content appears on the last page,
> put the last block that has content and the empty block into a table that
> has two rows (one for each block). Then set keep-with-next="always" on the
> first row. That way, the empty block can never be on a page by itself.
> --------------------------------------------------------

Wouldn't it be easier to do just:

<fo:block id="last-page" line-height="0" keep-with-previous="always"/>

There will not be need to surround last block in document with the
table. (I'm assuming that FO processor supports keep-with-next, which is
not case for FOP.)

--
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@xxxxxxxx     http://www.kosek.cz
------------------------------------------------------------------
   Profesionalnm 9kolenm a poradenstvm v oblasti technologim XML.
      Podmvejte se na na9 novl spu9tln} web http://DocBook.cz
        Podrobn} pxehled 9kolenm http://xmlguru.cz/skoleni/
------------------------------------------------------------------

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.