Hi Guenter, I'm probably missing something obvious, but can't you use a \protect command? In a few of the document classes I've written, this has allowed me to pass all kind of fragile commands (images, for examples in the texMemo class) while keeping the processor nice and happy.
Cheers, Rob On Aug 31, 2010, at 1:28 PM, Guenter Milde wrote: > On 2010-08-31, Jürgen Spitzmüller wrote: > >> This is due to the fact how frames are defined in LyX. Unfortunately, this >> rules out native support for fragile frames (unless someone comes up with a >> new definition of \lyxframe). > > How about a "fragile frame" inset? > > InsetLayout FragileFrame > LyXType custom > LatexType Environment > LatexName ??? > ... > > > Günter >