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
citein the figure caption, which is doable. (Of course, then he has to worry about renumbering the references if he has a list of figures, for which the remedy is\usepackage{notoccite}) I'm merely allowing for the fact that his reputation might indicate relatively recent introduction to LaTeX. – Steven B. Segletes Mar 11 '13 at 16:08\begin{figure}[H] \centering \includegraphics[width=0.95\textwidth]{pics/factory.png} \caption{Factory Beispiel}\cite{oodesign-factory} \label{Factory Beispiel} \end{figure}– Tobias Heinicke Mar 11 '13 at 16:14\citeis actually a footnote. And footnotes in floats can't excape to the bottom of the page. – Ulrike Fischer Mar 11 '13 at 16:29Not in outer par mode.. – Tobias Heinicke Mar 11 '13 at 16:52\begin{figure} \includegraphics[width=0.95\textwidth]{pics/factory.png} \caption[a figure]{Factory Beispiel\footnotemark} \end{figure} \footnotetext{\fullcite{wikipedia-de-visitor}.}– Tobias Heinicke Mar 11 '13 at 17:41