##### 16.5.8.3 Specifying index sort type and locale

To ensure that accented or non-Western characters sort the way you want them to in the index, you might have to specify a different sort type, or a non-English locale:

[HtmlOptions]
; IndexSortType = Numeric (default, code-point order),
; Lexical (using MS strcoll functions), or
; Alpha (sort accented letters as though they are unaccented).
IndexSortType=Numeric
; IndexSortLocale = language to use for sorting index.
; When IndexSortType is Lexical, default is current
; OS country setting. Uses MS language names.
;IndexSortLocale=English

For example, to make accented letters sort as though unaccented, specify the following:

[HtmlOptions]
IndexSortType = Alpha

Alpha works only with the Windows Western character set and the Unicode character set. Specify Lexical for Central European or Cyrillic locales; Alpha does not handle those. However, DITA2Go does support multibyte sorting when you specify the index locale.

If you use DITA2Go to produce HTML Help in an Asian or Cyrillic language, also specify the Help-file language; see §18.12 Generating HTML Help in non-Western languages.

Previous Topic: 16.5.8.2 Choosing case sensitivity of indexed terms

Next Topic: 16.6 Providing related-topic links for Help systems

Parent Topic: 16.5.8 Customizing index sort order

Sibling Topics:

16.5.8.1 Listing characters to ignore in index sort order

16.5.8.2 Choosing case sensitivity of indexed terms

Table of Contents • Index