xsl-list
[Top] [All Lists]

Re: page-squence-master

2004-12-06 05:28:14
David,

The problem I am facing is that my document can have
one page or more than one page.

If the document is of more than one page then the footer (totals)
should be printed the  on the first page itself. Otherwise it should
be on the last page with rest of the pages having a footer
say "Continued ...".

I am using <fo:static-content> for footers. Tried with two different
page sequences and marker to achieve it but coudn't.

Cheers.

Arun


From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] page-squence-master
Date: Mon, 6 Dec 2004 12:18:52 GMT

David Pawson:
  http://www.dpawson.co.uk/xsl/sect3/N8703.html#d11542e31

Tokushige Kobayashi::
  It needs special extension for API of FO rendering engine.

David, your FAQ should probably mention that the technique of using a
page reference to a block on the last page to get "n of m" page numbering
works for simple documents but fails if either:

* The block with the id doesn't end up on the last page.  It's hard to
  ensure that this doesn't happen if you have floats that may float to the
  end of the document thus generating pages after your "last" block.

* The printed page number on the "last" page doesn't reflect the number
  of pages in the document. This will happen for example if your front
  matter is numbered i,ii, ... and the you restart the numbering  at 1
  at the beginning of the main matter.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


_________________________________________________________________
Glamour, lifestyle, health. Get all the fundas you need. http://www.msn.co.in/cinema/ At MSN Entertainment!


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