I'm trying to have multiple references to a footnotes, in a class memoir
(or report) and using [french]babel
and cleveref
.
According to this question Multiple references to the same footnote with hyperref support - is there a better solution?, I came up with minimal non working example:
\documentclass{memoir}
\usepackage[french]{babel}
\usepackage{hyperref}
\usepackage{cleveref}
\crefformat{footnote}{#2\footnotemark[#1]#3}
\begin{document}
\section{foo}
First page, referencing future footnote\cref{second}.
Second paragraph, first footnote\footnote{\label{first}First footnote!}
\pagebreak
\section{bar}
Second page, creating the second footnote\footnote{\label{second}Second footnote},
and referencing the first footnote\cref{first}.
\end{document}
And I get :
As you can see, the reference text is wrong (but the link is ok !). If I replace memoir with article, everything is fine, but report fails also. What can be going on?
Thanks
\frenchbsetup{FrenchFootnotes=false}
in the preamble.frenchb.ldf
and indeed it monkeys with footnotes; this is apparently not at all liked bymemoir
. Happily, there's a way for disabling the changes. ;-)