hypperref and toc links

Discussion in 'Cadence' started by S. Badel, Dec 2, 2003.

  1. S. Badel

    S. Badel Guest

    i use hyperref and the table of contents links lead to the wrong
    page. to be precise, chapter links (chapter.1 etc...) work but
    section links (section.1.1 ...) lead to the page just before the
    correct page.
    i tried almost every set of options, didn't work.
    i have a rather old pdftex version, maybe it is the reason.

    any hints?

    thanks
     
    S. Badel, Dec 2, 2003
    #1
  2. S. Badel

    S. Badel Guest

    sorry yet another error.
     
    S. Badel, Dec 2, 2003
    #2
  3. S. Badel

    Thomas Popp Guest

    Do you add some pages manually to the TOC? Like:

    \addcontentsline{toc}{chapter}{Preface}
    \chapter*{Preface}
    ....preface text...

    Then use the command \phantomsection just before \addcontentsline and
    the TOC links should work.

    HTH,
    -Thomas
     
    Thomas Popp, Dec 2, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.