Re: [xep-support] Table-of-contents issue

From: Michael Smith <msmith@speedlegal.com>
Date: Mon Feb 07 2005 - 16:00:54 PST

Martin Holmes wrote:
> Hi there,
>
> I'm having trouble getting page-numbers to show up correctly in a "table
> of contents" page, the reason being that the table of contents page is
> part of a "front matter" section which will be numbered with roman
> numerals (i, ii, iii etc.), while the actual content pages themselves
> start three pages in, and are numbered starting with 1, as normal.
<snip>
> The page numbers inserted are counted from the beginning of the whole
> document, so they are off by a few pages, because the front matter pages
> are included in the count. Does anyone know how to get around this?
>

Use the initial-page-number attribute on fo:page-sequence to set the
first page number to 1 on your second page-sequence (the one you're
using for the main content pages).

Mike
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Mon Feb 7 16:34:40 2005

This archive was generated by hypermail 2.1.8 : Mon Feb 07 2005 - 16:34:41 PST