# [pdftex] Probable bug in hyperref

Lars Heineken Lars.Heineken at gmx.de
Thu Jul 10 13:34:34 CEST 2003

Hi Folks !

Attached is a tex file to be processed by pdflatex that shows a very
strange behaviour. The sections and subsections are implemented using:

\section*{Timeline}

Unfortunately the final pdf file's TOC is not correctly linked to these
entries. The PDF viewer always jumps one line BENEATH the anchor.
If I change the above line to:

\section{Timeline}

.. the viewer jumps to the correct position.

Any ideas what I could to as a workaround ?

Regards,

Lars.

PS: Adding phantomsections does not work and should not be neccessary
when using section*{}

-------------- next part --------------
% Dokumententyp
\documentclass[12pt,oneside,a4paper]{article}

% Englische Zeilenumbrueche und Namen
\usepackage[english]{babel}

% Umlaute direkt eingeben
\usepackage[latin1]{inputenc}

% Farbige Tabellen
\usepackage{colortbl}

\hypersetup{
pdfauthor         = {Lars Heineken},
pdftitle          = {Report 2nd Industrial Attachement},
pdfsubject        = {Industrial Attachement at Panasonic Singapore},
pdfkeywords       = {Attachement, Arithmetic Coding, CABAC, 26l},
% pdfstartview      = {FitH},
bookmarksnumbered = {true}
}

% Mehr Platz fuer den Header schaffen, sonst

\begin{document}

\tableofcontents
\newpage

% --------------------------
% Zeitplan
% --------------------------
\section*{Timeline}

\subsection*{Target Timeline}

\begin{tabular}{|r|c|c|c|}
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
\end{tabular}

\subsection*{Actual Timeline}

\begin{tabular}{|r|c|c|c|}
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
Weeks:                    & 1 & 2 & 3 \\
\hline
\end{tabular}

\subsection*{Reasons For The Change}
\begin{itemize}
\item The I-frame support took more time then expected due to the very complex nature of the decoder.
\item P-frame support was expected to be almost as time consuming as the I-frame support but turned
out to be a lot less complicated.
\item Four weeks for the documentation were not enough as all the documents had to be
written in English and included the verification of the decoder output with the reference
decoder, which took quite a long time dispite the fact that it was automated.
\end{itemize}

\clearpage

\end{document}