1

I am testing xindy and have the following problem that the entries for umlauts are wrongly sorted.

Using TeXLive 2021 not full version on Windows.

Example sorting

MWE:

\documentclass{article}
\usepackage[xindy]{imakeidx}

\makeindex[
    options=-L german-din
]     
\begin{document}
    Test
    \index{Äpfel}
    \index{Apfel}
    \index{Test}
    \index{Überflug}
    \index{Öfen }
    \index{Opfer}
    \index{Unfug}
    \printindex
\end{document}

The german-din defines this

(sort-rule "ä" "ae")
(sort-rule "ö" "oe")
(sort-rule "ü" "ue")

(sort-rule "Ä" "ae")
(sort-rule "Ö" "oe")
(sort-rule "Ü" "ue")

so why is Ö and Ü wrongly sorted

11
  • Exactly what LaTeX installation are you on? I get the three umlaut ones listed under O, which seems wrong as well
    – daleif
    Oct 14, 2021 at 7:27
  • I seem to get more appropriate sorting using -C utf8 for the xindy options. (I haven't looked at the sorting rules). With -C utf8 I get Ä sorted under A, Ö under o and Ü under u
    – daleif
    Oct 14, 2021 at 7:29
  • @daleif I am using texlive on windows.
    – Nyanyan
    Oct 14, 2021 at 9:18
  • Version? I'm using TeLive 2021 on linux
    – daleif
    Oct 14, 2021 at 9:20
  • 1
    Note that I just used options=-L german-din -C utf8 and made sure to rin with -shell-espace` that worked fine for me.
    – daleif
    Oct 14, 2021 at 10:36

0

Your Answer

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

Browse other questions tagged or ask your own question.