[xep-support] Page number in fo:table cell questions

From: Sheila Rose <rosejsheila@yahoo.com>
Date: Mon Oct 07 2013 - 15:37:00 PDT

I am trying to have page numbers generate in a fo:table cell with leader dots. When I try to do this with many page number references the page numbers wrap to the next line. I have the text right aligned in table cell but the second row of page numbers are justified. I do not have the fo:leader justified because I need page number to wrap and if you wrap page numbers with justified alignment the same thing happens. The second line of page numbers, (which have fewer page numbers than first line) are justified align instead of right aligned. This is not what I need. I need both lines of page numbers to be right justified even when the lines do not have the same amount of text.

Code example:
<fo:table-cellxsl:use-attribute-sets="item_toc"
text-align="right"display-align="before">>
<fo:blocktext-align="right">
<fo:leader leader-pattern="dots" leader-length.optimum="70%"/>
<xsl:for-eachselect="$item">     
<fo:basic-linkinternal-destination="{concat('_item_', generate-id())}">
<fo:inlinetext-align="right">
<fo:page-number-citation
ref-id="{concat('_service_tool_', generate-id())}"/></fo:inline>
</fo:basic-link>                                     
</fo:block>
</fo:table-cell>
 
I am also trying to suppress duplicate page number references.

!DSPAM:87,525337929851815019603!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon Oct 7 15:37:11 2013

This archive was generated by hypermail 2.1.8 : Mon Oct 07 2013 - 15:37:18 PDT