Thank you for your advices. Without having a deeper knowledge of FO, I
came up with the fllowing solution, based on your proposals:
<xsl:template name="inline.superscriptseq">
<xsl:param name="content">
<xsl:apply-templates/>
</xsl:param>
<fo:inline>
<xsl:if test="@dir">
<xsl:attribute name="direction">
<xsl:choose>
<xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
<xsl:otherwise>rtl</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="$fop.extensions != 0">
<xsl:attribute name="vertical-align">super</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="baseline-shift">super</xsl:attribute>
<!-- new! -->
<xsl:attribute name="font-size">60%</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:copy-of select="$content"/>
</fo:inline>
</xsl:template>
Greetings,
Joachim
--
Joachim Ziegler Stuhlsatzenhausweg 85
Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
Email: Tel.: (+49) 0681 9325-127