Martin Vermeer wrote: > On Wed, Aug 21, 2002 at 06:25:32PM +0200, Lars Gullik Bjønnes wrote: > > >>Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > ... > > >>| Martin> Sorry, I give up. If it's only as little as 10%, and you >>| Martin> actually know how to, why don't *you* do it? >>| >>| Don't pay too much attention to what Allan says. Nobody does :) > > > Actually I think he is right... only I don't think it is nearly as easy > as he implies. And my C++ skills being what they are, see my tail droop. > > I'd *love* him to take up the challenge... > > >>I won't say "no", but I do agree with Allan. >> >>I really think that a proper InsetSectioning is the right way to go, > > > Perhaps... but don't you thinks it's too heavy guns? I kind of like the > \layout Section, but somehow we should get a *clean* way of having an > inset hardwired to the start of a paragraph (and yes, it ought to have > been the section number... I just didn't manage that. Allan if you do, > I would love to see it.) > > A dirty fix for now would be to put code on the menu emitting a sequence > "begin-paragraph; option-insert;" (pseudocode).
I think this could be fixed for now quite easily. We just have to draw OptInset as the first thing in LyXText (so WYSISYG is always given!), then we should write them to the LyXFile first so that in the next read they outtomagically are at the first positions, which then won't give conflictls later when we find a better solution, would that be a plan? IMO this can be realized quite and also in a more or less clean way. (Obviously first we would have to commit this patch then we can try to do the above, if you give the go I may even find the time to have a go ;) Comments? Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Mitterstrich 151/A Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39050 Steinegg Web: http://www.lyx.org/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._