diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-05 12:26:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-05 12:26:17 +0100 |
commit | e3ed3283b7867afa0084371e2050ed6a23a59d37 (patch) | |
tree | 8535a74396bf792874badbcbc79ec0a499836bf8 /helpcontent2/source/auxiliary | |
parent | 33af01c6d3ce7807be3e79a43f59329f1a300acc (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.xsl | 12 |
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/> |