[OS X TeX] Problems with the index

BenBehr ben at benbehr.eu
Wed Jun 4 09:39:24 CEST 2008


Hi,
what is the difference between
\usepackage[utf8x]{inputenc} and
\usepackage[utf8]{inputenc} without the x

With \usepackage[utf8x]{inputenc} its always wrong. As you said every  
second time in the table of content and every other time in the  
heading on page 6.

Seems odd to me. but using utf8 instead of utf8x solved the problem  
all right.

Thanks,
Ben

Am 03.06.2008 um 23:45 schrieb Axel E. Retif:

> On Jun 3, 2008, at 12:33, BenBehr wrote:
>
>> Hi,
>> i have made the following tex file:
>> \documentclass{book}
>> 	\usepackage[ngerman]{babel}
>> 	\usepackage[utf8x]{inputenc}
>> \title{ESem}
>> \makeindex
>> \begin{document}
>> \tableofcontents
>> \part{Theorie}
>> \chapter{Dämmung}
>> \chapter{Dämmung}
>> Both Chapters should be the same!
>> \end{document}
>>
>>
>> After running Latex twice i get an pdf without any errors. But the  
>> index of the PDF is not correct. The first Chapter in the Index is  
>> D[Pleaseinsertintopreamble]mmung whereas the second chapter is  
>> displayed correctly as Dämmung.
>
> In fact, it changes with each typeset ---the third is right, the  
> next wrong, etc.
>
> \usepackage[utf8]{inputenc}
>
> solves the problem.
>
> Best,
>
> Axel
>
>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>




More information about the macostex-archives mailing list