I added the hyperref package and got some errors. Thus I deleted the auxiliary files and compiled again. This time there were no errors, and the links work except in the cites (bibliography), where I get question marks and links that send me to the first page. Any ideas?

In fact I don't need the links in the cites, so if there's a way I can solve the problem by having just the links in the figures and in the index it's welcome.

  • You need a compilation by bibtex. – Marco Daniel Jul 9 '11 at 11:18
  • 1
    Please consider changing your question title to something more specific so other users can get a good idea of what this question is about without having to click on it first. This adds to the quality of this site as a collection of all kinds of TeX-related questions and their respective answers. – doncherry Jul 9 '11 at 19:31

LaTeX and its packages need several compilation runs to get everything correct. For example hyperref can't place a link forwards in the document in the very first run because that part of the document wasn't processed yet. Therefore it stores this information in the auxiliary file(s) and reads them back in at the next run. Unknown destinations are simply replaced by the first page. You simply need to compile the document at least twice, sometimes three times (if e.g. the table-of-content turns out to take more than one page and pushes the rest of the document further down).

I would recommend to use a compiler tool which runs all the nesseary steps in the right order and the right number of times for you. Many LaTeX editors do this for you. There is also the latexmk script which will do the job very well. For PDF output use latexmk -pdf filename.

If this doesn't fix your issue please try to provide a minimal working example (MWE) that recreates your problem. We would also need which tools you are using (OS, LaTeX distribution, the steps you takes, ...)


The hyperref package cares about when/where in your code it is loaded. It’s recommended to load it as the last Package (in most cases). So maybe at the moment you are loading it before your bibliography package so hyperref can’t change the bib-macros to be linked (correct).

As Martin said it would be helpful if you provide a minimal working example (just add it to your original question).


If by chance you use babel-french and have colons in your cite commands, all of them will link to page 1.

I had trouble with this, this issue helped me. You should include the cite package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.