[xep-support] Table-of-contents issue

From: Martin Holmes <mholmes@uvic.ca>
Date: Mon Feb 07 2005 - 15:28:55 PST

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.

The problem comes when I use this code to insert page numbers into my table
of contents:

<fo:block text-align-last="justify">
                     <xsl:value-of select="text/front/docTitle/titlePart" />
                     <fo:leader leader-pattern="dots"/>
                         <xsl:attribute name="ref-id">
                             <xsl:value-of select="@id" />

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?

All help appreciated,

Martin Holmes
University of Victoria Humanities Computing and Media Centre

(*) 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:09:22 2005

This archive was generated by hypermail 2.1.8 : Mon Feb 07 2005 - 16:09:22 PST