# How to use \cite with biblatex in figures? (using style=footnote-dw) [duplicate]

This question already has an answer here:

After googling for a while, I decided to ask this question on here..

I am desperately trying to make a citation inside a figure (using BibLaTeX and the footnote-dw style [the sources are added as footnotes]), but I cannot figure out how to properly achieve this. Basically I want to do something like this:

test.tex

\documentclass{book}
\usepackage[style=footnote-dw]{biblatex}
\usepackage{graphicx}
\usepackage{hyperref}
\bibliography{bibliography}
\begin{document}
\begin{figure}
\includegraphics[width=0.95\textwidth]{pics/somepicture.png}
\caption{My Caption\cite{wikipedia-de-visitor}}
\end{figure}
foobar\cite{wikipedia-de-visitor}
\end{document}


While the first \cite gives

pdfTeX warning (dest): name{Hfootnote.1} has been referenced but does
not exist, replaced by a fixed one


the second (not withing the figure) works just as expected.

Edit:

bibliography.bib resides in the same dir as the .tex file and contains:

@misc{wikipedia-de-visitor,
url="http://de.wikipedia.org/wiki/Besucher_(Entwurfsmuster)"
}


Commands used to "compile" are:

pdflatex test
biber test
pdflatex test
pdflatex test


Edit 2:

Changed the questions title (and part of the body) to reflect the facts offered by Ulrike Fischer.

PS: sorry for my bad english

-

## marked as duplicate by lockstep, Herbert, zeroth, mafp, Andrew SwannMar 12 '13 at 15:10

We need a minimal working example. This just can not work because the biblatex needs to know where the bibliography is. You need /addbibresource{path/to/bib/file.bib}. –  gns-ank Mar 11 '13 at 15:45
I forgot to add the bib-entry: "@misc{wikipedia-de-visitor, url="de.wikipedia.org/wiki/Besucher_(Entwurfsmuster)"; }" –  Tobias Heinicke Mar 11 '13 at 15:45
Welcome to TeX.sx! –  Corentin Mar 11 '13 at 15:52
footnotes in floats doesn't work easily: tex.ac.uk/cgi-bin/texfaq2html?label=footintab. –  Ulrike Fischer Mar 11 '13 at 15:53
Do it the other way round: Put the figure environment around the minipage (and the graphic and the \caption inside the minipage). –  Ulrike Fischer Mar 11 '13 at 17:07

Based on the facts added by UlrikeFischer I did another Google search and came up with this post: BasicallyTheSameQuestion

The author suggested to use \footnotetext{\fullcite{<key>}.} that did the trick for me.

The resulting code snippet is something like the following:

\begin{figure}
\includegraphics[width=0.95\textwidth]{pics/somepicture.png}
\caption[a figure]{My Caption\footnotemark}
\end{figure}
\footnotetext{\fullcite{wikipedia-de-visitor}.}

-