This work at my fop

   <!-- sub text-->
   <xsl:template match="sub">
       <fo:inline vertical-align="sub" font-size="80%">
           <xsl:apply-templates select="*"/>
       </fo:inline>
   </xsl:template>
   <!-- super text-->
   <xsl:template match="super">
<fo:inline vertical-align="super" font-size="{$footnotenumberfontsize}">
           <xsl:apply-templates select="*"/>
       </fo:inline>
   </xsl:template>



[EMAIL PROTECTED] wrote:

Hi,
thanks, Dirk, did you mean

<fo:inline vertical-align="super" font-size="6pt"><xsl:value-of 
select="."/></fo:inline>

this does not work, as it doesn't even show the values anymore ?!?

Regards
Jens

-----Ursprüngliche Nachricht-----
Von: Dirk Bromberg [mailto:[EMAIL PROTECTED] Gesendet: Montag, 1. August 2005 13:18
An: fop-users@xmlgraphics.apache.org
Betreff: Re: footnotes: baseline-shift

Take

vertical-align="super" in fop 20.5

Dirk

[EMAIL PROTECTED] wrote:

Hi,

the FOP compliance list describes a partial implementation of the attribute baseline-shift. But regardless of using "super" or "sub", the footnote number gets always written on the bottom.

The XML looks like:

<td valign="middle">
2 237
<sup>2)</sup>
</td>

the fo:

<xsl:template match="sup">
  <fo:footnote>
<fo:inline baseline-shift="super" font-size="6pt"><xsl:value-of select="."/></fo:inline>
               <fo:footnote-body>
                       ....

So "super" is not working in the expected way, or is there any corresponding property not set in a correct manner ?

Besides, there is another strange effect, since in the PDF something like this is written

2 237)2)

with the last two digits written in 6pt at the bottom of the page. But regarding the XML, where is the origin of the first opening bracket ?!

Thanks for any helpful hints on this issue.

kind regards
Jens



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to