I am writing a document and a section as a very long title troubling my header. To work around this, I am using the short title like this:
\section[bla]{blablabla}
This works fine for the header, but the pdf bookmark is now using the short title instead of the normal title. Is there anyway to fix this?
Here is the definition of the hyperref package:
\usepackage[pdftex,hyperindex=true]{hyperref}
\hypersetup{
bookmarksopen=true,
pdftitle={Title},
pdfauthor={Author},
pdfsubject={Blablabla},
pdfkeywords={},
pdfmenubar=true,
pdfhighlight=/O,
pdfpagemode=None,
pdfpagelayout=SinglePage,
pdffitwindow=true,
bookmarksopen=true,
hidelinks=true}
pdftex,xetex) excplicitly when loading packages. For one, this makes your life easier when you want to switch to another compiler. – nnunes Feb 01 '13 at 13:51