On Sat, Dec 22, 2012 at 11:18 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > Liviu Andronic wrote: >> Please see attached. > > Oh, I see. At the moment, such arguments need to be inserted in the first > paragraph. This is also the case for layout sequences (such as lists) and it > has been like this always (cf. item list in beamer in 2.0, for instance). >
> Alas, it is not trivial to change this. We could disable argument-insert in > the respective paragraphs, but this would not change the case you describe. > Probably not trivial, but I am thinking of a different approach. The parent insets could have a first line reserved for argument insets. And by reserved I mean that it should not be possible to mix the parent inset content (text, etc.) and any argument inset. Thus when inserting an argument inset within the parent, it would automatically be "glued" to the first line of the parent on which no content is present. Inserting a 2nd argument inset would get glued right next to the 1st one, on the same 1st line that cannot hold content. (Maybe for this "gluing" to work we would need the concept of inset docking, or similar.) The actual content of the parent inset would start only on the 2nd line. This way UI-wise the content of the parent insets and the argument insets would always be separated, thus avoiding the issues that we currently have. I'm not sure that this makes sense, but I imagine that it's not straightforward to implement. Regards Liviu > Maybe something for later ... >