I'm using classicthesis for my dissertation. By default the TOC begins with "List of Figures", "List of Tables", and "Listings" as can be seen in the Contents.tex source file.
I would like the TOC to list "Dedication", "Acknowledgements", "Foreword", and "Abstract" before "List of Figures", etc.
I have attempted to do this by adding the following code just before the code for "List of Figures" in Contents.tex.
\addcontentsline{toc}{chapter}{Dedication}
\pdfbookmark[1]{Dedication}{Dedication}
\addcontentsline{toc}{chapter}{Acknowledgements}
\pdfbookmark[1]{Acknowledgements}{Acknowledgements}
\addcontentsline{toc}{chapter}{Foreword}
\pdfbookmark[1]{Preface}{Foreword}
\addcontentsline{toc}{chapter}{Abstract}
\pdfbookmark[1]{Abstract}{Abstract}
This places these four entries into the TOC in the correct position, but they all get assigned the same page number: the roman page number that immediately follows the TOC (the same page number as "List of Figures").
How do I get the TOC to recognize the correct roman page numbers of these four preceding chapters?
Thanks.
\clearpage\phantomsection
before\addcontentsline
(and no\pdfbookmark
)..toc
file are obeyed after two runs of LaTeX.\clearpage...
commands should go before the dedication, acknowledgment and so on.