Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I generate my index with XeLaTeX using xindy as described here: How to use xindy with XeTeX/LuaTeX? I struggle with proper ranges being displayed. Essentially, the dashes are missing and the page numbers stick to each other.


index a
index a b
index a b ä
index a b ä ü


This results in the following output:


As you can see, the a is shown with 14 instead of 1-4. My call to xindy was the following:

xindy -M texindy -C utf8 -L german-duden xindy.idx

The xindy.idx file looks good to me:


But the resulting xindy.ind file already shows the problem:


  \item a, 14
  \item ä, 3, 4


  \item b, 24


  \item ü, 4


What am I missing here?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

It looks as if you must load an ranges module. E.g.

xindy  -M texindy -M page-ranges -C utf8 -L german-din test-utf8.idx


xindy  -M texindy -M ff-ranges -C utf8 -L german-din test-utf8.idx

(From the latex companion I would have expected the first to be loaded automatically but it doesn't seem to be the case).

share|improve this answer
You are absolutely right. page-ranges is not loaded automatically (for whatever reason) and when I include it explicitely, it works as expected. – kongo09 Sep 21 '11 at 19:17
By the way, one funny thing I noticed is that my xindy reports version 2.4 while on the website it says the latest version is 2.3. Strange... – kongo09 Sep 21 '11 at 19:21
OK, this helped me a lot. But how can I find more modules on my system? page-ranges displays a 2 page entry as on page “1, 2”, which is wrong. It should be “1–2”. “1,2” suggests independent 2 occurences, while “1–2” implies a long text that spans 2 pages. Is there a module that does know exact this difference? – NobbZ Jul 29 '14 at 23:09

I run

texindy -C utf8 -L german-duden <file>.idx

then I get the following output:

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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