Main argument of a subfloat is not a moving argument

Fixes bug: #9421
This commit is contained in:
Jean-Marc Lasgouttes 2015-02-20 11:51:40 +01:00
parent fb6665becb
commit eb4f963eef

View File

@ -345,6 +345,8 @@ void InsetFloat::latex(otexstream & os, OutputParams const & runparams_in) const
os << caption;
}
os << '{';
// The main argument is the contents of the float. This is not a moving argument.
rp.moving_arg = false;
rp.inFloat = OutputParams::SUBFLOAT;
InsetText::latex(os, rp);
os << "}";