summaryrefslogtreecommitdiff
path: root/helpcontent2/source/auxiliary
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-05 12:26:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-05 12:26:17 +0100
commite3ed3283b7867afa0084371e2050ed6a23a59d37 (patch)
tree8535a74396bf792874badbcbc79ec0a499836bf8 /helpcontent2/source/auxiliary
parent33af01c6d3ce7807be3e79a43f59329f1a300acc (diff)
add superscript and subscript support and remove odd 1^st construct
so we can get rid of the confusing 1^st help text suggestion Change-Id: If6ce1b7a347c89f6209cfc09b67d939088efa6fc
Diffstat (limited to 'helpcontent2/source/auxiliary')
-rw-r--r--helpcontent2/source/auxiliary/index.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/helpcontent2/source/auxiliary/index.xsl b/helpcontent2/source/auxiliary/index.xsl
index f8a2a1d6fa..1d3b11910c 100644
--- a/helpcontent2/source/auxiliary/index.xsl
+++ b/helpcontent2/source/auxiliary/index.xsl
@@ -74,6 +74,18 @@
</index:element>
</xsl:template>
+<xsl:template match="sub">
+ <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
+ <xsl:apply-templates/>
+ </index:element>
+</xsl:template>
+
+<xsl:template match="sup">
+ <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
+ <xsl:apply-templates/>
+ </index:element>
+</xsl:template>
+
<xsl:template match="paragraph">
<index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
<xsl:apply-templates/>