You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Je...@t-systems.com on 2005/08/01 13:04:15 UTC

footnotes: baseline-shift

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



Re: footnotes: baseline-shift

Posted by Dirk Bromberg <br...@tzi.de>.
Take

vertical-align="super" in fop 20.5

Dirk

Jens-Christian.Pohl@t-systems.com 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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org