W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2003

Putting "Please Turn Over" at the bottom of pages in a multi-page document

From: Al-Dhahir, Haitham <Haitham.Al-Dhahir@gs.com>
Date: Tue, 8 Apr 2003 19:33:31 +0100
Message-Id: <655FC854EBCED611899B000802B0522A03F22FFA@gsln23e.ln.fw.gs.com>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

Hi,

I have a multi-page document with multiple page-sequences. The first and
last page sequences are simply "bookends", starting and ending the document
- each contains just one page. The middle page sequences contain the main
contents of the document and each can be many pages long. For each of these
multi-page sequences, I want to insert the text "Please turn over" at the
bottom of every page, except for the last page in the sequence:

---Page Sequence 1---
  ------Page 1----
  Frontpage
  ------/Page 1-----
---/Page Sequence 1--

---Page Sequence 2---
  -----Page 2-----
  text
  more text
  more text
  more text
  Please turn over
  -----/Page 2-----
  -----Page 3-----
  text
  
  
  -----/Page 3-----
---/Page Sequence 2---

etc etc

So the basic problem is - how can I insert the text "Please turn over" only
on pages which are not the last page in the sequence? Is this possible using
markers? I thought of inserting a block at the end of each sequence and then
using a page-number-citation to detemirne whether we are on the last page or
not - however I couldn't get this to work.

Can anyone help here? Let me know if any clarification is needed.

Thanks,

Haitham.
Received on Tuesday, 8 April 2003 14:33:34 GMT

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