Richard E. Hawkins wrote:
> I've found two more of the same type of misconversion, but now a worse
> one: I used lyx math inside the long caption (within the {} ). The
> ERT ends at the first math inset.
>
> I see no current way around this but to learn enough latex to write all
> the math for my captions in latex, as it seems impossible to paste the
> math inset into the ERT.
outside the float do
- insert ert "\newcommand\myMath["
- insert the formula as usual with mathed
- insert ert "}"
- insert the caption as \caption[blub]{blah \myMath bla}
and all works well.
Herbert
--
http://www.lyx.org/help/