]> granicus.if.org Git - docbook-dsssl/commitdiff
Make lineannotations italic
authorNorman Walsh <ndw@nwalsh.com>
Tue, 31 Dec 2002 20:28:06 +0000 (20:28 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 31 Dec 2002 20:28:06 +0000 (20:28 +0000)
xsl/fo/inline.xsl
xsl/html/inline.xsl

index fe5fb2db0503c4517f8ba5307d01291a3dc81048..8eb9ca49e1cf71933d689418173e16dce60716da 100644 (file)
 </xsl:template>
 
 <xsl:template match="lineannotation">
-  <xsl:call-template name="inline.charseq"/>
+  <fo:inline font-style="italic">
+    <xsl:call-template name="inline.charseq"/>
+  </fo:inline>
 </xsl:template>
 
 <xsl:template match="superscript">
index 76af289f5a81ee97a88717269c7b1b6172adf61b..3baffa1630843416dc9c48cfb9a9e8d8794e810d 100644 (file)
 </xsl:template>
 
 <xsl:template match="lineannotation">
-  <xsl:call-template name="inline.charseq"/>
+  <i class="{local-name(.)}">
+    <xsl:call-template name="inline.charseq"/>
+  </i>
 </xsl:template>
 
 <xsl:template match="superscript">