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 | |
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')
-rw-r--r-- | helpcontent2/source/auxiliary/index.xsl | 12 | ||||
-rw-r--r-- | helpcontent2/source/text/shared/01/06040400.xhp | 4 |
2 files changed, 14 insertions, 2 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/> diff --git a/helpcontent2/source/text/shared/01/06040400.xhp b/helpcontent2/source/text/shared/01/06040400.xhp index c0c246b052..2a911f43cb 100644 --- a/helpcontent2/source/text/shared/01/06040400.xhp +++ b/helpcontent2/source/text/shared/01/06040400.xhp @@ -60,8 +60,8 @@ <paragraph xml-lang="en-US" id="par_id3153173" role="paragraph" l10n="U" oldref="27">Inserts a non breaking space before ";", "!", "?" and ":" when the character language is set to French (France, Belgium, Luxembourg, Monaco, or Switzerland) and before ":" only when the character language is set to French (Canada).</paragraph> <comment>moved two paras from 06040100.xhp, cws cbosdo01</comment> -<paragraph xml-lang="en-US" id="hd_id3159400" role="heading" level="2" l10n="U" oldref="25">Format ordinal number suffixes (1st ... 1^st)</paragraph> -<paragraph xml-lang="en-US" id="par_id3154173" role="paragraph" l10n="U" oldref="27">Formats the text characters of ordinals, such as 1st, 2nd, or 3rd, as superscripts. For example, in English text, 1st will be converted to 1^st.</paragraph> +<paragraph xml-lang="en-US" id="hd_id3159400" role="heading" level="2" l10n="U" oldref="25">Format ordinal number suffixes (1st ... 1<sup>st</sup>)</paragraph> +<paragraph xml-lang="en-US" id="par_id3154173" role="paragraph" l10n="U" oldref="27">Formats the text characters of ordinals, such as 1st, 2nd, or 3rd, as superscripts. For example, in English text, 1st will be converted to 1<sup>st</sup>.</paragraph> <paragraph role="heading" id="hd_id3154682" xml-lang="en-US" level="2" l10n="U" oldref="17">Single quotes / Double quotes</paragraph> |