In the preface for my thesis, which is an unlabeled chapter (\chapter*)
I have a section like this:
Code: Select all
\chapter*{Preface} \label{chap:Preface}
\markboth{Chapter {\protect\ref{chap:Preface}}. Preface}{ }
\section*{Goals and Objectives}\label{Preface:Objectives}
\addtocontents{toc}{\protect \contentsline {section}{Goals and Objectives}{{\protect \pageref{Preface:Objectives}}}{}}
bla blab bal bla
If I remove the * from the code, it puts it in the correct order in ToC.
Any ideas on how to solve the problem?
Thanks!