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

From: Martin Holmes <mholmes@uvic.ca>
Date: Tue Feb 08 2005 - 08:17:28 PST

I've sent the file. The XEP version is 4.1 buld 20050901.

Cheers,
Martin

At 04:54 AM 08/02/2005, you wrote:
>Content-Transfer-Encoding: 7bit
>
>Hello Martin,
>
>Could you provide us with a short XSL-FO document that demonstrates the
>problem? You can send it directly to support@renderx.com (in archive,
>please). What version of XEP you are using?
>
>Best regards,
>Alexander Peshkov mailto:peshkov@renderx.com
>RenderX
>
>MH> Hi there,
>
>MH> I'm having trouble getting page-numbers to show up correctly in a
>"table of
>MH> contents" page, the reason being that the table of contents page is
>part of
>MH> a "front matter" section which will be numbered with roman numerals
>(i, ii,
>MH> iii etc.), while the actual content pages themselves start three pages
>in,
>MH> and are numbered starting with 1, as normal.
>
>MH> The problem comes when I use this code to insert page numbers into my
>table
>MH> of contents:
>
>MH> <fo:block text-align-last="justify">
>MH> <xsl:value-of
>select="text/front/docTitle/titlePart" />
>MH> <fo:leader leader-pattern="dots"/>
>MH> <fo:page-number-citation>
>MH> <xsl:attribute name="ref-id">
>MH> <xsl:value-of select="@id" />
>MH> </xsl:attribute>
>MH> </fo:page-number-citation>
>MH> </fo:block>
>
>MH> The page numbers inserted are counted from the beginning of the whole
>MH> document, so they are off by a few pages, because the front matter pages
>MH> are included in the count. Does anyone know how to get around this?
>
>MH> All help appreciated,
>MH> Martin
>
>MH> ______________________________________
>MH> Martin Holmes
>MH> University of Victoria Humanities Computing and Media Centre
>MH> mholmes@uvic.ca
>MH> martin@mholmes.com
>MH> mholmes@halfbakedsoftware.com
>MH> http://www.mholmes.com
>MH> http://web.uvic.ca/hcmc/
>MH> http://www.halfbakedsoftware.com
>
>MH> -------------------
>MH> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>MH> in the body of the message to majordomo@renderx.com from the address
>MH> you are subscribed from.
>MH> (*) By using the Service, you expressly agree to these Terms of
>Service http://www.renderx.com/tos.html
>
>
>-------------------
>(*) 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

______________________________________
Martin Holmes
University of Victoria Humanities Computing and Media Centre
mholmes@uvic.ca
martin@mholmes.com
mholmes@halfbakedsoftware.com
http://www.mholmes.com
http://web.uvic.ca/hcmc/
http://www.halfbakedsoftware.com

-------------------
(*) 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 Tue Feb 8 08:59:11 2005

This archive was generated by hypermail 2.1.8 : Tue Feb 08 2005 - 08:59:11 PST