I'm working on a book with highly stylized references. I use a special macro called \fcite that creates a footnote with the author's name, the work's title, and the date. The bibliography is also stylized. And there's random Unicode in some of our bibliographic entries. So we are using:
- xelatex
- bibtex (biber gave us errors and runs way to slow)
- biblatex
- hyperref
I can't get the footnotes to link properly to the bibliography items.
Here is a mwe for mwe.tex:
\documentclass[12pt,english,twoside]{report}
\usepackage{xspace}
\usepackage[backend=bibtex,language=american,style=authoryear]{biblatex}
\usepackage[hidelinks,breaklinks,hyperindex=true]{hyperref}
\newcommand{\fcite}[2][]{\footnote{\citeauthor{#2}, \emph{\citetitle{#2}} (\citeyear{#2})\xspace#1\xspace}}
\addbibresource{mwe}
\begin{document}
This isn't Knuth,\fcite{knuth} you know.
\printbibliography
\end{document}
And here is the mwe.bib:
@book{knuth,
author = {Knuth, Donald E.},
title = {The TeXbook},
year = {1986},
isbn = {0201134470},
publisher = {Addison-Wesley Professional}
}
And here is the Makefile:
mwe.pdf: mwe.tex mwe.bib
xelatex mwe
bibtex mwe
xelatex mwe
xelatex mwe
The result looks great, but I don't get a link. I've tried changing:
\newcommand{\fcite}[2][]{\footnote{\citeauthor{#2}, \emph{\citetitle{#2}}
to:
\newcommand{\fcite}[2][]{\footnote{\hyperlink{cite.#2}{\citeauthor{#2}, \emph{\citetitle{#2}}}
But that doesn't work either.
How do I make the footnotes link to the bibliography items?
Also, is there an easier way to make this all work? Everything seems kind of hodge-podge at this point.
