LaTeX: wrong pdf index hierarchy
Posted: Tue Aug 07, 2012 3:40 am
[PROBLEM]
In a PDF created with pdflatex from my .tex sources, the pdf-navigation index's hierarchy was messed up.
Instead of:
The tree was modeled like this:
[SOLUTION]
I've moved the inclusion of "hyperref" package to the line right before "\begin{document}":
In a PDF created with pdflatex from my .tex sources, the pdf-navigation index's hierarchy was messed up.
Instead of:
Code: Select all
1) one
1.1) one-a
1.2) one-b
2) two
2.1) two-a
Code: Select all
1) one
1.1) one-a
1.1.1) one-b
1.1.1.1) two
1.1.1.1.1) two-a
I've moved the inclusion of "hyperref" package to the line right before "\begin{document}":
Code: Select all
\usepackage[pdftex]{hyperref} % links in pdf
\begin{document}