When I try to index non-english alphabet, it does not sort the letters according to the alphabet.

For example,


or equivalently


puts the "š" after "z", but in Slovenian alphabet, "š" (charon "s") comes after "s". In Slovenian alphabet the letter "š" is a letter on it's own (just as "a", "b" or "c"), it's not just the letter "s" with an accent.


does not fix this.

  • you don't say, or show an example but I assume you are using makeindex? (latex itself never sorts) Oct 25 '20 at 16:11
  • you can use \v{s}umnik\index{szumnik@\v{s}umnik} so it sorts after s although the \indexspace grouping will show it as s not as a new letter. Oct 25 '20 at 16:30
  • As an alternative solution, you can have a look at my esindex, but it doesn't create a group: osl.ugr.es/CTAN/macros/latex/contrib/esindex/esindex.pdf Oct 26 '20 at 16:42

Use Xindy for indexing. Run it with:

texindy --language=slovenian --codepage=utf8 test.idx



enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.