Tell me more ×
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.

I've used the second answer in Multiple references to the same footnote with hyperref support - is there a better solution?, yet, like @Jake in the comments, it produces some ?? in my document. Anyone has a clue?

Edit 1: I've compiled twice. The code is exactly the one of the second answer (shown below). And I got something like First page, referencing future footnote?? 2. in the pdf.

\documentclass{article}
\usepackage{hyperref}
\usepackage{cleveref}

\crefformat{footnote}{#2\footnotemark[#1]#3}

\begin{document}
First page, referencing future footnote\cref{second}.

Second paragraph, first footnote\footnote{\label{first}First footnote!}

\pagebreak
Second page, creating the second footnote\footnote{\label{second}Second footnote}, and referencing the first footnote\cref{first}.
\end{document}

Edit 2: Problem solved. Please help close the question, thanks.

share|improve this question
1  
If you've already run latex twice (without removing the .aux files), you may be dealing with typos in either the \label{...} or the \cref{...} commands. Could you post a working MWE (minimum working example) that illustrates the problems you're getting? – Mico Nov 17 '11 at 16:52
without seeing some of your actual code, I can only guess: Did you compile your document twice? – Gonzalo Medina Nov 17 '11 at 16:53
Did you see Jake's last comment? You may have an old version of cleveref that doesn't support this. – Torbjørn T. Nov 17 '11 at 16:57
@Mico Please see my edit. Thanks. – Covi Nov 17 '11 at 17:32
1  
From the wiki on ctex.org it seems CTeX is based on the (somewhat old) MikTeX 2.7. In the start menu, do you have an "Update manager" for MikTeX? If so, try running this. If not, or if that doesn't work, you'll have to do it manually: tex.stackexchange.com/questions/2063/… cleveref can be downloaded from CTAN: ctan.org/pkg/cleveref – Torbjørn T. Nov 17 '11 at 18:01
show 7 more comments

closed as too localized by lockstep, Joseph Wright Nov 17 '11 at 20:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.