On 9/18/07, Richard Heck <[EMAIL PROTECTED]> wrote: > Bo Peng wrote: > >> Well, thanks to Richard we have the possibility to build custom flex > >> insets for this now, right? Look Ma, no C++! > >> > >> All that's left then is adding the lyx2lyx code to convert the old > >> insets to this. > >> > >> Any takers? > >> > > Not me. I do not know what is a flex inset. > > > Well, I appreciate the sentiment. I had the idea, but Martin did all the > coding, so it's not quite thanks to me. That means the bugs are his. ;-) > > In any event, flex insets are what used to be charstyles, only now it's > possible to make them collapsable as well as inline. So you can do > something like this: > InsetLayout Custom:Label > LyXType custom > LatexName label > LatexType command > Decoration classic > LabelString Label > End > And there's the inset, with no C++ required. Color, etc, can be set as > usual.
This "flex" name is sort of uninformative. What about calling them "soft" insets (as in soft-coded vs. hard-coded)? A/