OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] incorrect number of pages

Works perfectly.


On Thu, Mar 8, 2012 at 8:13 PM, Bob Stayton <bobs@sagehill.net> wrote:
If I understand the problem, the special fo:block is at the end of content that fills out a page and so it is bumped to the next page, generating a blank page.
You might try setting a line-height="0pt" property on that special fo:block.  I'd also try adding a keep-with-previous.within-column="always" to that block too.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
From: robert
Sent: Tuesday, March 06, 2012 1:09 AM
Subject: [docbook-apps] incorrect number of pages


I use the mechanism described in the following article

to print the total number of pages.

It works pretty well, but from time to time I get an empty page at the end of the book and the total number of pages includes that empty page. It happens when the content of the book fills all the pages and the only thing left (i.e. output at the last page is the <fo:block id="END-OF-DOCUMENT"/> element. 

Is there a way to avoid such issue.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]