I think baseline-shift is not implemented, yet. Try vertical-align
instead. There's an example in docs/examples/footnotes/columns.fo.

Please post this kind of question on the fop-user mailing list in the
future. Thanks!

> I'm trying to do the following:
> 
>     <xsl:template match="superscript">
>         <xsl:if test="string(.)">
>             <fo:inline baseline-shift='super'>
>                 <xsl:apply-templates/>
>             </fo:inline>
>         </xsl:if>
>     </xsl:template>
> 
> The XML file can look something like:
> <paragraph> blablabla <superscript>test</superscript> blablabla </paragraph>
> 
> That is, I'm trying to shift the text to superscript... Like in 1*10^8, with the 8 
>'hanging' above the rest..
> 
> However, it does not work.. Nothing happens. What have I done wrong?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


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

Reply via email to