Re: Problem with footnotes

>>>
As with any other link, put a <basic-link> in your footnote's <inline> 
whose internal-destination= is resolved to an id= attribute you put in your 
footnote's body.  
>>>

Yes, i know <basic-link>, but when i write

<xsl:template name="format.footnote.mark">
  <xsl:param name="mark" select="'?'"/>
  
  <!-- 	FOP 0.20.5rc2 implementiert kein baseline-shift,
  	deshalb der Umweg ueber vertical-align
  -->
  <fo:inline 	baseline-shift="super" 
  		font-size="{$body.font.master*0.8}pt" 
  		vertical-align="super"
  >  
    <xsl:text>[</xsl:text>
    <fo:basic-link internal-destination="aaa">
    <xsl:copy-of select="$mark"/>
    </fo:basic-link>
    <xsl:text>]</xsl:text>
  
  </fo:inline>
  
</xsl:template>


Then the genereted fo-file contains:

<fo:footnote>
  <fo:inline>
  <fo:inline baseline-shift="super" font-size="8.8pt" vertical-align="super">
  [<fo:basic-link internal-destination="aaa">8</fo:basic-link>]
  </fo:inline>
  </fo:inline>
  
  <fo:footnote-body font-family="Arial" font-size="8.8pt">
    <fo:block>
    <fo:inline baseline-shift="super" font-size="8.8pt" vertical-align="super">
    [<fo:basic-link internal-destination="aaa">8</fo:basic-link>]
    </fo:inline>test</fo:block>
  </fo:footnote-body>
</fo:footnote>

There is the same link in footnote and footnote-body and it doesn't work. 

CU
Anton

Received on Friday, 11 April 2003 09:58:13 UTC