Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I disable numbering of low level headers by set secnumdepth to 1, I get links from table of contents and bookmarks points to place under the header. The header doesn't display in this case, just a content. For watching header I must scroll up. This is my example:


\documentclass[a4paper,oneside]{book}
\usepackage[pdfborder={0 0 0}, breaklinks=true, pdftex=true]{hyperref}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{1}
\begin{document}
 \tableofcontents
 \pagebreak
 \section{Sect1}
 \subsection{SubSect1.1}
 \subsubsection{Subsect1.1.1}
 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
\end{document}

Where is I am wrong? Thanks.

share|improve this question
I have no problems. Which version do you use? – Marco Daniel May 26 '12 at 13:05
Thanks for you answer. The first line of .log file This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) (format=xelatex 2012.5.15) 26 MAY 2012 15:43 – Andrew May 26 '12 at 13:10
Are you using xelatex? IN this case the option pdftex=true is wrong. However the package detects the correct driver so you don't need to set it. – Marco Daniel May 26 '12 at 13:11
I remove pdftex=true, but problem still exists. – Andrew May 26 '12 at 13:15
Here the pdf file, which I have gotten web-engineering.com.ua/hyperpos.pdf – Andrew May 26 '12 at 13:17
show 3 more comments

closed as too localized by lockstep, Gonzalo Medina, egreg, Paulo Cereda, Marco Daniel Jun 3 '12 at 0:00

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.