MakeIndex, Nomenclature, Glossaries and AcronymsAlphabetical order of listed words

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
pleasehelpme
Posts: 4
Joined: Tue Feb 24, 2009 10:04 pm

Alphabetical order of listed words

Post by pleasehelpme »

Hi!

I write in German and for some reason the index starts with "Überschuldung" and then continues with "Abgrenzung" [...] "Aktiengesellschaft" and so forth.

How can I get the alphabetical order of words right?

best regards,
Christoph

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Alphabetical order of listed words

Post by localghost »

I'm afraid that the only way to get the right ordering is to type the "Ü" for the index entry in the old fashioned way.

Code: Select all

Überschuldung\index{"Uberschuldung}
At the moment I'm not aware of any other solution.


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Alphabetical order of listed words

Post by nlct »

Alternatively, you can use Xindy instead of makeindex. Xindy has different sorting algorithms for different languages and can sort accented or non-latin characters. It is, however, more complicated than makeindex.

Regards
Nicola Talbot
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Alphabetical order of listed words

Post by phi »

For many simple applications, the xindy wrapper texindy can be used as a drop-in replacement for makeindex. For example, I'm using texindy --language german-din file.idx, without any problems. xindy should be included in current TeX Live distributions.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Alphabetical order of listed words

Post by localghost »

nlct wrote:Alternatively, you can use Xindy instead of makeindex. […]
Now I am aware of an alternative. But there may be a problem.
XINDY Web Site wrote:There is neither a xindy distribution for Windows nor for Mac OS X. We would like to have one, but nobody has done the port yet.
So, at the moment this software seems to be reserved for Linux users.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Alphabetical order of listed words

Post by phi »

localghost wrote:So, at the moment this software seems to be reserved for Linux users.
There are builds of xindy for Windows and OS X included in TeX Live 2008. Apparently the team managed to build it. I didn't test this, though.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Alphabetical order of listed words

Post by localghost »

phi wrote:There are builds of xindy for Windows and OS X included in TeX Live 2008. […]
That's very promising. I guess I'll switch to TeX Live 2008 as my new LaTeX distribution under Windows on my new notebook. My Linux system comes already with the current TeX Live distribution. So, nearly everything ready for testing.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply