TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get the PDF output of my thesis with bookmarks using hyperref package. I am able to get the sections and subsections displayed in bookmark however the chapter is not displayed. How can I get the chapter title displayed in this PDF output?


\usepackage[numbers, square, comma, sort&compress]{natbib}
\usepackage[breaklinks=true, bookmarks=true, pdftoolbar=true, linktocpage=true,colorlinks=true,citecolor=blue]{hyperref}



This is the abstract.

Here is the dedication.

Here is the acknowledgement.





\pdfbookmark[0]{List of Abbreviations}{listofabbreviations}

\pdfbookmark[0]{List of Symbols}{listofsymbols}




\bibliography{PhDThesis_Bibtex_Final} % References file

share|improve this question
This example is far from minimal. And the most important part, the code for the chapters, is even missing :-) I removed every package I don't have and everything which gave errors and created a file Chapter_One containing a chapter and some sections et voila, I get the chapter title in the bookmarks list. I suggest you remove stuff from your preamble until the bookmarks appear. This way you'll immediately find the reason. – Stephan Lehmke Apr 11 '12 at 20:50

As others have said, you should load hyperref last of all your packages (you should also load subfig after caption). However, that alone doesn't fix the problem here. The redefinition of \@chapter in uncc-thesis.sty causes the bookmarks to disappear.

This seems to fix the problem. The uncc-thesis package is loaded, then \@chapter is redefined (again) and finally hyperref is loaded. The trick with MakeUppercase{\gdef... is explained here.


\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
                         \MakeUppercase{\gdef\noexpand\@temp{#1}} %NEW - puts an upper case 
                                                                  %version of #1 in \@temp
                                   {\protect{\@chapapp~\thechapter:\ \@temp}}% CHANGED
%                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
%                    \addtocontents{lot}{\protect\addvspace{10\p@}}%

\usepackage[breaklinks=true, bookmarks=true, pdftoolbar=true, linktocpage=true,colorlinks=true,citecolor=blue]{hyperref}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.