[pdftex] @nd Try, trruoble with hyperref when using unnumbered TOC entries

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Thu Jul 10 12:37:10 CEST 2003


heiko 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*{...}

does the ordinary technique for getting unnumbered sections to appear
in the toc
  http://www.tex.ac.uk/cgi-bin/texfaq2html?keyword=unnumbered
also produce the required effect?


More information about the pdftex mailing list