Re: Problem with footnotes

At 2003-04-11 12:24 +0200, Anton Wardaschko (PA) wrote:
><xsl:template name="format.footnote.mark">
>   <xsl:param name="mark" select="'?'"/>
>
>   <fo:inline    baseline-shift="super"
>                 font-size="{$body.font.master*0.8}pt"
>                 vertical-align="super"
>   >
>     <xsl:text>[</xsl:text>
>       <xsl:copy-of select="$mark"/>
>     <xsl:text>]</xsl:text>
>
>   </fo:inline>
></xsl:template>
>
>The only thing, which i cn't figure out, how i get the link from Number to
>the footnote like in HTML output. Have somebody a tip?

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.  There are no restrictions to using links for footnotes 
... I just tested this, zoomed such that only a portion of the page fit on 
the screen, and when I hit the footnote citation the bottom of the page 
popped up as expected.

I hope this helps.

........................ Ken

--
Upcoming hands-on courses:   Europe (XSLT/XPath):    May  5, 2003
-                            Europe (XSL-FO):        May 16, 2003
- (XSLT/XPath and/or XSL-FO) North America:      June 16-20, 2003

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1              Practical Formatting Using XSL-FO
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc

Received on Friday, 11 April 2003 08:03:39 UTC