>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Actually they are normal paragraps only because LyXParagraph
Lars> contains special code to deal with them.

It would make sense to me only if we planned to turn all paragraphs
into text insets. However, for me the basic feature of an inset is
that it is something which can be inserted in a paragraph. I do not
think you plan to do that for sections... It would make sense for
lists, however.

Lars> Why should a paragraph containa LabelType at all?

Currently, all paragraphs have labels (which may be empty) determined
in the textclass file. The label is in general the 'active' part of
the paragraph (section counter, theorem counter...). It would make
sense for a paragraph to have a paragraphlabelinset that would contain
the data pertaining to the paragraph (current counter, which we
currently have for all paragraphs) and handle all the drawing and
sizing of the label of the paragraph (which is hardcodedcurrently). We
would in fact need a hierarchy of label insets to handle the different
cases. This inset could also have the necessary code to add a
collapsable text inset containing the optional value.

Lars> and I disagree.

Do you? I did not notice!

JMarc

Reply via email to