Bad interaction betweeen floatrow and cleveref

  • Follow


Hello all,

With the minimal example

\documentclass{article}
\usepackage{floatrow,cleveref}

\begin{document}

\begin{table}
  \caption{One}
  \label{one}
\end{table}

\begin{table}
  \caption{Two}
  \label{two}
\end{table}

\cref{one,two}

\end{document}

The references are never resolved, and nothing seems to go in the aux
file. Is this a known issue?
--
Joseph Wright
0
Reply joseph.wright (1866) 4/13/2010 7:28:13 PM

On 2010-04-13, Joseph Wright <joseph.wright@morningstar2.co.uk> wrote:
> With the minimal example
>
> \documentclass{article}
> \usepackage{floatrow,cleveref}
>
> \begin{document}
>
> \begin{table}
>   \caption{One}
>   \label{one}
> \end{table}
>
> \begin{table}
>   \caption{Two}
>   \label{two}
> \end{table}
>
> \cref{one,two}
>
> \end{document}
>
> The references are never resolved, and nothing seems to go in the aux
> file. Is this a known issue?

they're fighting each other for the soul of the \caption command.  you
end up with a \caption command with no soul left...

when two massively complicated packages fight, they fight to the
death.

(unless one of the packages is hyperref, when heiko seems always find
a way to reconcile the warring pair.)
-- 
Robin Fairbairns, Cambridge
0
Reply Robin 4/22/2010 9:17:58 PM


On Apr 22, 10:17=A0pm, Robin Fairbairns <r...@warp.cl.cam.ac.uk> wrote:
> they're fighting each other for the soul of the \caption command. =A0you
> end up with a \caption command with no soul left...
>
> when two massively complicated packages fight, they fight to the
> death.
>
> (unless one of the packages is hyperref, when heiko seems always find
> a way to reconcile the warring pair.)
> --
> Robin Fairbairns, Cambridge

Actually turns out to be a pure floatrow issue. It doesn't like

\caption{...}
\label{...}

only

\caption{...\label{...}}

which I think is a bug in floatrow.
--
Joseph Wright
0
Reply Joseph 4/22/2010 9:51:20 PM

2 Replies
178 Views

(page loaded in 0.055 seconds)


Reply: