Take the 2-minute tour ×
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
add comment

2 Answers

up vote 2 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 xindy.org website sourceforge.net/projects/xindy/files it says the latest version is 2.3. Strange... –  kongo09 Sep 21 '11 at 19:21
add comment

I run

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

then I get the following output:

enter image description here

share|improve this answer
add comment

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.