[OS X TeX] makeindex sorts badly with accents

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Fri May 20 19:23:37 CEST 2005


There are two ways to overcome this problem:

1) Use babel with german + other languages and write the Umlaut as "u  
instead of \"u etc, only for those words that go to the index, and  
then call in the backmatter

\selectlanguage{german}
\printindex

You need a style file when calling makeindex, e.g., my german.ist,  
which is avalible from my tex page together with instructions.

2) Tell makeindex how want this word to be sorted, e.g.,

\index{sigma-algebra@$\s$-algebra}

Claus

On May 20, 2005, at 16:14, Ralph Martin wrote:

> This is probably common to all versions of tetex, but has anyone  
> else noticed that makeindex does not do a very good job of making  
> the index when the entries contain accents:
>
> I tried to make an author index , and got the following issues
>
> \v{S}\'{\i}r came before entries starting with A, B, C etc: \v{S} 
> \'{\i}r
>
> and
>
> M\"uller came before Martin
>
> The former definitely looks wrong, and while I am unsure what  
> sorting order a real German dictionary uses,  intuitively to me at  
> least, the latter also seems wrong.
>
> Comments? Fixes?
>
>
> Best wishes
>
> Ralph
> --
> Prof Ralph Martin                   Phone: +44(0)29 2087 5536
> School of Computer Science          Fax:   +44(0)29 2087 4598
> Cardiff University                  Email: mailto:ralph at cs.cf.ac.uk
> 5 The Parade, Roath                 WWW:   http://ralph.cs.cf.ac.uk/
> Cardiff, CF24 3AA, United Kingdom   VOIP:  sip:rrmwork at iptel.org
>
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list