I'm using the following general outline in book class:
\mainmatter
\include{introduction}
\part{...}
\include{chapter1}
...
\part{...}
...
\include{conclusions}
\addcontentsline{toc}{part}{\appendixtocname}
\appendixpage
\appendix
\include{...}
\backmatter
% Glossary
\cleardoublepage
\addcontentsline{toc}{chapter}{Nomenclature}
\markboth{Nomenclature}{Nomenclature}
\makenomenclature
\input{nomenclature}
\printnomenclature[4.5cm]
% Bibliography / References
\cleardoublepage
\addcontentsline{toc}{chapter}{References}
\bibliographystyle{amsalpha}
\renewcommand{\bibname}{References}
\bibliography{thesis}
But a lot of things comes wrong in the final PDF, among them:
- Appendices appear as childs of last section in the last chapter.
- Clicking on Nomenclature and References bookmarks sends to the wrong page.
- Despite these problems, the page numbers in TOC are right.
Help?