W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2003

Re: Problem with footnotes

From: Anton Wardaschko (PA) <anton.wardaschko@packetalarm.com>
Date: Fri, 11 Apr 2003 15:58:07 +0200
Message-ID: <96C21E6379D63F479ECD0BA5442808DA4E787B@lagoon.webart.net>
To: <www-xsl-fo@w3.org>

>>>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT