Martin Vermeer wrote: > Ah. That's not right. Perhaps we should continue to call it "Note", > not "blind". What would be most suitable name? I think this string is > defined in factory.C line 74. You could try changing it.
I think "Note" is best. People are used to it. But the complete inset (i.e. the menu entry) should get another name. >> > I was thinking of one category smaller text, sometimes used to present >> > material less central to the theme of a text. >> >> Is this supposed to work if there are embedded environments, sections >> etc.? Isn't this rather counting as character style? > > Yes, I think so. "Yes: character style" or "yes: with embedded environments?" If the latter, with which LaTeX command? Actually, the more I think about it, the more I come to the conclusion that your approach mixes at least two different concepts which should be separated: I. Insets that show/hide parts of the document -> i.e. Branch, Comment, Note, Greyedout -> Can contain very large contents up to a complete document, i.e. with sections, nested environments, bibliographies, child docs, floats etc. -> Can nest other Insets of type I and II without limitation II. Insets that place text at a certain position -> i.e. Footnote, Margin, Petite -> Can _not_ contain complex contents -> Can nest insets of type I but not (or only limited) of type II It is always possible to switch from II to I, but what do you do if a curious user has a branch which contains a complete chapter and he changes this to, say, Marginal Note? I think we should separate those. WRT petite and probably greyedout I am not shure if this is in fact not a character style and should be handled in the hopefully-eventually-coming character style sheme of LyX. >> > > - greyedout does not work (and breaks the latex run) >> > >> > Ah. Didn't try it. Perhaps it should validate for "color" (?) >> >> Yes, and the code is not quite right afaics. Should be something like >> \usepackage{color} >> \definecolor{grey}{gray}{0.8} % there's no grey defined! > > Ugh. Let's call it 'gray' then :-) Note that "gray" isn`t a color either, but the color style (i.e. greyscale). You have to define a color anyway (which is 0.8 on the greyscale range from 0-10 in the example), since color.sty has only a few predefined colors (those in the Character dialog). I don`t know if it is a good idea to hardcode the color. You could let the user chose the greyscale range (0-1). Regards, Juergen.