Works perfectly. Thanks Robert
On Thu, Mar 8, 2012 at 8:13 PM, Bob Stayton <[email protected]> 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 > [email protected] > > > > ----- Original Message ----- > *From:* robert <[email protected]> > *To:* [email protected] > *Sent:* Tuesday, March 06, 2012 1:09 AM > *Subject:* [docbook-apps] incorrect number of pages > > Hi > > I use the mechanism described in the following article > > http://www.sagehill.net/docbookxsl/PrintHeaders.html#PageXofY > > 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. > > Thanks, > Robert > >
