cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Arbortext AAD, Superscript in Stylesheet

GregoryMackenzi
12-Amethyst

Arbortext AAD, Superscript in Stylesheet

I found another problem, there was no xsl:template match for <superScript> or <subScript> so I wasn't getting the correct formatting in my PDF output. So I added some statements at the very end of foPara.xsl right before the last </xsl:stylesheet> to fix this:

    <!-- ===================================================================== -->

    <!--L3 Modification for markup superScript and subScript-->

    <xsl:template match="superScript">

      <fo:inline baseline-shift="super" font-size="smaller">

      <xsl:apply-templates />

      </fo:inline>

    </xsl:template>

    <xsl:template match="subScript">

      <fo:inline baseline-shift="sub" font-size="smaller">

      <xsl:apply-templates />

      </fo:inline>

    </xsl:template>

    <!--End L3 Modification-->

    <!-- ===================================================================== -->

</xsl:stylesheet> <!--this is the last closing tag-->

I'm not sure if anyone else has run into this at the same version I'm using (Editor 5.3, CSDB 4.3 M060), but it might prove useful.

Greg

🙂

0 REPLIES 0
Announcements

Top Tags