[xep-support] Table-of-contents issue

Michael Smith msmith at speedlegal.com
Mon Feb 7 16:00:54 PST 2005


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



More information about the Xep-support mailing list