Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

First, some general details about my document: I'm using the scrbook class and the hyperref package. The document is split up into different source files (though this fact should not matter in this case).

I constantly get a warning for all of my footnotes (180 in total):

Document.tex:0. name{Hfootnote.xx} has been referenced but does not exist, replaced by a fixed one.

where the xx is replaced by the number of the footnote in the compiled document and is running from 1 to 180 (in my case with 180 footnotes).

The numbering of the footnotes is correct and they appear in the compiled PDF as they should.

The only problem is, that the reference in the document is wrong. Clicking on the index of a footnote (in the text) always brings one to the very first page of the document.

What have I already tried/checked?

  • none of the footnotes is in a table or caption

  • numerous recompiling does not solve any of the warnings

  • some footnotes do contain \url{} but by far not all

Does anybody have got some hints what else I should check?

share|improve this question
    
Welcome to TeX.SX. I took the liberty to shorten the title a little bit, so that it fits better in the site layout. –  Martin Scharrer Apr 20 '11 at 16:41
2  
It would be very good if you add a minimal working example (MWE) that illustrates your problem, i.e. create a minimized version of your document which still shows the warnings. You can do this by making a copy and remove all unrelated text and packages. You might even find the cause during this, because often it is some incompatibility with some other package. –  Martin Scharrer Apr 20 '11 at 16:43
    
Thank you @Martin. Ulrike's hint was somehow easier and faster ;) Nevertheless, the MWE-method you mentioned is worth a try for other problems. –  Torbjoern Apr 20 '11 at 16:57
    
K.: Sure if you already found the error there is no need for that effort any longer. See the MWE link above for more tips. –  Martin Scharrer Apr 20 '11 at 16:59
1  
Although the problem was solved, I want to add something: "numerous recompiling does not solve any of the warnings": Sometimes it can also be helpful to delete the auxiliary files and then recompile. –  Stephen Aug 12 '11 at 14:42

2 Answers 2

up vote 19 down vote accepted

Well the following works fine. So you should try to find out what your document is doing differently.

\documentclass{scrbook}

\usepackage{hyperref}

\begin{document}
abc\newpage abc\footnote{blub}
\end{document}

My guess is that you are not following the rule "load hyperref as the last package" and that something is redefining footnote.

share|improve this answer
    
Wow! Thank you a lot @Ulrike! That was the problem. I was loading hyperref prior to packages as fancyhdr, epstopdf and graphicx. –  Torbjoern Apr 20 '11 at 16:55
1  
"My guess is that you are not following the rule "load hyperref as the last package" and that something is redefining footnote" this was the clue that I found the problem in my code as well, I googled and came to this question and answer, thanks very much for you guys. I think an expert knowledge based on EXPERIENCE is always helpful. –  user11443 Feb 4 '12 at 4:19
1  
@Mammatt: thank your for your comment. It was posted as answer, so I converted it to a comment to Ulrike's answer. A Q&A site is different to forums, which work with threads. –  Stefan Kottwitz Feb 4 '12 at 8:49

I had this issue as well, so I went with the \footnotemark[n] where I placed the footnote, then later on in the document: \footnotetext[n]{text}.

I think it was because of the command I placed the footnote in, that it was not working as expected. Outside of the tabular and textit brackets, \footnote worked fine.

share|improve this answer
1  
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  texenthusiast Aug 15 '13 at 5:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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