Quantcast
Channel: PTC Community : All Content - Arbortext
Viewing all articles
Browse latest Browse all 1645

Arbortext AAD, Superscript in Stylesheet

$
0
0

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

:-)


Viewing all articles
Browse latest Browse all 1645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>