General ⇒ Footnote links in PDFLatex
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Footnote links in PDFLatex
Hello All
When I typeset my document using PDFLatex all the other hyperlinks (cross-references to equations and propositions) work well. However, the if I click on the links to footnotes, the first page of the document comes up. Would appreciate if anyone can tell how to fix this.
I am using Winedt with MikTeX. I tried adding \usepackage{hyperref}, but that does not help.
Thanks very much.
When I typeset my document using PDFLatex all the other hyperlinks (cross-references to equations and propositions) work well. However, the if I click on the links to footnotes, the first page of the document comes up. Would appreciate if anyone can tell how to fix this.
I am using Winedt with MikTeX. I tried adding \usepackage{hyperref}, but that does not help.
Thanks very much.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Footnote links in PDFLatex
Without any code it's difficult to know what the problem is. Please post a minimal working example showing the undesired behaviour.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
I will make a small file and try to post it. Meanwhile, while looking at the .Log file, I found the following error.
pdfTeX warning (dest): name{Hfootnote.1} has been referenced but does not exist
, replaced by a fixed one
I get the above error for all footnotes. Do I have to manually name (or label) every footnote? It seems that the error is saying that the name does not exist.
Also, to clarify I am not talking about footnote cross-references that I have included in the paper. I am talking about the links that are attached to the superscript footnote numbers (which are automatically generated).
Thanks gmedina for your reply.
pdfTeX warning (dest): name{Hfootnote.1} has been referenced but does not exist
, replaced by a fixed one
I get the above error for all footnotes. Do I have to manually name (or label) every footnote? It seems that the error is saying that the name does not exist.
Also, to clarify I am not talking about footnote cross-references that I have included in the paper. I am talking about the links that are attached to the superscript footnote numbers (which are automatically generated).
Thanks gmedina for your reply.
Footnote links in PDFLatex
Maybe the this thread can be useful.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
As i said I am not trying to cross-reference a footnote. That link was for cross-referencing. My problem is regarding the behavior of the document when one clicks on the number in the text that refers to the footnote.
As you suggested I have attached a file. If I make a PDFLatex from this file and go to page 3 and try to click on the number 3 (that represents footnote 3) the view changes to page 1 of the document.
Thanks for trying to figure this out.
As you suggested I have attached a file. If I make a PDFLatex from this file and go to page 3 and try to click on the number 3 (that represents footnote 3) the view changes to page 1 of the document.
Thanks for trying to figure this out.
- Attachments
-
- minifile.tex
- (8.42 KiB) Downloaded 334 times
Footnote links in PDFLatex
I'm not so sure your attachment can be considered a minimal working example.
Anyway, I was unable to reproduce your problem. Maybe some of the packages you are using are obsolete?
Reading your preamble I noticed several things:
1) You load the doublespace package. That package must not be used:
As suggested, use the setspace package instead.
If you do so, then you don't need to use this
because you can use the \doublespacing command of setspace.
2) To change the page layout, use the geometry package instead of this commands
The reasons behind my suggestions can be read in this document.
Now back to the original problem, if nothing of the above helps to solve your problem then please add \listfiles before \documentclass[12pt]{article} and post the resulting .log file. Preferably only the section *File List*
Anyway, I was unable to reproduce your problem. Maybe some of the packages you are using are obsolete?
Reading your preamble I noticed several things:
1) You load the doublespace package. That package must not be used:
CTAN wrote: This package should no longer be used: it has serious bugs, and is no longer maintained. It is superseded by setspace.
As suggested, use the setspace package instead.
If you do so, then you don't need to use this
Code: Select all
\renewcommand{\baselinestretch}{2}
2) To change the page layout, use the geometry package instead of this commands
Code: Select all
\setlength{\textwidth}{6.5in} \setlength{\textheight}{8.5in}
\setlength{\topmargin}{-0.4in} \setlength{\oddsidemargin}{0in}
Now back to the original problem, if nothing of the above helps to solve your problem then please add \listfiles before \documentclass[12pt]{article} and post the resulting .log file. Preferably only the section *File List*
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
gmedina,
Thanks very much for your suggestions. I will incorporate those in my file.
The reason I used doublespace package was that it makes the body double spaced but leaves footnotes single spaced (which is what I want). Do you think that is possible with the setspace package?
Hopefully, that may fix my problem.
Thanks very much for your suggestions. I will incorporate those in my file.
The reason I used doublespace package was that it makes the body double spaced but leaves footnotes single spaced (which is what I want). Do you think that is possible with the setspace package?
Hopefully, that may fix my problem.
Footnote links in PDFLatex
curiouslearn wrote: The reason I used doublespace package was that it makes the body double spaced but leaves footnotes single spaced (which is what I want). Do you think that is possible with the setspace package?
Yes. Just use the \doublespacing command.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Footnote links in PDFLatex
Re-reading your code I notice that you load the harvard package. In this thread, localghost gave some useful advise regarding this package.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
I changed the file to use geometry and setspace packages. I still have a problem with the footnote links. I have not changed the harvard style yet. Wonder what the problem is with my Latex installation?
Thanks very for your help gmedina. I learnt some other important things.
Thanks very for your help gmedina. I learnt some other important things.