I have
\chapter{My first chapter}
\chapter{My second chapter}
\phantomsection
\addcontentsline{toc}{chapter}{Appendixes}
\appendix
\makeatletter
\def\toclevel@chapter{1}\def\toclevel@section{2}
\makeatother
\chapter{My first appendix}
\chapter{My second appendix}
So my hyperref ToC look like:
- My first chapter
- My second chapter
+ Appendixes
- My first appendix
- My second appendix
But my \tableofcontents still look like:
1 My first chapter
2 My second chapter
Appendixes
A My first appendix
B My second appendix
And what I want is that the appendixes look like sections:
1 My first chapter
2 My second chapter
Appendixes
A My first appendix
B My second appendix
I can figure out, that there is a really small trick to do the job... but I can't find it...


\addcontentsline{toc}{section}{Appendixes}? ` – cmhughes Jun 16 '12 at 2:00