General ⇒ Footnote links in PDFLatex
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Footnote links in PDFLatex
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Footnote links in PDFLatex
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
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
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
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 342 times
Footnote links in PDFLatex
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*
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
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.
Footnote links in PDFLatex
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Footnote links in PDFLatex
Thanks very for your help gmedina. I learnt some other important things.