I want to have a figure floating next to a block quote. So I used the wrapfig package and the quote environment.
If you typeset the following example, you will see that the figure is printed on the next page instead of being next to the block quote. It works perfectly with normal text. Is there any solution to that?
\documentclass{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{wrapfig}
\begin{document}
\blindtext[3]
\begin{wrapfigure}{R}{0.5\textwidth}
\centering
\rule{5cm}{5cm}
\caption{Foo bar foobar baz baq}
\end{wrapfigure}
\begin{quote}
\blindtext
\end{quote}
\blindtext
\end{document}

