[pdftex] @nd Try,
trruoble with hyperref when using unnumbered TOC entries
Heiko Oberdiek
oberdiek at uni-freiburg.de
Thu Jul 10 11:33:20 CEST 2003
On Thu, Jul 10, 2003 at 12:48:40PM +0800, Lars Heineken wrote:
> \section*{Timeline}
> \addcontentsline{toc}{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.
> PS: Adding phantomsections does not work and should not be neccessary
> when using section*{}
\cleardoublepage % or ensure that the following
% commands are on the same page
\phantomsection
\addcontentsline{toc}{section}{...}
\section*{...}
Or use KOMA-Script classes.
> PPS: I send this mail twice because the first one did not appear on the
> mailing list after submitting. I apologies if it should end up double
> posted.
You have to wait some time.
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list