2015-03-09 18:36 GMT+01:00 Jürgen Spitzmüller: > Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > >> I checked that the \protect bug is fixed, but now we have to deal with >> another one, seen above in the caption. I do not know what caused this >> actually, neither why LaTeX complains. Is it the \par? >> > > Yes. I have not tested (and unfortunately no time to do so), but I suppose > we need to adjust this commit: > http://www.lyx.org/trac/changeset/2eeed6cf/lyxgit >
Looking more closely, I suspect the reason is that InsetLayout:Caption does not have MultiPar explicitly disabled. Rather than that, LFUN_PARAGRAPH_BREAK is explicitly disabled in InsetCaption::getStatus. This looks like a forgotten bit in the InsetLayout-ification of the caption inset. Jürgen > > >> >> JMarc >> >> >