Jürgen Spitzmüller wrote:
rgheck wrote:
I've got a working patch where lyx2lyx writes an empty caption inset.
Patch is attached. We could omit the caption inset altogether if we
wanted, but will LyX accept that?

What is the output? I think it should look as comparable as possible. I.e., if the 1.5 document outputted a subfigure without a caption, 1.6 should do this as well.

I've checked this. If there's nothing in the subcaption in 1.5, you get:
   \subfigure[]{whatever}
as if there were an empty caption. So I guess we should put in an empty caption inset, so that in 1.6 you get:
   \subfloat[]{whatever}
rather than:
   \subfloat{whatever}
and then the output is more or less the same.

If that seems right, I'll commit the fix.

rh

Reply via email to