# Index (printindex) in appendix has different format than other chapters

I have a complex file based on documentclass scrbook. It has many parts and the last part is the appendix. Instead of sections I use chapters in appendix. All glossaries and bibliography are defined as chapter.

I also defined the index as chapter in doc_class:

...
\usepackage{imakeidx}
\makeindex
\indexsetup{level=\chapter,toclevel=chapter,noclearpage}
...


end of document looks like this:

...
\appendix
\part{My appendix}

\printglossary[type=\acronymtype,style=long,title=Acronym]
\printglossary[style=altlist,title=Glossary]
\bibliography{Bibliography}
\chapter{CD Contents}

%problem:
\printindex

\end{document}


All chapters in appendix appear like this:

Appendix (A, B, C, D)

Chaptername (Acronym, Glossary, Bibliography, CD Contents).

However the Index just has the heasline

"Index" but "Appendix E" is missing.

Is there anything I can do, that

\printindex


uses the defined format for chapter?

Full document structure below:

\documentclass[
pdftex,
a4paper,
chapterprefix,
appendixprefix,
bibliography=totocnumbered,
openany,
index=totoc,
ngerman
]{scrbook}

\usepackage{scrpage2}

\usepackage{geometry}
\geometry{
a4paper,
top=28mm,
left=25mm,
right=25mm,
bottom=28mm,
footskip=12mm
}

\renewcommand*{\partpagestyle}{empty}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\renewcommand*{\familydefault}{\sfdefault}

\usepackage[toc,page]{appendix}

\usepackage[
bookmarks
]{hyperref}

\usepackage{multicol}

\usepackage[
nonumberlist,               % don't show page numbes
acronym,
toc,
section=chapter,
numberedsection=autolabel]
{glossaries}
\makeglossaries

\usepackage{imakeidx}
\makeindex[
intoc,
columnseprule,
columns=3
]
\indexsetup{level=\chapter*,toclevel=chapter*}  %,noclearpage

\usepackage[
totoc,
columns=3,
unbalanced,
%font=small
]{idxlayout}

{Active Directory is a Windows-Server-bla bla asdfghjkl.~\cite{MS_AD}}}

\usepackage{blindtext}

\begin{document}
\pagenumbering{roman}

\blindtext

\tableofcontents
\label{chap:Inhalt}

\part{Intro}

\blindtext
Here we are with \gls{AD} for the first time. Here we find \gls{AD} for the second time~\cite{MS_AD}.
\chapter{Introduction}
\blindtext
\chapter{Related Work}
\blindtext

\part{Main}
\blindtext
\chapter{Introduction}
\blindtext
\chapter{Related Work}
\blindtext

\appendix
\part{Appendix}

\printglossary[type=\acronymtype,style=altlist,title=Abrev]
\printglossary[style=altlist,title=Glossary]

\bibliography{Bibliography}

\chapter{CD Contents}

\printindex

\end{document}

• In my experiment I get the “Appendix E” header. But without the noclearpage option that doesn't really make sense. – egreg Feb 25 '15 at 22:27
• I still have the problem. I added the full document above. – Arthur Mar 10 '15 at 15:08

1. remove the index=totoc option to the document class
2. remove the call to idxlayout that does nothing
3. define \indexsetup{level=\chapter,toclevel=chapter} (the * means “no number”)
4. move the call of hyperref to be the last loaded package
• Excellent ! Thanks to you, I understand that \indexsetup{level=\chapter} is incompatible with \idxlayout package ! – Zouib May 23 '15 at 10:47