[xep-support] leader in TOC

Clujean at aol.com Clujean at aol.com
Thu Jan 15 10:39:13 PST 2004


Hello all,
I'm working on a table of contents and created a table with 2 columns, one for the TOC entry and the second column for the page number.  The TOC entry is composed of a link, additional text and I would like to fill in the rest of the columns with dots.  I can't seem to get that to work (only see 2 dots).  Even if I remove the additional text that follows after the link, I still don't get the desired result (a line of dots).  I kindly ask for any suggestion you might have.  Thanks,
Narcis
Longmont, Colorado
clujean at aol.com

<fo:table-row>
 <fo:table-cell>
  <fo:block text-align="start">
   <!-- Link -->
   <fo:basic-link text-decoration="underline" color="blue">
    <xsl:attribute name="internal-destination">def_<xsl:value-of select="def_num"/></xsl:attribute>                              
    <xsl:value-of select="name" /> 
   </fo:basic-link>
   <!-- Additional text -->
   <xsl:text>def #</xsl:text><xsl:value-of select="def_num" />
   <!-- Line of dots going to the end of this column - DOESN'T WORK -->
   <fo:leader leader-pattern="dots" leader-pattern-width="5pt"leader-alignment="reference-area"/>
  </fo:block>
 </fo:table-cell>

 <fo:table-cell>
  <fo:block>
   <fo:page-number-citation>
    <xsl:attribute name="ref-id">def_<xsl:value-of select="def_num"/></xsl:attribute>
   </fo:page-number-citation>
  </fo:block>
 </fo:table-cell>
</fo:table-row>  


-------------------
(*) 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